Method for getting current application package name
See original GitHub issueThere is method to get current activity in AndroidDriver:
driver.currentActivity()
depending on application it may return string like .MainActivity
without package name or full name. It would be nice to have a method to get the package name separately - appium get this information from apk anyway.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
android - How to get package name from anywhere?
For example, the Context.getPackageName() method returns your application ID. There's no need to ever share your code's true package name outside your app...
Read more >Find package name or application ID of an Android app
So, the easiest way to find the app package name is via the Play Store. On a PC/Mac: Open play.google.com in your web...
Read more >android.app.Activity.getPackageName java code examples
i.addCategory(Intent.CATEGORY_DEFAULT); i.setData(Uri.parse("package:" + context.getPackageName()));
Read more >Configure the app module - Android Developers
getPackageName() method returns your application ID. ... The namespace is initially set to the package name you choose when you create your ...
Read more >applications - View app's full package name?
You can look into the LogCat. Open the LogCat (either in Eclipse, or on cmd line- if the device is connected to your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This functionality is available in Appium 1.6.6 beta as of this morning. Unfortunately it will take some time to get a method into the clients, to make it accessible.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.