K
K
Kracker652021-12-17 00:18:40
Java
Kracker65, 2021-12-17 00:18:40

Which database to choose for an Android application?

I am creating an android application on android studio using the Java language, the essence of the application is to search for gas stations throughout the country with fuel prices and the ability to edit prices by the user, what database can be used to store information about the user, and gas stations with their information?
Is it possible to use firebase realtime database for this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Gornostaev, 2021-12-17
@Kracker65

If per device, then there are no alternatives to SQLite. If on the backend, then any.

A
alekseyHunter, 2021-12-17
@alekseyHunter

If you want to store data in an application, use the Room library. It is a wrapper for a SQLite database, but it has limited functionality.
If you store data on a remote server, then MariaDB or MySQL will most likely be installed there.

A
AlexVWill, 2021-12-17
@AlexVWill

A little off: what's the point for a user from Moscow to know the price at some kind of gas station in Krasnoyarsk? Maybe you should not store this data on the device itself, but just get by with Webview on the client + MySQL on the server? Strongly (many times) simplify the task of writing (useless - crossed out) application.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question