On Fri, Jul 30, 2010 at 14:09, 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 .? Specify it the manifest. That's the purpose of it, warn the user about the permissions the application will need (among other things) There's no way to do that programatically. -- 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

