According to the dictionary, browserLoadRequest is only for iOS. By any chance, is there something similar I could use for Android?
I have a card with a browser in it. The browser displays a map (an image) and pins. Pins have "href" so when tapped, the browser loads the particular URL. Depending on what the URL contains, the app would then proceed to another card.
Code: Select all
on browserLoadRequest pUrl, pReason
set the itemDel to "/"
put the last item of pUrl into theID
if the first char of theID is not "G" then
go cd "one"
else
go cd "two"
end if
end browserLoadRequest
browserFinishedLoading however, works for both iOS and Android, but I do not want to browser to go ahead and continue loading the URL because it isn't really a valid URL. The content on the href just acts like a parameter or some ID for me to know which of the pins is tapped. If I would allow it to load, I would have "webpage not available" when I get back to that card with browser. So, I hope to trap it on load request.
Any advices?
Thanks,
Genie