-2

I'm trying to build an Android app where the database is on the server side.I hear that SQLite is a local database so it doesn't really work for what I'm trying to do.

In java I would use JDBC to connect to MySQL and send requests normally. In PHP too it's almost the same thing.

The app needs a login system and all of that... How can I do this in Android ?

1 Answers1

0

Android does not support MySQL out of the box, but you can implement it.

Probably the SQLite you heard about, in the Android environment, refers to Room, the standard to save persistent data locally on the device.

In the mobile world, often a good option (if they fits for you) are NoSQL databases. There are plenty, hosted services like Firebase, DynamoDB or open source like MongoDB, Supabase.

Stefano Sansone
  • 2,377
  • 7
  • 20
  • 39