获取远程数据库的数据为android系统中的本地数据库 [英] Getting remote database data into local database in android

查看:309
本文介绍了获取远程数据库的数据为android系统中的本地数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望得到第一个远程数据库的数据到本地数据库中,然后我们想访问本地数据库。能否请你建议我们如何为这种方法与样本code。我们的远程数据库是MSSQL服务器。

We want to get the remote database data into local database first and then we want to access the local database. Can you please suggest us how to approach for this with sample code. Our remote database is MSSQL Server.

推荐答案

有应用程序查询远程服务器,通过JSON从MSSQL将数据返回到Android code,插入SQLite的。

Have the app query the remote server, return the data from MSSQL to android code via JSON, insert into SQLite.

修改:类型的MySQL到MSSQL

Edit: type MySQL to MSSQL

这篇关于获取远程数据库的数据为android系统中的本地数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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