How to communicate with server's database from android phone?

后端 未结 1 437
南方客
南方客 2021-01-07 06:55

I\'m currently making an app where it would communicate with a simple database that will be hosted on a server. The database will only have three columns, a _id, title, and

相关标签:
1条回答
  • 2021-01-07 07:30

    You will need to expose the database through a Web interface. A good way will be to use a RESTful web service. You could represent each row as an object and use an HTTP GET request to retrieve it, an HTTP POST to update it and an HTTP PUT or HTTP POST to insert new entries. Of course you need to use a web technology and an application server of some kind.

    0 讨论(0)
提交回复
热议问题