Get package names and class names for all applications

后端 未结 2 965
迷失自我
迷失自我 2021-01-20 14:43

Does anyone know the class name and package name for any of these applications:

youtube facebook amazon mp3 google talk camera maps text message dialer/phone launche

2条回答
  •  有刺的猬
    2021-01-20 14:57

    You can look up the package name and many other parts of the AndroidManifest.xml by pulling the development tools from the emulator, and install it on the device with the requested applications. you can execute these commands at the command prompt to do this.

    while the emulator is connected, run:

    /path-to-android-sdk/platform-tools/adb pull /system/app/DevelopmentTools.apk

    disconnect the emulator, connect the device, and run:

    /path-to-android-sdk/platform-tools/adb install DevelopmentTools.apk

提交回复
热议问题