简体   繁体   English

适用于Android的Picasa API

[英]Picasa API for Android

Does somebody know where I can find a good API to send and receive photos from my Android-phone to Picasa? 有人知道我在哪里可以找到一个好的API来发送和接收从我的Android手机到Picasa的照片吗? I've been searching for more than 2 days but I can't find a good way. 我已经搜索了超过2天,但我找不到一个好方法。 I think the best way was to do this via HttpRequests and using OAuth2 . 我认为最好的方法是通过HttpRequests和使用OAuth2来做到这一点。 Does somebody have a good example on this? 有人在这方面有一个很好的例子吗?

They have a public facing API described here: 他们有一个面向公众的API,如下所述:

https://developers.google.com/picasa-web/docs/2.0/developers_guide_java https://developers.google.com/picasa-web/docs/2.0/developers_guide_java

You are right. 你是对的。 You will have to authenticate your app using OAuth and then send HTTP requests using the provided API's. 您必须使用OAuth对您的应用进行身份验证,然后使用提供的API发送HTTP请求。

It should work on Android. 它应该适用于Android。 If you need a sample on how to use restful web services on Android, You can see this sample from google: 如果您需要有关如何在Android上使用restful Web服务的示例,您可以从google看到此示例:

http://code.google.com/p/apps-for-android/source/browse/#git%2FPhotostream%2Fsrc%2Fcom%2Fgoogle%2Fandroid%2Fphotostream http://code.google.com/p/apps-for-android/source/browse/#git%2FPhotostream%2Fsrc%2Fcom%2Fgoogle%2Fandroid%2Fphotostream

It's a sample app that uses the flickr API to stream photos. 这是一个使用flickr API来传输照片的示例应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM