Data Storage tutorial, basic samples are included

SDK Version: 

    Data Storage Methods

  • Preferences
  • Preferences is a lightweight mechanism to store and retrieve key-value pairs of primitive data types.
  • Files
  • You can store your data in files on your mobile phone, or in a removable storage medium.
  • Databases
  • Android Api supports SQLite databases. All databases, SQLite and others, are stored on the device in /data/data/package_name/databases.
  • Network
  • You can also use the Internet to store and receive data, whether it's an SQLite database, or just a simple textfile.

PhoneFinder - SMS Phone Locator

SDK Version: 

In this tutorial we will create a GPS Phone Recovery application. The application will allow the user to setup a password that he or she can use to recover a lost or stolen phone. Once the user has setup the password, if they lose their phone they'll be able to send a text message to their phone from another cell phone and if the text message is formatted "SMSLOCATE:[password]" with the correct password then the phone will respond with all of the data about the phone's current location from the GPS. This includes latitude, longitude, altitude, heading, speed, and more.

NewsDroid RSS Reader

SDK Version: 

In Hello Android's first tutorial we will walk through creating a simple RSS reader. This tutorial will show you how to parse XML files and use the SQLiteDatabase for storage.

Syndicate content