Day 2: save data


  1. justme2013

    justme2013 Member

    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.

    Advertisement
  2. Digital Controller

    Digital Controller The Real Bass Creator Guide

    I have moved this thread into the Application Development forum per request.

    Hope this helps :)
    justme2013 likes this.
  3. jonbonazza

    jonbonazza Well-Known Member

    Im confused on what exaxtly youre looking for. You say you are confused on the syntax, but what syntax?
  4. justme2013

    justme2013 Member

    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 :).

Share This Page