I would like to be able to get the Linux UID (user ID) of an installed Android application.
Excerpt from Security and Permissions: \"At install time, Android gives e
Use android.os.Process.myUid() to get the calling apps UID directly.
android.os.Process.myUid()
Using the PackageManager is not necessary to find the own UID.