简体   繁体   English

如何从Android应用程序连接到Flickr的Search Image API?

[英]How to connect to Flickr's Search Image API from Android app?

I'm trying to create an Android app using Android Studio, where a user can search for images by typing text into a search bar. 我正在尝试使用Android Studio创建一个Android应用,其中用户可以通过在搜索栏中键入文本来搜索图像。 the App is supposed to be connected to an image search API, and I chose Flickr. 该应用程序应该已连接到图像搜索API,因此我选择了Flickr。 I have never worked with anything like this before, and I was wondering if anyone had any tips on how to start? 我以前从未使用过类似的工具,并且我想知道是否有人对如何入门有任何建议? Thanks! 谢谢!

You will have to start from Flick API and know the necessary endpoints. 您将必须从Flick API开始,并了解必要的端点。 Then you also need a networking library like Volley . 然后,您还需要Volley这样的网络库。 Finally I'll advice you use JSON for request and response formats. 最后,我建议您将JSON用于请求和响应格式。

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

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