On Fri, Jun 17, 2011 at 11:21 PM, RS <[email protected]> wrote:
> Simplifying the question:
>
> Am looking for answers from developers (or google engineers) who have
> used accountManager.getAuthToken(....) and have come across such a
> screen for their own apps:
>
> http://www.appbrain.com/info/fastweb2.png
> or
> http://chiarg.com/?p=429
>
> Once the user clicks 'allow', how could they undo this action for that
> particular android app+account?
>

It seems that there is no public API to do this.  AccountMangerService has a
revokeAppPermission() method which is both hidden (with @hide) and
not accessible via public APIs. You could probably call it using reflection,
but that is usually not recommended. BTW, access to tokens is granted
by UID, so it's not global for all applications. Check out
/data/system/accounts.db for more details if you have a rooted device.

HTH

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