1 Replies - 805 Views - Last Post: 04 March 2012 - 06:23 PM

#1 slehmann101  Icon User is offline

  • D.I.C Head

Reputation: 21
  • View blog
  • Posts: 146
  • Joined: 30-November 11

Save int/ string/ boolean

Posted 04 March 2012 - 06:07 PM

I would like to be able to save an int, a string, and a boolean. How would i go about this? i also need toknow how to then read in the data.

This post has been edited by slehmann101: 04 March 2012 - 06:10 PM

Is This A Good Question/Topic? 0
  • +

Replies To: Save int/ string/ boolean

#2 htc(hot-taco-cheese)  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 17
  • View blog
  • Posts: 71
  • Joined: 04-December 10

Re: Save int/ string/ boolean

Posted 04 March 2012 - 06:23 PM

There is a tutorial on here explaining serialization in android. Serialization in Android

Or you can just write them to a text file with PrintWriter.

This post has been edited by htc(hot-taco-cheese): 04 March 2012 - 06:28 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1