开发者

search engine program in android

I started android programming just 3 weeks back. I want to implement quick search program. I want to create a text field and when I enter text in that and click search, it must display google results for that entered text. How do I do it? Pl开发者_如何学编程ease help me. I am new to programming. appending the query to the URL and stuff is what I read But its bouncing for me.


Rather than re-invent the wheel, re-use what is already there. Have a look at this -> http://developer.android.com/guide/topics/search/index.html You can write a search provider that uses the existing framework.

Then have a look at this -> developer.android.com/resources/samples/SearchableDictionary/index.html


Maybe it's gonna help you : http://developer.android.com/resources/tutorials/views/hello-webview.html

Moreover, you gonna need intents in order to launch the web browser.


I did go thru your link before. I have written the program and am able to open the web page. But Am having problem in linking my query string to the web page.Whatever I type in the text field, on clicking search, I must get its results.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜