2

My android app is simple : a single activity contains a webview which shows user my website,in it I have a link which when user clicks on it ,the default sms program will be called.

That all works well,but when I return from the sms ,It restarts the program(call the onCreate() method ) instead of returning to the origin state , how can I get back to the state before I turn to the sms program ?

Thanks :)

Felix Kling
  • 795,719
  • 175
  • 1,089
  • 1,143
DiveInto
  • 2,158
  • 3
  • 27
  • 50
  • possible duplicate of [Saving Activity state in Android](http://stackoverflow.com/questions/151777/saving-activity-state-in-android) – sloth Sep 27 '12 at 13:14

1 Answers1

1

This question is very similar.

Community
  • 1
  • 1
kgiannakakis
  • 103,016
  • 27
  • 158
  • 194