Android连接到SQL Server [英] Android Connect to SQL server

查看:65
本文介绍了Android连接到SQL Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

使用Android并计划连接到SQL Server时出现一些问题.
建议大多数论坛使用Web服务,但是是否可以将其作为从Android到SQL Server的直接连接?
我已将SQLJDBC.dar添加到我的Eclipse靛蓝中,但似乎没有执行连接.


希望所有专家都能给我这个主意.
感谢

Hello all,

i have some issue when using the android and plan to connec to SQL server.
most of the forums are suggest to use the web service, but is it possible to make it as a direct connection from Android to SQL server?
i have add in the SQLJDBC.dar into my eclipse indigo, but seems no perform the connection.


hopefully all the expert can give me the idea.
thanks

推荐答案

这将涉及编写用于android的sql连接协议,并且考虑到Google和Microsoft之间的紧张关系,这种情况很难发生.

因此,最好的选择是为应用程序使用诸如Web服务之类的中介或您自己的基于TCP的逻辑层,它们将代表设备连接到SQL Server.
This would involve writing the sql connection protocol for android, and given the tensions between Google and Microsoft that is very hard to see happening.

So your best bet is using a intermediary like web services or your own TCP based logic layer for your application which would connect to SQL server on the devices behalf.


这篇关于Android连接到SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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