Android OS and postgreSQL

前端 未结 3 1290
眼角桃花
眼角桃花 2021-01-12 06:09

We are undertaking an Android project but need to connect to postgreSQL server which we use throughout our other projects. Any suggestions on a starting point for this? Is t

相关标签:
3条回答
  • 2021-01-12 06:33

    I would write a RestFUL API or WebService to be used as front end for your Android device to connect to your PostgreSQL backend.

    I don't think you will be able to connect directly your Android App to a PostgreSQL database.

    0 讨论(0)
  • 2021-01-12 06:35

    I would approach this by implementing an intermediary web service. The Android application would send requests to the web service, which would serve as a gatekeeper to isolate the PostgreSQL server from the internet at large.

    0 讨论(0)
  • 2021-01-12 06:43

    I'd go with a lightweight REST interface that would talk to PostgreSQL in the backend. Have a look at Simple.

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