Use of Sqlite Android

Asked

Viewed 101 times

2

I developed two apps to learn Android and used Mysql database. So far I found no need to use Sqlite and to be honest I did not understand even why of its existence.

What is the usefulness of Sqlite in a project?

  • 2

    Sqlite is local saving, Mysql is remote. If you are using Mysql for local saving, you are doing it wrong. It is a bad approach.

  • I think I expressed myself wrong, I don’t use Mysql for local saving.

1 answer

1


It is usually used to store application data on the device itself, like every database.

If you are not doing this you should remove any reference to it in the client application that will run on the device.

Give a read on questions about Sqlite here. Several of them are about use on Android.

I just hope you’re using Mysql on the server and not in the app.

  • 1

    Do not use Mysql on the device. Sqlite is the most used database in the world, it must have billions of databases running on it. I use even on the server, but do not recommend for beginners. In client, desktop or mobile most applications uses. Take a search on tag https://answall.com/questions/tagged/sqlite?sort=votes&pageSize=50. Now you can vote for everything on the site as well.

  • Sqlite has native Android support for storing data on the device itself.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.