How to Store and retrieve data from database when the device is in offline
<p>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.</p>

<p>Thanks in advance.</p>
