How to manage data while no network connection in android

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.

 

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close