[英]accsessing picasa using android
I am trying to access picasa from android , 我正在尝试从android访问picasa,
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
but i am getting only one thing over here , 但是我在这里只得到一件事,
and there is no options to select google account. 而且没有选择Google帐户的选项。
in my code i am getting 在我的代码中
final AccountManager manager = AccountManager.get(this);
final Account[] accounts = manager.getAccountsByType("com.google");
final int size = accounts.length;
size = 0 and no items were there in select google account 尺寸= 0,并且选择的Google帐户中没有项目
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. 所以,请您告诉我如何设置Google帐户,访问Picasa相册,或者如果有人有其他想法,那么我也不介意。
Thank you for your question. 谢谢你的问题。
There are two options for running this sample: 运行此示例有两个选项:
When the emulator starts, you need to add a Google Account before starting the sample. 当模拟器启动时,您需要在开始示例之前添加一个Google帐户。
For more details, please take a look a the instructions for the sample . 有关更多详细信息,请查看示例说明 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.