0
How users can connect database in Android app?
I have a simple doubt about the Android apps. I am developing an Android app using python kivymd. I am using MySQL database for storing user data. If I convert my app into apk and publish it in Play Store, how can users able to use the database? How to make the database available for all the users 24/7 ?
5 Respuestas
+ 7
Your database should be available online.
One way you have account by internet provider with database.
Another way, at home you can build your own server and connect to the Internet. It is a bit more demanding.
+ 1
Write code first and if problem arises akm it in stackoverflow(it would be best place to ask) plus kivy lacks proper documentation (i mean , official documentation is not beginner friendly compared to tkinter or pyqt). So it is going to take extra effort..
+ 1
Bishnu Chalise It will be a problem. Because SQL is connected with my localhost
+ 1
Its possible to connect to mysql remotely but it should never be done. The only way you should be using shared database is building a rest api.
0
Is your apps designed to work without web connection?
Python has a built-in database module 'sqlite3', it should be enough to handle a local database.
If the apps requires to work with a database on net, you have to do make some research.