View app's full package name?

  • I am using Android 4.0.3 and I can no longer find package name for some app. If I recall, I used to go to Applications and has been able to see it there.

    So, how can I see full package name of some app? Like, the app's name is "Test" and I need to see its package com.test.mytest.

    The accepted answer on this question (which has the opposite problem: finding the app name when you know the package name) suggests simply looking it up on Google Play website. The package name will be right there in the URL.

    @AlE.: Somehow, the solution with "simply looking it up on Google Play website" doesn't work when the point of finding out the unique package ID is to find the app again on the Google Play website :)

  • If you're comfortable using the command line, a solution I like is Android's pm command. It can easily be called using adb like so:

    $ adb shell "pm list packages -f test"

    Replace test with whatever package you're looking for.

    pm has a variety of options that may be useful depending what you want to do:

    usage: pm list packages [-f] [-d] [-e] [-s] [-3] [-i] [-u] [FILTER]
    pm list packages: prints all packages, optionally only
      those whose package name contains the text in FILTER.  Options:
        -f: see their associated file.
        -d: filter to only show disbled packages.
        -e: filter to only show enabled packages.
        -s: filter to only show system packages.
        -3: filter to only show third party packages.
        -i: see the installer for the packages.
        -u: also include uninstalled packages.

    This works perfect. As a generic solution, this seems to be the correct answer for the question. Also we can use `grep` if we know some part of the package name.

    @gnuanu Yes, I used grep at first and then I realized the -f flag does the same thing (filters by package name), as you can see in the example. Either works fine.

    If you are on Windows, use double quotes `"` instead of single quotes `'`. Like this: `adb shell "pm list packages -f test"` Or you will get weird errors.

    This doesn't work if the full name of the app or apk file does not contain the displayed name of the app. e.g. "Google Play Services" is, but this is basically impossible to find

  • Just share the app from Google Play Store to somewhere, (by clicking on the share button in the app's page) and see the shared value.

    You will see something like:

    (If you cant find it in Google Play: You can long press on app icon and press on "Application info" Go to the bottom of the Android page, and then click on "App details in store")

  • The best way seems to be to use APK extractor. You don't actually have to extract any APK, this app will display the qualified name for each installed app. This should cover all apps.

    If for some reason it can't find your app, look around on the SD card. If you're lucky, the app stores its data or settings in an folder that has the app's qualified name somewhere in its path, like /mnt/sdcard/Android/data/net.sylark.apkextractor.

  • You can look into the LogCat. Open the LogCat (either in Eclipse, or on cmd line- if the device is connected to your PC - or on your mobile itself, using any app which allows to view LogCat). Once LogCat is available, launch the app - the log corresponding to "ActivityManager" will display the activity started. It will usually be in the format: "Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]...". However technical this approach might be, this is - IMHO - the best way to achieve knowledge about the launching activity for any of the installed apps.

  • If you are proficient at using adb and Linux you can find it pretty quick using the linux command grep.

    Just do:

    adb shell
    ls -al /data/data/ | grep 'yourAppName'

    You need root of course to be able to search in /data/data/

    So how do I become root? Root as in Linux root or root as in "root" your device?

  • OS Monitor app will give you the needed info for running processes when you open a Process on main screen by tapping it.

    Click on image to enlarge

    OS Monitor ps name

    It is a very powerful app for monitoring the deepest parts of Android.

  • As of now, many apps can show the package name of the installed app, such as Elixir 2 (see Applications option), My App List, Applications Info and many more in Play Store.

    Screenshots of the ones I use:

    enter image description here enter image description here enter image description here

License under CC-BY-SA with attribution

Content dated before 6/26/2020 9:53 AM