1. Are you ready for the Galaxy S20? Here is everything we know so far!

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

Discussion in 'Android Development' started by GodLovesYou, Apr 3, 2016.

  1. GodLovesYou

    GodLovesYou Android Enthusiast
    Thread Starter

    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.
     

    Advertisement

  2. Deleted User

    Deleted User Guest

    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?
     
  3. GodLovesYou

    GodLovesYou Android Enthusiast
    Thread Starter

    But I can do that using phpmyadmin?
     
  4. Deleted User

    Deleted User Guest

    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
     
  5. GodLovesYou

    GodLovesYou Android Enthusiast
    Thread Starter

    What do you think it is the better way to connect my database with my users? For example, to login or register
     
  6. GodLovesYou

    GodLovesYou Android Enthusiast
    Thread Starter

    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.
     
    Deleted User likes this.
Loading...
Similar Threads - SOLVED What's best
  1. markdoc
    Replies:
    4
    Views:
    267
  2. scientistcarter
    Replies:
    3
    Views:
    172
  3. Daddyroid
    Replies:
    1
    Views:
    301
  4. KaptainKris
    Replies:
    5
    Views:
    572
  5. MoodyBlues
    Replies:
    3
    Views:
    343
  6. Adnan fiaz
    Replies:
    4
    Views:
    442
  7. MoodyBlues
    Replies:
    5
    Views:
    625
  8. AmandaxD
    Replies:
    3
    Views:
    417
  9. MrMatthew
    Replies:
    5
    Views:
    416
  10. Updog_Design
    Replies:
    5
    Views:
    374

Share This Page

Loading...