Discovering how to set the ActivityStarter properties
If you want to start an app and you you don't have the source code or documentation, you might still be able figure out the package name and class name (and sometimes the intent) by launching the app and inspecting the Android system log.
For example, if you use the YouTube application to play a video, you'll see in the log:
If you can find the "cmp=" string, then the ActivityPackage is the part before the slash, e.g., com.google.android.youtube. The ActivityClass is is the entire "cmp=" part, without the slash character, e.g., com.google.android.youtube.PlayerActivity. There may also in general be "dat=" information that should be specify as the DataUri property.
I reproduced the example given but the display of the logcat is an uninterrupted list of information
so i used this command ligne :
adb logcat ActivityManager:I andexplorer:I *:s
i have could retrieve this informations:
ActivityManager: START u0 {act=android.intent.action.MAIN typ=null flg=0x10200000 cmp=ComponentInfo{com.google.android.apps.handwriting.ime/com.google.android.apps.handwriting.ime.WelcomeActivity}} from uid 10085
W ActivityManager: Launch on display check: display not found
I ActivityManager: [IOP] sourceDir : /data/app/com.google.android.apps.handwriting.ime-8TdgjLAdA-S7xQGgwEjgtw== in ActivityStacksupervisor
W ActivityManager: Launch on display check: display not found
I ActivityManager: mTimer start at this point for Notification solution
I ActivityManager: mTimer scheduling done
you might want to try
Action=android.intent.action.MAIN
ActivityPackage=com.google.android.apps.handwriting.ime
ActivityClass=com.google.android.apps.handwriting.ime.WelcomeActivity