Connecting to external database - Android application

后端 未结 5 727
醉话见心
醉话见心 2020-12-07 18:12

I am writing an application for my third year project. The application will require interaction with an external mySQL database. The application will retrieve data from the

5条回答
  •  一向
    一向 (楼主)
    2020-12-07 18:32

    You need to have a web hosting to store a script online. You can write this script in e.g. php to insert user data in the database. In your app use Volley to take care of the script. Once you get the user data, call the script and listen to the result:

    • This is the first time the user logged in
    • The user has already registered
    • An error has occurred

    Example

提交回复
热议问题