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
  • 756,363
  • 169
  • 1,062
  • 1,111
DiveInto
  • 2,028
  • 3
  • 27
  • 48
  • 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
  • 100,996
  • 27
  • 157
  • 193