Database on Android persists information?

6

Does the database lose its information when you close the application? Should this be an online database?

    
asked by anonymous 14.12.2016 / 04:23

1 answer

6

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

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

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

Doubt is simple but pertinent. Just suggest learning about every software development process before you start doing something. One step at a time.

    
14.12.2016 / 04:30