• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps [SOLVED]What's the best way to storage data?

GodLovesYou

Android Enthusiast
Hey hey guys!

If I wanna make and app and add a good amount of data and update that what is the best way or the best option to storage my data?

I should use SQLite and make my database inside of Android Studio(for example) or use phpmyadmin?~
The problem is, if I use phpmyadmin the users aren't connected with my database server and if they wanna login and register they can't do that.

What can I do and what is the better way?

Thanks and have a awesome day.
 
If you need the database to be accessed/updated by all the users of your app, then it has to be centrally stored on a remote server. So your app must be able to connect to the server.
Is there a problem doing this?
 
If you need the database to be accessed/updated by all the users of your app, then it has to be centrally stored on a remote server. So your app must be able to connect to the server.
Is there a problem doing this?
But I can do that using phpmyadmin?
 
Phpmyadmin is a server side tool to administer a mysql database. It has nothing to do with your Android app.

In order to connect with the server's mysql database, you can either

1. Establish a database connection directly from your app or
2. Use a web service implemented in php to query your database and return the results to your app
 
Phpmyadmin is a server side tool to administer a mysql database. It has nothing to do with your Android app.

In order to connect with the server's mysql database, you can either

1. Establish a database connection directly from your app or
2. Use a web service implemented in php to query your database and return the results to your app

What do you think it is the better way to connect my database with my users? For example, to login or register
 
For the people that are interested in this topic, I found a good solution to this problem. You can use REST API which allows you to manage all the users data.
 
Back
Top Bottom