Android App Development and Web Server Interactions

后端 未结 4 1621
轻奢々
轻奢々 2021-01-01 07:45

I am just learning about Android Development so excuse me if this is a bit off in nature. I am wanting to make an app that interacts with a Database from my website, in a se

4条回答
  •  孤城傲影
    2021-01-01 08:06

    We've found that providing a proper RESTful web API that hits the database on the backend in whatever language you choose (be it PHP, RoR, whatever) provides a useful interface for any number of uses (your own website, mobile apps, etc).

    Then it's a matter of your Android app interacting with the RESTful API, which is simply HTTP requests. Those can be encapsulated in helper classes to make them straightforward as well.

提交回复
热议问题