连接机器人与MS SQL SERVER 2008人与、机器、MS、SERVER

2023-09-11 12:49:55 作者:浅殇淡淡月影寒

有没有办法,我们可以将Android应用程序连接到中央数据库服务器的方式(如2008年MSSQLSERVER)?

Is there a way that we can connect an Android application to a central database server (e.g. MSSQLServer 2008)?

我有一个由两个网站和Android访问MySQL数据库。连接到数据库的网站是好的,但怎么能在Android应用程序做了什么?

I have a MySQL database that is accessed by both website and Android. Connecting to the database from the website is fine, but how can it be done from the Android app?

推荐答案

这个已经被问这里也是here.您可能希望在发布前尝试快速搜索......唯一不同的是数据库管理系统,但这个想法是pretty的大致相同:创建一个行为像您的Andr​​oid客户端和数据库之间的桥梁的Web服务层。

This has already been asked here and also here. You might want to try a quick search before posting...the only difference is the DBMS but the idea is pretty much the same: create a web service layer that behaves like a bridge between your android client and your database.

主要的原因:

性能 安全 最佳实践 的关注点分离