I'm building an air application for android and I have to launch it from a web browser.
I've found some tutorials about launch air.swf and use launchApplication() like this tutorial :
I know most of these tutorials are for a desktop application so I'm not sure if I can use it for an android device.
I know there is a different way to launch from a browser with intent-filter on the xml configuration
<intent-filter> <data android:scheme="my.special.scheme" /> <action android:name="android.intent.action.VIEW" /> </intent-filter>
and After I need to do that :
But if I want to do like below, it doesn't work
Thanks a lot.
Did you try ...
location.href = url