google search field

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Coffee1633
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 219
Joined: Mon Dec 05, 2011 5:35 pm
Location: Kanagawa, Japan

google search field

Post by Coffee1633 » Thu Sep 19, 2013 11:56 pm

I am making a simple iOS web browser within my app and I think I figured out everything I need to do except one. The URL field works fine but how do I create a google search field?

If the user just wants to input a search term into the search field, how can I search for terms using google's search engine?

coffee16

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6035
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: google search field

Post by FourthWorld » Fri Sep 20, 2013 12:00 am

Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: google search field

Post by LCNeil » Wed Sep 25, 2013 4:18 pm

Hi Coffee1633.

I have attached a stack that allows you to conduct a google search from a native text field.

Once the search term has been entered, a google search URL is generated and this is set to the mobGui created browser control.

All relevant code of this stack in the the "search" button.

I hope this gives you some leads

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--
Attachments
google search.livecode.zip
(164.74 KiB) Downloaded 166 times

Coffee1633
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 219
Joined: Mon Dec 05, 2011 5:35 pm
Location: Kanagawa, Japan

Re: google search field

Post by Coffee1633 » Sat Sep 28, 2013 6:06 pm

Thanks Neil

I have been away for a while and I see this update to my original post. Thank you. This was a great help.

Coffee16

njt
Posts: 11
Joined: Mon Jun 10, 2013 12:53 am

Re: google search field

Post by njt » Fri Oct 25, 2013 4:15 pm

Hi Coffee,

I don't mean to hijack your thread but there is apparently no way to send you a private message - so I need to result to a public message like this.

I also live in Japan, would you be up for meeting and perhaps speaking about livecode some?
I'm new to this as well and it'd be neat to work with someone that also is using it. Anyway, just throwing that out there ;).
You can contact me on Google+ https://plus.google.com/u/0/105806723085226758661/

Post Reply

Return to “Summer School 2013”