tags:

views:

14

answers:

1

Friends, I need to store and retrieve data from database when the device is in offline.When i run my application when the device have internet it fetches data and shows it user,but i also need the same output when the device is in offline by saving previously obtained data in database,anyone help me to implement it in my application.

Thanks in advance.

A: 

The best way to learn database is to use the Notepad example in the SDK:

http://developer.android.com/guide/tutorials/notepad/index.html

Profete162