Monday, November 1, 2010

Re: [android-developers] accsessing picasa using android

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 <ntimesc@gmail.com>
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment