• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Day 2: save data

Hi,

Today is my second day playing (learning) android app dev. On day 1, was lucky enough to get a very basic app up and running with ADT and tested it w/ AVD. But too basic, input simple text and displays it.

Was hoping to be able to save input into local file system or some sort of db today. The thought is to use SharedPreferences class for simple key/value pair storage for now. And use putString to save input. But I would need to use getString to get it back and output it to screen (to verify data storage), the thing is, I don't know the syntax to display a simple text string, anyone?

Thanks.
 
Prob resolved, key is OutputStreamWriter and editor to get user input. Next task for me to output the saved data (in a file) back to the user screen (this is not a question, talking to myself :).
 
Back
Top Bottom