image - android中的谷歌图像搜索问题

标签 image search android-intent

我喜欢在我的 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/

相关文章:

css - 100% 下载后的图像显示

iOS 背景图像在设备上不起作用

html - 如何为搜索结果制作 CSS

python - 后缀搜索 - Python

android - 在 Android 中进行异步服务调用的方法?什么时候使用哪个?

java 。不缩放打印高分辨率图像

c++ - 识别图像文件格式

algorithm - 查找相似字符串的优化方法

android - 清除旧 SDK 上的完整 Android Activity 堆栈(缺少 FLAG_ACTIVITY_CLEAR_TASK)

android - 在Android中启动第三方应用程序的安装