我喜欢在我的 Android 手机 (htc evo) 上执行谷歌图片搜索。我的源代码:
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://images.google.com/searchbyimage?image_url=http://www.google.com/images/srpr/logo3w.png")); 启动事件(浏览器意图);
搜索在我的桌面上运行良好,但一直显示 http://www.google.com/wenhp?.......and没有其他的。请注意,如果执行谷歌文本搜索,它会起作用。请帮忙。
最佳答案
这里有一些不错的示例代码,您可以从中获得帮助。
Android 图片搜索 https://github.com/tonytamsf/Android-Image-Search
Android 网格图像搜索应用 https://github.com/adi2188/gridImageSearchApp
希望这能解决您的问题。
关于image - android中的谷歌图像搜索问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13105664/