- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm a newbee in the mobile development. I'm trying to start an external navigation app (like Navigon) and start routing to a given location.
Example:
var uri = "navigon://coordinate/DestinationOne/12.123456/50.123456";
If I test the app on iOS the routing will be start successfully.
If I try this under Android I receive a application error (protocol not supported).
From navigon I found this description:
Intentaction:
<actionandroid:name="android.intent.action.navigon.START_PUBLIC" />
Intentextras:
1.Locationcoordinates.
String INTENT_EXTRA_KEY_LATITUDE = "latitude";
String INTENT_EXTRA_KEY_LONGITUDE = "longitude";
Long/Latarefloatvaluesin decimaldegreeformat(+-DDD.DDDDD).
Example:
Intentintent= newIntent(INTENT_ACTION_START_MN);
intent.putExtra(INTENT_EXTRA_KEY_LATITUDE, 46.12345f);
intent.putExtra(INTENT_EXTRA_KEY_LONGITUDE, 23.12345f);
But I don't know, how can I add this intent in the XDK based app?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try checking out these threads, they might help:
https://forums.html5dev-software.intel.com/viewtopic.php?f=34&t=5964#p22588
https://forums.html5dev-software.intel.com/viewtopic.php?f=34&t=5760#p27014
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page