hi,
  i got it , i set getAccountsByType(null),then i can get a account.
that sample code not completion,so you'll get noting.


2010/9/17 ntimesc <[email protected]>

> Hi ,
>
> I am trying to access picasa from android ,
>
> i have tried to run following sample code
>
>
> http://code.google.com/p/google-api-java-client/source/browse/picasa-atom-android-sample/?repo=samples#picasa-atom-android-sample%3Fstate%3Dclosed
>
>  i am getting "Select a google Account" but not getting any accounts
> listed.
>
>  final AccountManager manager = AccountManager.get(this);
>  final Account[] accounts = manager.getAccountsByType("com.google");
>  final int size = accounts.length;
>
> In Above code i am getting "size=0".
>
>
> so can you please tell me how to set up google account , to access
> picasa album
> or if someone has another idea then also i don't mind.
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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