Page 1 of 1

urlWakeUp - how to parse the URL

Posted: Wed Feb 05, 2014 9:06 pm
by MadManSoft
Hi All,

Now that I've gotten the URL that called my app, is the another function that will help to parse it, or is that all up to me and my code?

example URL:

myURL://some/path/here?foo=1&bar=2

Is there a function in LC that will get me the parameters (foo and bar) and their values (1 and 2) or is that something I have to parse for?

Thanks,

Steve

Re: urlWakeUp - how to parse the URL

Posted: Tue Feb 25, 2014 10:42 am
by LCNeil
Hi Steven,

You will be able to use the urlWakeup message which is sent to your application when it is launched by a URL

An example of this is

on urlWakeUp pURL
answer pURl
end urlWakeup

pURL will be the url that was used to launch your app.

You should then be able to parse this as required.

We also have a great lesson on this here-

http://lessons.runrev.com/s/lessons/m/4 ... rl-schemes

Kind Regards,


Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
-