Issue
I have to launch an application on android emulator using command line.for that I have knew that there is a method by adb command;
adb shell am start -a android.intent.action.MAIN -n com.example.myApplication
but I have to find the application package name before executing this command, so anybody help me to find the package name, or any alternate solution for running apk on emulator
Solution
extract the apk file and rebuilt the manifest file, then by parsing the xml manifest file you can find the main activity package name. refer this link for parsing, and refer this link for extracting apk file.
Answered By - droidev
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.