Hi Pahup,
Thanks for your answer first.
I tried the solution. I have a good news and a bad news.
The good one is I can use the customized URI schema to configure my application so that another application can call it using the url. It really works. : )
But unfortunately, I didn't get the url as an argument in INVOKE.event. In fact, the argument array is empty and the invoke reason is just "standard" which means I can not find out if the application is invoked by a url call.
Could you please tell me if that it is now? Thanks a lot.
Jenny
Hi Jenny,
I've just tried custom URI with iOS and I am able to receive the argument with length 1, which has the complete url I browsed.
For Eg: If I launch url example://xyz?abc, I get the complete url as 1st element of the e.arguments array.
public function invokeHandler(e:InvokeEvent):void{
label1.text = "";
label1.appendText(e.arguments.length.toString() + " ");
for (var i:int=0;i<e.arguments.length;i++)
{
label1.appendText(e.arguments + " ");
}
label1.appendText(e.reason);
}
Reason should always be standard if it's not launched from login. Currently on Mobile it will be standard only.
Hope it helps.
-Pahup