Page 1 of 1
[SOLVED] Browser in iOS
Posted: Fri Sep 14, 2012 10:35 pm
by anmldr
I know that this is only my third day with playing with LiveCode but I cannot seem to find a browser object to add to a card. Where is it?
My intent is to load a bunch of HTML, CSS and maybe a javascript file or so into the app and to allow the user to read a manual.
Linda
Re: Browser in iOS
Posted: Fri Sep 14, 2012 10:57 pm
by sturgis
There isn't an object per-se you create the browser object with code. For desktop use in windows and mac you would want to look at revbrowseropen and its associated commands. For ios you want to look at mobilecontrolcreate to create the browser control.
Re: Browser in iOS
Posted: Sat Sep 15, 2012 3:51 am
by anmldr
I have not had time to study the example yet but with a Google search, I found this and it was inside LiveCode all along
Oh well...I am a newbie and get an error message on the forum and so I cannot post the link.
Your account does not have permission to post links or domain/page references.
Search for this on Google and it should be the first hit "22836-How-do-I-use-the-Browser-Control"
Linda
Re: Browser in iOS
Posted: Sat Sep 15, 2012 12:04 pm
by Klaus
Hi Linda,
1. welcome to the forum
2. check these stacks to get a "feel" for LiveCode and its concepts:
http://www.runrev.com/developers/lesson ... nferences/
And of course the lessons at RunRev:
http://lessons.runrev.com
3. to see the differences Desktop <-> Mobile (and there ARE differences in syntax!), check the "iOS Release Notes"
Find them in LiveCode: Menu: Help
Best
Klaus
Re: Browser in iOS
Posted: Sun Sep 16, 2012 1:08 am
by anmldr
sturgis wrote:There isn't an object per-se you create the browser object with code. For desktop use in windows and mac you would want to look at revbrowseropen and its associated commands. For ios you want to look at mobilecontrolcreate to create the browser control.
Can anyone tell me the limitations of this browser that is created with code? Is it comparable to the UIWebView or Mobile Safari on iOS devices? For example, without my having to do any special coding in the creation of this browser, is it able to interpret javascript? Is it able to read a simple pdf file?
Linda
Re: Browser in iOS
Posted: Sun Sep 16, 2012 1:46 am
by anmldr
I may have found the answer myself in the dictionary.
Native iOS or Android web browser control
So, I guess when it is created, it is the same as a UIWebView.
Linda
Re: Browser in iOS
Posted: Sun Sep 16, 2012 11:50 am
by Klaus
Hi Linda,
check the "Android/iOS release Notes" in Livecode: Menu: Help
That is the only documentation available.
Best
Klaus