Previously nosotros learnt dissimilar iii methods of finding whatever android application's launcher action refer in addition to bundle name. Still if yous are unable to find launcher action in addition to bundle name of whatever android application thence yous tin flame role whatever of bellow given 2 methods. It volition helps yous to uncovering whatever .apk file's bundle in addition to launcher action name.
Earlier nosotros already learnt dissimilar 3 methods to uncovering android app's bundle in addition to launcher action refer inwards THIS POST.
Bellow given 2 methods volition present yous how to become bundle in addition to launcher action refer of APK Info app. You tin flame download APKInfo App from THIS PAGE if it is non available amongst you.
PREREQUISITE : PREVIOUS fifteen STEPS of appium tutorials should travel completed without whatever error.
Method iv : Using AndroidManifest.xml
Every .apk file contains AndroidManifest.xml file which contains android app's bundle in addition to action name. Bellow given steps volition country yous how to open AndroidManifest.xml file in addition to read bundle in addition to action name.
Prerequisites : 1. .apk file for which yous wants to become bundle in addition to action name. 2. WinRAR should travel installed inwards your PC.
- Right click on .apk file of APK Info app(or whatever other .apk file for which yous wants to know package in addition to action name).
- Select Open with -> WinRAR archiver pick from correct click context menu.
- It volition opened upwardly .apk file inwards WinRAR window in addition to yous tin flame see AndroidManifest.xml in that place equally shown inwards bellow image.
- Open AndroidManifest.xml file inwards notepad.
- Now uncovering keyword "p a c k a g e" In notepad. It volition present yous bundle refer of your app equally shown inwards bellow image.
- Package refer for my APK Info app is : com.intelloware.apkinfo
- Find keyword "a c t i v i t y" In notepad. It volition present yous action refer of your app equally shown inwards bellow image.
- Activity refer for my APK Info app is display: .MainActivity. Here yous involve to append bundle refer ahead of action refer thence amount action refer is : com.intelloware.apkinfo.MainActivity
Prerequisites :
- Android SDK should travel installed in addition to configured equally described HERE.
- Android emulator should travel created equally described HERE.
- .apk should travel installed inwards emulator as described HERE. I volition role APK Info app inwards this example thence i accept installed it inwards my emulator.
hierarchyviewer is a tool provided past times android SDK. You volition uncovering it(hierarchyviewer.bat) within tools folder of SDK. Here nosotros volition role it to become bundle in addition to launcher action refer of APK Info app. Follow bellow given steps.
Note : hierarchyviewer is industrial plant good amongst emulators alone for me. So receive to role it volition emulators only.
- Launch android emulator in addition to opened upwardly APK Info app inwards emulator.
- Open hierarchyviewer.bat file from tools folder of SDK.
- It volition show hierarchyviewer interface. It volition present yous bundle in addition to action refer of yous app equally shown inwards bellow image.
This way, You tin flame get Android App's Launcher Activity And Package Name.