Database on Android persists the information?

Asked

Viewed 72 times

6

Does the database lose its information when closing the application? In this case it should be an online database?

1 answer

6


A database exists precisely to persist data. When you put it on it, it stays there until the application erases, or the user interferes in some way out of its control.

Obviously everything that is placed in a database on the device can only be accessed there. The most used in the presented scenario is the Sqlite.

If for any reason you have to centralize the data somewhere or have it on the server in order to do what you want, then the data needs to be sent over the internet and probably stored in a database on the server.

The doubt is simple but pertinent. I just suggest learning about the whole software development process before you start doing something. One step at a time.

Browser other questions tagged

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