android - How do I Google Search within my app from multiple text inputs -


i'm trying build app in user inputs ingredients multiple text fields displayed within app. when user presses enter of text formatted google search, app open default web-browser on users phone , display google search recipes containing ingredients entered.

so far i've tried google custom search engine , i've been searching internet hours on how go building this. input or expertise may have me appreciated.

you can open intent specified url

intent myintent = new intent(intent.action_view, uri.parse(strurl)); startactivity(myintent); 

strurl can constructed appending

google.com/search?q=searchstring1+searchstring2 

to search string

edit: text1=edittext1.gettext(); , on can text different text inputs

strurl=text1 + "+" + "text2" + "+" + text3;


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -