>
> it is showing the error "The method getAccountManager() is undefined for
> the type GoogleAccountManager".
>

Umm... What code are you using?  The link you referenced never mentions a
getAccountManager() method on the GoogleAccountManager class.  That could
be a problem.

The link you are using does give the following lines of code for using
GoogleAccountManager though:

GoogleAccountManager googleAccountManager = new GoogleAccountManager(activity);
Account[] accounts = googleAccountManager.getAccounts();

If you try using that code, it will probably work...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Sun, May 6, 2012 at 11:50 PM, Abhishek UB <[email protected]> wrote:

> getAccountManager()

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