you can use startActivity
for that:
import android
droid = android.Android()
droid.startActivity('android.intent.action.MAIN',
None, None, None, False,
'com.twitter.android',
'com.twitter.android.StartActivity'
)
see the syntax in the API Reference:
startActivity(
String action,
String uri[optional],
String type[optional]: MIME type/subtype of the URI,
JSONObject extras[optional]: a Map of extras to add to the Intent,
Boolean wait[optional]: block until the user exits the started activity,
String packagename[optional]: name of package. If used, requires classname to be useful,
String classname[optional]: name of class. If used, requires packagename to be useful)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…