有没有一种方法使用谷歌图片搜索API从Android的? [英] Is there A Way To Use Google Image Search API From Android?

查看:142
本文介绍了有没有一种方法使用谷歌图片搜索API从Android的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用谷歌图片搜索API从Android应用程序?

Is there a way to use Google Image Search API from Android application?

官方网页上(http://$c$c.google.com/apis/imagesearch/)谈论使用API​​的网站。我想从Android应用程序中使用它。我想获得第一图像的网址,这将在我的一个应用的用户输入指定的关键字。谢谢!

Official page (http://code.google.com/apis/imagesearch/) talks about using the API from a website. I'd like to use it from android application. I'd like to get URL of a first image for the specified keyword which will user enter in my applicaton. Thanks!

推荐答案

我看不出有任何理由,你不能用正常的REST / JSON接口的谷歌已经证明(用于闪存的webapps,但似乎合法使用其他非Javascript的目的也是如此)。 据谷歌:

I can't see any reason you can't use the normal REST/JSON interface Google has documented (intended for Flash webapps but seems legal to use for other non-Javascript purposes too). According to Google:

在谷歌图片搜索JSON接口,这个指南,提供了Flash开发,谁需要从其他非JavaScript环境访问图片搜索的所有其他开发者。

The Google Image Search JSON interface, and this guide, are provided for Flash developers, and all other developers who need to access Image Search from other Non-JavaScript environments.

看起来像Android一样有资格,假设您符合所有喜欢的归属,用户生成的查询等其他条款的要求。

Seems like Android would qualify, assuming you meet all the other TOS requirements like attribution, user-generated queries, and so on.

这篇关于有没有一种方法使用谷歌图片搜索API从Android的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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