Android package name com

Find package name or application ID of an Android app

Android apps use package name as their unique identification. In some references, it may also be called Application ID. Although there are some differences between the two, for most of us non-developers, it is the same. It usually consists of 3 parts, but it can have 2 parts as well. For example, the package ID of Mozilla’s Firefox Browser for Android is org.mozilla.firefox.

As mentioned, the package name is unique to an application. Play Store and Android smartphones identify apps using the package name. Two different apps can have the same name, however, their package name or application ID will always be different. If you have a need of the package name of a particular app, then follow any of the methods listed below.

Finding the Package Name of Android Apps

There are several ways to find out the package name of an Android app. I am listing down the various methods. You can follow any of them as per your convenience.

Method 1 – From the Play Store

As I mentioned, the Play Store also uses the Android app package name to list unique apps. So, the easiest way to find the app package name is via the Play Store.

On a PC/Mac:

  1. Open play.google.com in your web browser.
  2. Use the search bar to look for the app for which you need the package name.
  3. Open the app page and look at the URL. The package name forms the end part of the URL i.e. after the id=?. Copy it and use it as needed.
    Note: Ignore any other information in the URL. It is not a part of the package name.

Do note that it is only applicable to apps which are listed on Play Store. For 3rd party apps, follow one of the alternative methods as listed below.

On Android mobile device

Most Android mobile browsers will redirect you to the Play Store app when you access the website. So, how do you find the package name from Play Store Android app? Here are the steps you can follow:

  1. Scroll down to the end of the page till you see the (share) button.
  2. Use it and share the Play Store app link to any service from where you can select and copy text. I usually use messaging without sending it to any recipient.
  3. The app package name will at the end of the app link which you just shared. Copy it off and use it as needed.

Method 2 – Use an app on your phone

Trying to find the package name of an app installed on your device? Or the app is installed from a 3rd party source, then you can rely on the Package Viewer apps available on Play Store. We are using a well-known app called Package name viewer 2.0 for this tutorial.

  1. Install Package Name Viewer 2.0 from the Play Store.
  2. Scroll through the app list to find the app for which you need the package name. You can also use the search button to quickly look for a particular application or game.
  3. The package name is listed just under the name of app. Just tap on the app name to get more options like copy.

Источник

Читайте также:  Как установить более раннюю версию андроида

How To Find Package Name Of An Android App

Last updated on 04/12/2017 by Pradeep Kumar ( Twitter) | Short URL: https://device.is/2Bw4Yvu

This is a very simple tip to find the package name of an Android app. This tip will be useful for you when you download APK files from Google Play Store. Some online tools require you to provide package name for the Android app you are going to download, so we decided to write this tip here. When I first heard the word “package name” I thought this will be technical, but honestly it is no where near to that.

Package Name Of An Android App

Go to Google Play Store, search and open your desired Android app. Now see the link in the address bar. I decided to open the link of “Subway Surfers” app. It’ll look like this:

Here the Package name of “Subway Surfers” Android app is com.kiloo.subwaysurf

https://play.google.com/store/apps/details?id=com.kiloo.subwaysurf

Similarly you can check this with other popular Android apps, we tried it once again with “WhatsApp” app. See the screenshot below.

Almost all the Android application package names will begin with “com”, heard it is used to avoid name-collisions between applications. After finding the package name for your desired app, you can easily download its APK file from Google Play Store.

Having any queries regarding this? Facing any trouble? Do you have any other easy method? Feel free to share them in the comments below.

Источник

How to Get App Package Name on Android [3 Methods]

In this guide, we will share three different methods to get the package name of all the installed apps on your Android device. The apps installed on your device are labeled via two different methods. The first one is the general name that you usually come across such as Facebook, WhatsApp, etc. These are the name that the everyday users deals with and searches for on Play Store.

On the other hand, there’s an associated application ID or app package name, which acts as a unique identifier for each app. For example, Facebook has the package name com.facebook.katana and WhatsApp has com.whatsapp. These are the names used by backend people and developers alike. Furthermore, while you may come across many apps on the Play Store by the name of Facebook, but none could have the com.facebook.katana as their package.

So if you have ever any doubt regarding the app’s authenticity, then you may count on this factor. With that said, how could you get hold of the package name of all the installed apps on your Android device? Well, there are three different methods for the same, and in this guide, we will make you aware of all these three approaches. So without further ado, let’s get started.

Table of Contents

Method 1: Get Android App Package Name via Play Store URL

This method is extremely easy to execute. However, if you are looking to get the name of various installed apps in one go, then it would require quite a lot of manual effort. But for a few apps, this should be your go-to method. Here’s how to use it:

On PC

  1. First off, head over to the Play Store website on your PC.
  2. Now search for the desired app (as an example, let’s go with Facebook)
  3. Then head over to its search bar and check out its URL, it will be something along this line:
  4. As an example, in the case of Facebook, the URL will be
  5. Now the portion after be the app’s package name. So for Facebook, it turns out to be com.facebook.katana.
Читайте также:  Тестирование аккумулятора для андроид

So this was the first method to get the app package name via Play Store and PC. Let’s see how to try out this Play Store trick on your phone.

On Mobile

  1. Open the Play Store app on your device and search for the desired app (let’s say WhatsApp).
  2. Under the app listing’s page, tap on the overflow icon situated at the top right and select Share.
  3. Now just share/save this URL anywhere you wish. The URL will be of the same format as mentioned above, i.e.
  4. As an example, in the case of WhatsApp, the URL turns out to be
  5. As before the app package name will be the portion after So for WhatsApp, it turns out to be com.whatsapp.

The other method involves opening the Play Store website on your smartphone browser, changing its view to Desktop Mode, and then getting hold of the URL. With that, we round off this first method to get the package name of all the installed apps on your Android device. Let’s now turn our attention towards the other two methods.

Method 2: Get Android App Package Name via a Third-Party App

The benefit of this method is the fact that you require minimal effort. Furthermore, it is able to display both the user installed as well as system apps. The UI is also user-friendly. However, I have never been in favor of using third-party apps and giving them access to my device, unless it is of paramount importance. With that said, if you wish to try it out, then follow the below instructions:

  1. To begin with, download the App Package Viewer 2.0 from Play Store.
  2. Then launch it and select the desired app from the list.
  3. Now tap on that app’s name and you should get its associated package name.

That’s it. This is perhaps the easiest method to get the package name of all the installed apps on your Android device. Now let’s check out the third and final method to carry out this task.

Method 3: Get Android App Package Name via ADB Commands

The benefit of this method is the fact that apart from getting the app’s package name, you could even remove the user-installed and system-installed apps on your device via these ADB Commands. Without Root! On the flip side, this method requires a few prerequisites and some level of technicalities as well. But if you are ready to challenge your inner-geek, then this method is tailored made for you. Follow along.

  1. To begin with, download and install the Android SDK Platform Tools on your PC. These are the official ABD binary files provided by Google.
  2. Extract its content to any convenient location on your PC and you should get the platform-tools folder.
  3. Now head over to your Android device and enable USB Debugging. This will make your device recognizable by your PC in ADB mode. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Developer Options > Enable USB Debugging.
  4. When that is done, connect your device to the PC via USB cable. Make sure USB Debugging is enabled.
  5. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
  6. Now type in the below command in the CMD window and hit Enter:
Читайте также:  Как стереть все файлы с андроида

  • If this is the first time you are performing this action, then you may get the Allow USB Debugging prompt on your device, tap Allow. With this, you have authorized the ADB Connection.
  • Now execute in the below command in the CMD window:


    Then type in the below command and you should get a list of all the installed apps:

    List of Apps on my OnePlus 7T. View Full-Size Image

  • If you wish to get the name of all the system installed apps, then use the following command:
  • That’s it. With this, we conclude the guide on how to get the package name of all the installed apps on your Android device. We have shared three different methods for the same, do let us know in the comments which one you ultimately settled for.

    About Chief Editor

    Sadique Hassan

    A technical geek by birth, he always has a keen interest in the Android platform right since the birth of the HTC Dream. The open-source environment always seems to intrigue him with the plethora of options available at his fingertips. “MBA by profession, blogger by choice!”

    Источник

    Android Package Name Vs Application ID

    Creating multiple APKs for different purposes.

    PackageName vs ApplicationId

    Nowadays, many times we come to the situation that we need the APK with another different package name. Most of us do it easily, but sometimes we got stuck because of applicationId and packageName.We must know the difference between packageName and applicationId. And the other thing is Java package.

    The following are the three which keeps us confusing:

    1. applicationId: BuildConfig.APPLICATION_ID
    2. packageName: getApplicationContext().getPackageName()
    3. Java package: BuildConfig.class.getPackage().toString()

    Let’s see with an example

    The following is the snippet from the gradle of a sample Android application.

    Here we will be having two different APKs.

    1. Release APK with com.mindorks.example.release
    2. Debug APK with com.mindorks.example.debug

    The following is the snippet from manifest of the same sample Android application.

    The following is the project package snippet of the same sample Android application.

    So, let’s create a debug APK and see what are the values of all the three.

    Read the values carefully.

    The following shows the final AndroidManifest file after APK creation.

    getPackageName gives the same applicationId which is created at the final moment from the gradle file and it overrides the AndroidManifest package. So the final AndroidManifest contains the same applicationId. So, the getPackageName is the same as the applicationId as the applicationId overrides the packageName in the AndroidManifest at the final moment.

    But for the Java code, the package is same as the project structure. The package that is used in your source code to refer to your R class, and to resolve any relative activity, service registrations, continues to be called the package as defined in your manifest. So, the AndroidManifest should have the package same as Java package to resolve relative activity, service.

    So, with the same java package, we can create any number of APKs with all unique applicationId.

    But the final AndroidManifest contains the package as the unique applicationId only.

    If you have to actually change the structure of your project, then you have to change your packageName in Manifest.xml.

    If you rename the package name from manifest file, it will have NO impact on the applicationId even if they have the same name.

    We can also create multiple APKs through productFlavors like above.

    Remember, once an app has been published to Google Play store, the ApplicationId should never be changed.

    Источник

    Оцените статью