在Android Flickr的API? [英] Flickr API on Android?

查看:225
本文介绍了在Android Flickr的API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Flickr的API下载在Android手机的图像,任何一个可以给或告诉,我约了Flickr的API上的Andorid的工作样本。

I want to use Flickr API for downloading the images on Android Phone, can any one give or tell, me about the working sample of Flickr API on Andorid.

我添加flickr.jar作为外部库,和我有重点和秘密,但我不知道如何下载图像。

I have add the flickr.jar as the external library, and i have the "Key"and "Secret" but i do not know how to download the images.

推荐答案

它所需要的仅仅是3个步骤,你将有实现它。

All it takes is just 3 steps and you will have it implemented.

第1步:找到你的用户ID

Step 1: Find your user id.

最简单的方法就是使用这项服务 http://idgettr.com/

The easiest way is to use this service http://idgettr.com/

第2步:获取你的Flickr的API密钥

Step 2: Acquire you flickr api key

只需登录到您的帐户,然后点击这个链接<一个href="http://www.flickr.com/services/api/misc.api_keys.html">http://www.flickr.com/services/api/misc.api_keys.html

Just log-in to you account and click this link http://www.flickr.com/services/api/misc.api_keys.html

第三步:从实例项目的code,从我们的博客

Step 3: Get the code from the example project from our blog

<一个href="http://www.quintostdio.com/blog/archives/1117">http://www.quintostdio.com/blog/archives/1117

添加你的用户ID和API密钥的FlickrActivity类(在包com.quintostdio.test.flickr.ui),并运行示例。您可以复制粘贴类,并将其添加到您的项目,没有更多的变化,它会工作。

Add you user id and api key on the FlickrActivity class (in the package com.quintostdio.test.flickr.ui) and run the example. You can copy paste the classes and add it to your project, with no more changes and it will work.

这篇关于在Android Flickr的API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆