Android access to remote SQL database

后端 未结 3 1128
日久生厌
日久生厌 2020-11-29 07:39

Can I access a remote SQL database (on a webserver) directly from an android program? i.e. simply open up the connection with all the required parameters and then perform a

3条回答
  •  北荒
    北荒 (楼主)
    2020-11-29 08:22

    I think you have to use webservice to communicate with a SQL database. you can define general methods like runSomeScalarQuery or runOneTabularQuery and ... in that webservice and send database responses via self defined protocol like a self defined object.

提交回复
热议问题