如何将android应用程序与SQL Server数据库连接 [英] How connect android application with SQL server database

查看:107
本文介绍了如何将android应用程序与SQL Server数据库连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在android studio中开发一个项目,我想用SQL服务器连接该应用程序怎么可能请告诉我最好的方式谢谢....

I am developing a project in android studio and I want to connact that application with SQL server how is it possible please tell me the best way thanks....

推荐答案

是的,这是可能的。

您可以使用 REST API方法。使用 WCF REST服务,您可以访问从SQL Server到Android的数据。



请查看我以前的答案:

从Android拒绝本地主机URL连接 [ ^ ]

我有Wcf(Odata)服务如何在Android中获得响应 [ ^ ]

如何从android应用程序传递参数到wcf服务并连接sql server数据库? [ ^ ]



教程:

http://www.parallelcodes.com/connect-android-to-ms-sql-database-2/ [ ^ ]

https://wyousuf.wordpress.com/2012/03/01/android-with-wcf-services/ [ ^ ]





-KR
Yes it is possible.
You can use the REST API approach for this. Using WCF REST Service you can access the data from SQL Server to Android.

Please, look at my previous answers:
Local Host URL connection refused from android[^]
I Have Wcf(Odata) Services How Can I Get Response In Android[^]
How to pass parameters to wcf service from android application and connect with sql server database?[^]

Tutorials:
http://www.parallelcodes.com/connect-android-to-ms-sql-database-2/[^]
https://wyousuf.wordpress.com/2012/03/01/android-with-wcf-services/[^]


-KR


这篇关于如何将android应用程序与SQL Server数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆