我需要创建一个搜索Google的Android应用.我用这个代码:
Intent browser=new Intent(Intent.ACTION_VIEW);
browser.setData(Uri.parse("http://google.com/#q=qwerty"));
startActivity(browser);
Run Code Online (Sandbox Code Playgroud)
但是,浏览器会加载Google主页,而我需要一个搜索"qwerty"结果的页面.
我该怎么做?
| 归档时间: |
|
| 查看次数: |
260 次 |
| 最近记录: |