tags:

views:

123

answers:

0

Hi everyone,

I'm struggling to understand the Android AccountManager API. As far as I got thinks working I can use the blockingGetAuthToken method and specify whether Android should provide a notification for user to allow or deny the request. Another possibility is to use getAuthToken and check if KEY_INTENT is returned. If that's the case I could start a new Activity where the user can confirm my request.

My problem is that I would like to call one of these two methods from within a Service. Is there any chance to get a callback once the user has made a decision?

Thanks for your help