App when closed and reopened , open in I last state

Asked

Viewed 30 times

0

I’m making an application that has several interactions with google maps , one of them is generate route from one address to the other using the Polyline , if the application is closed and reopened , this route disappears from the map , I need to make that if the client closes the application , when it opens appears the same route defined , how can I do this?

  • 1

    How you represent the route, ie what structure you use?

  • Get addresses by Placeautocompletefragment

  • 1

    You can serialize the object or capture the values and save with SharedPreferences.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.