开发者

Access SQL database from Android?

I understand that to access a SQL database from Android I need to create a web service that will run on the SQL server and will process requests from the Android application, what I need to 开发者_StackOverflowknow is how to create this web service and how to access it from Android. If anyone can point me in the right direction then this would be greatly appriciated.


On the client side, use Apache Commons HttpClient to communicate with the web service. It's bundled with the SDK.

Don't forget that you can also use a local DB.

How you create the web service server-side depends on your environment and has nothing to do with Android itself.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜