Behind the curtain, android uses permissions to asign you user groups
he belongs to (linux user and linux groups). So basically you are
asking if you can add user assigned to your application to certain
groups. Guess that's not possible as your process (meaning your user)
just doesn't have permissions for that. So you end up having no
permissions to set a permission :)

On Jul 30, 4:09 pm, RamaMohan <[email protected]> wrote:
> HI all,
> I want to add   <uses-permission> via programatically .I want to
> telephone number of the device.For that i need to access the phone
> state.But i need to add that permission only with Java code at
> runtime.
> Is it Possible to do so. (or)
> Can you suggest any alternative way to read the telephone number .?

-- 
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

Reply via email to