How do I search Google in an Android app?
I need to create an Android app that searches Google. I use this code:
Intent browse开发者_如何学编程r=new Intent(Intent.ACTION_VIEW);
browser.setData(Uri.parse("http://google.com/#q=qwerty"));
startActivity(browser);
However, the browser loads the Google home page, whereas I need a page with results of searching for "qwerty".
How can I do it?
do you mean:
http://google.com/search?q=qwerty
精彩评论