> But the thing i think , i am not using properly is onSaveInstanceData
> (),onRestoreInstanceData().Because those methods are standard
> ones.Moreover there should be some reason why they are there.

They are there for cases where Android, and not the user, decides to close
the activity. The most common case for this is when the screen orientation
changes (e.g., user slides out the keyboard on a G1).

>  Is there any standard way to retain EditText data when "BACK" button
> is pressed.

No.

> Why onSaveInstanceData() call back is not called when
> "BACK" pressed.

Because that is not the purpose of that method.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to