Home Java Overview Maven Tutorials

Thursday, 8 June 2017

How to Find App Package & App Activity

For Video Tutorial : Move on Youtube Channel

Note : Select the playlist as per your need & move with number sequence

Video for this tutorial :

Click here

How to find App package and App Activity ?

In this Article/Tutorial , we will let you know that how to find app package and app activity to automate mobile application.

First of all verify that your mobile device is connected or not.
In windows open the command Prompt (window key + r & then enter "cmd" and hit enter)

Type the command adb devices and hit enter
your device binary name will appear.
Method :1- Enter below commond in commond promt & hit enter

adb shell pm list packages -f

This above command will list all the application path and package names.
Note that above commond prints the package details for all apps in the device.
You can use findstr (grep for mac os) commond to filter only specific apps as shown in below image.

adb shell pm list packages -f | findstr "whatsapp"

Now use below command to copy apk file from mobile/emulator to your machine(computer)
adb pull /system/app/Calculator/Calculator.apk

After that your apk file will be downloaded at user directory
In my computer path is :

Now open the appium and click on the andriod icon, a pop up window will appear

Now select the check box Application path and click the Choose button, and select your apk file from your machine.

after selecting the apk file, app package and activity will get populated.

enjoy, you have found what you want. :)
Mathod 2 :- Using command : adb shell
dumpsys window windows | grep-E 'mcurrentFocus | mFocusedApp'
In windows open the command Prompt (window key + r & then enter "cmd" and hit enter)
to verify that your device is connected or not type the command adb devices
your device binary name will appear

open the app in your mobile & now type the command :
adb shell
and hit enter key and then
type the command dumpsys window windows | grep -E 'mcurrentFocus | mFocusedApp' and hit enter key
you will find the app package & app activity.

or you can also use dumpsys window windows | grep -E 'mFocusedApp' command to find the app package and app activity.

Congratulation you have found app package and app activity.

Method 3 :- Using Appinfo.apk file(apkinfo android app) :- Step-1:- Download and install Apk Info app from play store

Step-2:- Open the apk info app

Step-3:-Suppose i want to find app package & app activity of Whatsapp
Then i will scroll it upto Whatsapp and then long press on it

Step-4:-Select the detailed information option
, here you will find app package

Step-5:-Scroll down and find the app activity

Congratulation You have done a good job.

Tags :

How to find app package and app activity


Commond to find app package and app activity


Methods to app package and app activity


Different methods to find app package and app activity



  1. We read that article now apps package and how to our apps active for a command line.I read this all content and I was using our command from apps package and then apps software activation.I have to use this apps package command it's really well used. It's an attractive blog article.If become want to learn for Software Testing Tools we need from to reach Selenium Training in Chennai
    Software Testing Training in Chennai

    1. Thanks Vignesjoseph.........

    2. Great Article
      android based projects

      Java Training in Chennai

      Project Center in Chennai

      Java Training in Chennai

      projects for cse

      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

  2. Numerous sorts of applications are additionally accessible so as to improve the engaging highlights of an android tablet. best gba emulator android

  3. Macslive
    Now download the latest updated versions of mac & pc applications. Get the latest games, applications & much more with just one click

  4. Shoes are the one on the primary parts that clarify about your identity. so it is profoundly suggested that your shoes must be sufficiently appealing I your entire dressing. This best uk essay writing service is giving the in this viewpoint.

  5. We created the software program with eyesight to provide companies worldwide high-quality internet structures which easily simplify the way they do business
    UX design services

  6. Sometimes, the cost of changing over such a framework may cost an organization so much, or more, than buying new hardware explicitly for pockets, sacks and other adaptable packages.
    földmunkagép szállítás Europa-Road Kft.

  7. The noted web site is one the maximum reliable and dependable websites and features a pleasant solution to your hassle!!
    UX consulting

  8. Are you looking for fridge repair service Dubai, then you reached at right place where, we have professional workers in our Company. So what are you waiting for just call us today or visit our Website to avail our Service.
    Fridge Repair in Dubai

  9. Thank you for sharing with this article it's really nice article and easy to understand.

    Pharmacy Live

  10. Our company is a well known Electrical maintenance company Dubai and specialized in electronics. So, if you are looking for someone to maintain Electrical Appliances or something else then your worries are over. We will give the services like Electrical Services Dubai with the certified Electrician in Dubai. Our electrical contractor will construct the work related to the design, installation and maintenance of electrical items. So, if you are interested to take our services then contact Green Astro Pools & Landscape L.L.C or visit our website for more information.

  11. I have learnt various good stuff right here, and I’m sure everyone will get advantage of it.
    San Francisco design agencies

  12. We are experts in the painting of residential property with years of vast experience in particularly luxury villas in Dubai. For painting related small to big work in your villas, please contact for superb service. Our painters carry out Villa Painting Services with perfection and give your result the way you expect.

  13. if you are looking forprinter repair services at affordable cost then you came to the right place, contact us to know more about our service.

  14. Get the best interior renovation company in Dubai from Fix Hub Technical Services LLC. We have workers, who have years of experience in this renovation field, and also they are experts in other fields Like, Interior fit-out, Gypsum work, Bathroom renovation dubai, Office renovation, Villa Renovation, Kitchen Renovation, etc. So if You want our services Then just contact Fix Hub Technical Services LLC fast or you can visit our Website for more information.

  15. If you are looking for make banner for promotion we provide banner printing service in Dubai. contact us through our website.

    Banner printing Dubai

  16. If You Want Your Own Cheapest Visa at a low cost and looking for a company that can provide you with these services, you have come to the right place. We give a lot of services here like, freelance visa, freelancer visa Dubai, freelance visa Dubai, own visa in UAE, freelance visa Dubai cost fees, cheapest freelance visa UAE, freelance work permit Dubai.