Android Question Store text in EditText

Isac

Active Member
Licensed User
How can I store the last text entered in a EditText?
When you restart the application text should remain stored in EditText
someone has already tried?
thank you
 
Last edited:

asales

Well-Known Member
Licensed User
You can use PreferenceActivity library:
- "SetString" to set the text of EditText when application is closed
- "GetString" to put the text in EditText when application is created
 
Top