How to manage data while no network connection in android

Updated 12 May 2017

Save

Welcome to the Mobikul blog how to manage the data in Offline mode(means no network connection).

There are some methods to store the data in offline. Like sharedPrefrences and Database.

But in this blog, we have going to show how to use a database using SQLite.

There is also a blog on the SQLite database previous blog.

Ok, if you read the previous blog then you have been got the knowledge about the SQLite basics like how to create the data and insert data into it.

How to update the data in particular row

First of all, create the ContentValues object:

Then simply use the update method:

That column will be updated.

How to delete the particular row

It is very simple,

Thanks for reading this blog.

Be updated, Stay Super.

 

 

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home