When you use the android automated testing tool monkeyrunner to start an application, you must enter the package name of the program to be tested and the Activity to be started. There are two methods to view the package name of the application and the name of the entry activity:
Method 1: Use aapt // aapt, which is a tool provided by the sdk, In the sdk \ builds-tools \ directory.
1. Take the esfile browser as an example, switch the command line to the aapt.exe directory and run: aapt dump badging E: \ apk \ es3.apk.
2. The following two lines in the running result are the application package name and the entry activity name.
Package: name = 'com. estrongs. android. Pop'
Launchable-activity: name = 'com. estrongs. android. pop. view. filecycleractive'
Note: You can find aapt.exe In the android sdkdirectory search. If not, you can download apktool.
Method 2: View AndroidManifest. xml
1. decompile app: apktool. bat d es3.apk E: \ apk \ es using apktool
2. Open AndroidManifest. xml
The package attribute value of the manifest node is the package name of the application:
Find the activity corresponding to android. intent. action. MAIN and android. intent. category. LAUNCHER. The android: name attribute of the activity is the name of the portal activity, as shown below:
Android. intent. action. MAIN determines the Activity that the application starts first.
Android. intent. category. LAUNCHER determines whether the application is displayed in the program list.
The IMF announced the latest global gdpranking in 2013, double that of Japan in China
Top 50 gdplists in various Chinese cities in 2013
Total GDP and per capita gdpranking of provinces and municipalities in China in 2013
In 2014, 95 Chinese enterprises ranked second among the top 500 in the world
The United States published the failed Country Index, China failed over India and Vietnam
The Chinese were fooled by "the Qing Dynasty's No. 1 GDP in the world!
2013 ranking and list of baiqiang counties in China
Top 25 IT technology companies with the highest salaryTop 100 Chinese Engineering Universities in 211 list of top jobs in the world top 20 jobs in the highest income ranking in the land area and population ranking of the world top engineering universities in China and list (16 in total)