It's actually myUid(), and it doesn't require any permissions.
-- Kostya
29.01.2011 3:26, paladin пишет:
Do I need to set up any permission to make that call?
android.os.Process.myUID(), correct?
On Jan 28, 3:57 pm, Kostya Vasilyev<[email protected]> wrote:
Process.myUID():
http://developer.android.com/reference/android/os/Process.html
28.01.2011 23:46, paladin пишет:
Is it possible to retrieve the Linux user ID that an app is running
under (and possibly group ID)?
--
Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en