Results 1 to 2 of 2
  1. #1
    tcms is offline Member
    Join Date
    May 2013
    Posts
    43
    Rep Power
    0

    Default Sava/load data from App

    Hi guys,

    I'm starting on Android with a mini game only to learn how it works beside JAVA. I'm trying to make a simple game that objective is get the best pontuation (like every game ahah) but I have a question:

    What is the method that android/java programmers use to save/load data off the app? I'am asking that because I really don't know how to make a ranking system that is preserved after I restart the app.

    I'am really confused about this, because I don't see any app with SQl DB associated.
    Last edited by tcms; 02-11-2014 at 01:07 AM.

  2. #2
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Location
    Tucson, AZ
    Posts
    1,060
    Rep Power
    6

    Default Re: Sava/load data from App

    If the data is simple, you could use SharedPreferences | Android Developers. If the point is to learn about using SQLite, there's an old book called Unlocking Android that gives a pretty good overview.
    Get in the habit of using standard Java naming conventions!

Similar Threads

  1. Use EMF to load data from XML
    By el shorty in forum Eclipse
    Replies: 2
    Last Post: 03-01-2012, 03:00 PM
  2. jTree load data from DB *PLS HELP*
    By michalss in forum AWT / Swing
    Replies: 1
    Last Post: 04-14-2011, 04:28 PM
  3. Load data from file to ArrayList
    By humbug in forum New To Java
    Replies: 3
    Last Post: 01-05-2011, 11:53 AM
  4. Sava data to a text file from an application?
    By happytrails in forum New To Java
    Replies: 5
    Last Post: 04-10-2009, 07:30 PM
  5. Load file to data structure
    By TinoJF in forum New To Java
    Replies: 4
    Last Post: 03-31-2009, 03:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •