gurujain / osmbonuspack

Automatically exported from code.google.com/p/osmbonuspack
0 stars 0 forks source link

Routing not working when incorporated into a non-launch Activity #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I run the Tutorial App on my smartphone I get a nice route, from point A 
(-22.548570, 17.095330) to point B (-22.604649, 17.098213), displayed however 
when I change the MainActivity to not be the Launcher activity then I just get 
a straight line from point A to point B and a toast message appears. The only 
changes I made was to change the name from MainActivity to MapActivity, and 
created a new Launcher activity with a button which when clicked takes one to 
the MapActivity.

I am using Android SDK ver 18, osmdroid ver 4.1, OSMBonusPack ver 4.4 to write 
an App for Android 4.3.

Has anybody had the same experience/problem?

Original issue reported on code.google.com by franzakl...@gmail.com on 23 Apr 2014 at 9:14

GoogleCodeExporter commented 8 years ago
What is the error in the logcat?

SDK18/Android 4.3 => have you managed to take care of the "Important note about 
network calls" in Tutorial_0?

Original comment by mathieu....@gmail.com on 24 Apr 2014 at 8:20

GoogleCodeExporter commented 8 years ago
Assuming this was due to usage of SDK18/Android 4.3 without taking care of the 
"Important note about network calls" (Network calls in UI thread) => closed. 

Original comment by mathieu....@gmail.com on 6 Jun 2014 at 3:40