Code Select
Intent i = new Intent("com.oruxmaps.VIEW_MAP_ONLINE");
double [] targetLat = {53.12,53.38};
double [] targetLon = {13.12,13.22};
String [] targetNames = {"START","ZIEL"};
i.putExtra("targetLat", targetLat);
i.putExtra("targetLon", targetLon);
i.putExtra("targetName", targetNames);
i.putExtra("navigatetoindex", 1);
startActivity(i);
I thought this might be the way to activate navigation to waypoint "Ziel", which should have index 1, while "Start" has index zero.
Code Select
int[] targetType = i.getIntArrayExtra("targetType");//waypoint type
Should give me a array of integers to do what?
Code Select
int navigatetoindex = i.getIntExtra("navigatetoindex", -1);//waypoint index from provided waypoints to start navigation mode
Since its an "get" method, it should return an index? What to do with?
I am very sorry for the maybe stupid questions, but there is no reference to look at in this special case.