连接机器人与MS SQL SERVER 2008 [英] Connecting android with MS SQL SERVER 2008

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

问题描述

有没有办法,我们可以将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?

推荐答案

这个已经被问这里也是<一个href="http://stackoverflow.com/questions/5253127/how-to-connect-to-a-mysql-database-hosted-in-a-tomcat-server-from-an-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.

主要的原因:

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

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

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