title: Obtain the Linux UID of an Android App
body: <p>I would like to be able to get the Linux UID (user ID) of an installed Android application.</p>
  
  <p>Excerpt from <a href="http://developer.android.com/guide/topics/security/security.html">Security and Permissions</a>: "At install time, Android gives each package a distinct Linux user ID. The identity remains constant for the duration of the package's life on that device."</p>
  
  <p>Is there a way to retrieve this UID?</p>