Send data from android to server via JSON

前端 未结 4 1178
陌清茗
陌清茗 2020-11-30 08:35
  1. I have MySQL database server
  2. I need to update and retrieve data to/from MySQL server via JSON

So, I want to know how to do that, and I pretty

4条回答
  •  北海茫月
    2020-11-30 09:02

    You do need to update and retrieve through JSON ? If this is the case, you'll probably have to code some Web Service and such, (it won't necessarily be in PHP, could be Java, C#, whatever)

    Look at this thread, it seem there is no way you can access MySql server directly from android, so indeed, you may need some Web development implement the JSON/XML middle layer to connect with android.

    Thread @ StackOverFlow Android + MySQL using com.mysql.jdbc.Driver

提交回复
热议问题