Search code examples
apache-flexmobileflex4.5air-android

Is there away to start a phones native Navigation tool from Flex 4.5?


I am building a mobile application in Flex 4.5 and from this app I would like to start the device's native navigation tool, like Google Navigation for example.

Is there a way to open the Navigation App using Flex 4.5?


Solution

  • As far as I knew, there was no way to launch other applications from a mobile Flex App.

    Some native apps can be opened using URLs. It is, basically, the Flash Platform version of saying "Let the OS Handle it." If you HTTP link to a video, for example, it may open in a native player or it may open in the browser.

    You can open the native text messaging program using sms as the protocol. As far as I know, there is no universal URL to open navigation services.

    This post alludes to the fact that linking to maps.google.com will do it.

    You can look into using the AIR Geolocation services APIs; but that is intended for in-app usage not launching other apps.