i trying make app using googlemaps api. have 2 activity.
this main activity. http://i.stack.imgur.com/6enof.png
map in activity not changeable. when click draw route button, go other activity mapsactivity. , pick pin , draw route. http://i.stack.imgur.com/fduia.png
now when click ok button, want copy map route mapsactivity mainactivity.
i tried stuff can't it. can me? :)
this mapsactivity
and mainactivity
what try starting second activity mainactivity because want result (the result waypoints of route).
to android provides standard functionality startactivityforresult() , onactivityresult().
for detailed information have at: http://developer.android.com/training/basics/intents/result.html
Comments
Post a Comment