App ID for Android app?

I need to get an application for an Android application, how to get this application identifier, I got this application identifier using a city air ship, it has the form "ab4f3aa5-b169-4fed-82bc-ce6c39240517", while I need to extract this code using my own code, if there is any way to achieve this?

Thanks.

+4
source share
1 answer

Is this an ID standard? I thought the package name is unique and the primary identifier for applications.

To get the application package name, use

activity.getApplicationContext().getApplicationInfo().packageName; 

Regards, StΓ©phane

0
source

All Articles