开发者

how does an android app read data from the database/server?

I am trying to make a simple android app. All I want the app to do is connect to my server/database开发者_如何学C and run a query. whatever the returned string from the DB is should be displayed on the screen.

I have not found any examples of an app that show this. the dev guide doesn't have anything like that.

How does this work?

  • Does the android app connect to the actual database and run queries?
  • Does the android app require a restful API on the server?


Just use web service then only you can access the data from server database. I think this process is done by JASON technique. Just you refer how to pass your string to URL from your Android application. That's enough.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜