开发者

Is there A Way To Use Google Image Search API From Android?

Is there a way to use Goo开发者_运维问答gle Image Search API from Android application?

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!


Update:

this api is no longer valid and has been replaced with a custom search engine that is probably not what you are looking for


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:

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.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜