BrowserLadRequest for Android browser
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
BrowserLadRequest for Android browser
Hi,
Any idea or workaround for this issue? How trap the URL from a browser from Android control?
Salut,
Josep M
Any idea or workaround for this issue? How trap the URL from a browser from Android control?
Salut,
Josep M
Re: BrowserLadRequest for Android browser
hi,
create the navigation control
on mouseUp
doAction "retreat"
end mouseUp
on mouseUp
doAction "advance"
end mouseUp
create the stop reload content
on mouseUp
doAction "stop"
end mouseUp
and
do action reload
create the navigation control
on mouseUp
doAction "retreat"
end mouseUp
on mouseUp
doAction "advance"
end mouseUp
create the stop reload content
on mouseUp
doAction "stop"
end mouseUp
and
do action reload
web design company bangalore | web development company --- Nexevo Technologies
Http://www.nexevo.in
Http://www.nexevo.in
Re: BrowserLadRequest for Android browser
Hi,
But first time I must load the page, one time is loaded is when I must trap the URLs. Where I must put the "mouseup", sorry but I don't understand it...
But first time I must load the page, one time is loaded is when I must trap the URLs. Where I must put the "mouseup", sorry but I don't understand it...

Re: BrowserLadRequest for Android browser
What do you want to do exactly?
You can create a browser putting a native Android browser control.
Moreover you can add buttons to go back page, next page, reload, execute script.
The command is:
Action can be one of:
You can create a browser putting a native Android browser control.
Moreover you can add buttons to go back page, next page, reload, execute script.
The command is:
Code: Select all
mobileControlDo controlName, action
- advance - Move forward through the history (wraps the goForward method of UIWebView).
- retreat - Move backward through the history (wraps the goBack method of UIWebView).
- reload - Reload the current page (wraps the reload method of UIWebView).
- stop - Stop loading the current page (wraps the stopLoading method of UIWebView).
- load baseUrl, htmlText - Loads as page consisting of the given htmlText with the given baseUrl (wraps theloadHtmlString method of UIWebView). Takes the following additional parameters:
- baseUrl
- htmlText
- execute, script (Javascript)
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: BrowserLadRequest for Android browser
Hi,
I want trap the URL like the "on browserloadrequest" do for iOS but for Android don't work.
So one time I click on the URL the page is starting to load, I can't stop it, right?
Salut,
Jospe M
I want trap the URL like the "on browserloadrequest" do for iOS but for Android don't work.
So one time I click on the URL the page is starting to load, I can't stop it, right?
Salut,
Jospe M
Re: BrowserLadRequest for Android browser
This should work:JosepM wrote: So one time I click on the URL the page is starting to load, I can't stop it, right?
Code: Select all
mobileControlDo controlName,"stop"
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: BrowserLadRequest for Android browser
Hi,
Yes, but the first time when the object is created? I don't see the way
Yes, but the first time when the object is created? I don't see the way

Re: BrowserLadRequest for Android browser
You create a native browser with:
No url is loaded.
Code: Select all
mobilecontrolcreate "browser","mybrowser"
mobilecontrolset "mybrowser","rect",myrect
mobilecontrolset "mybrowser","visible",true
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w