This has been kicked around the #android irc channel off and on for a while, and the basic answer from Google devs seems to be "no, thats not how we want it to work". (Which leads to only one alternative really - ship multiple versions of your app into the marketplace, with different security requests and a shared uid..)
Not to pick on anyone specific, but the various webpage apps (wikipedia.. bank of america.. etc) that require gps are perfect examples here. Sure, SOMETIMES I might want to know what pages (or branches) are nearby. But usually, I just want to use the app. And sometimes I explicitly might -not- want the app to be able to suck up my location... On Wed, Dec 10, 2008 at 2:03 PM, Brad Gies <[EMAIL PROTECTED]> wrote: > > > Is there a way to make a permission optional for the user? > > > > I would like my app's user to be able to send emails to their contacts if > they want, but don't want them to have to approve the Contacts permissions > when the app is installed. What I'd like to do is have a button in the app > that they could click on, the app would check to see if it had that > permission, and if it didn't popup a dialog box to ask the user if they want > to give that permission, and only continue if they agreed, and disable that > feature if they don't want to. > > > > Obviously this would have to be built into the framework for it to work, > but is it there now? Is there a way to grant an application additional > permissions after it is installed? > > > > Sincerely, > > > > Brad Gies > > > > > > ----------------------------------------------------------------- > > Brad Gies > > 27415 Greenfield Rd, # 2, > > Southfield, MI, USA > > 48076 > > www.bgies.com www.truckerphone.com > > www.EDI-Easy.com www.pricebunny.com > > ----------------------------------------------------------------- > > > > Moderation in everything, including abstinence > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

