For example, I want to start Gmail in code/command line, but I don’t know its main activity name.
am start -n com.google.android.gm/.XXXXX
It’s available through decompiling the apk, but it’s difficult.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can plug your phone into the computer and look at the DDMS log, application launches are printed there, e.g:
So,
com.google.android.gm/.ConversationListActivity, would seem like the right choice, at least, that’s what the icon seems to launch.