I am using the API to show a GPX route and this is working fine.

However, when my app then shows another activity or brings another fragment 
to the top, I can't work out how to bring OSMAND back, once I have 
processed the interruption.

It works if I stop the existing Navigation: 

Intent intent = new Intent(OSMAND_STOP_NAVIGATION_SERVICE_ACTION);

mActivity.sendBroadcast(intent);


and then start the navigation again using 


mOsmAndHelper.navigateRawGpx(true, stringBuilder.toString(),false);


However, this starts the Navigation back at the starting point, which although 
it works, is not great.


Just wondering if there is a simple method like mOsmAndHelper.BringToTop that I 
am not seeing somewhere.



-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to