如何数据与ServerDatabase同步? [英] How to synchronize Data with a ServerDatabase?

查看:129
本文介绍了如何数据与ServerDatabase同步?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序应该用ServerDB被syncronized收集一些数据的所有用户的输入。

My application should be syncronized with a ServerDB to collect some Data all users input.

如何做到这一点在android系统?通过XML,并通过自我writen查询评估这些?还是有更好的解决方案?

How to do that in android? Through xml and evaluating these through self writen queries? Or is there a more elegant solution?

推荐答案

这是一个很好的主题为你的How从android手机服务器的数据库进行通信?

This is a good thread for you How to communicate with server's database from android phone?

基本上,你不应该直接作为它不适合需要移动使用JDBC / SQL连接。但你在服务器上建立一个Web服务的数据库,并通过服务沟通,更新数据库,并从中获得刷新的数据。

Basically, you should not use a JDBC / SQL connection directly as it doesn't suit mobile needs. But you build a web service your database on the server and communicate through the service to update your database and get refreshed data from it.

这篇关于如何数据与ServerDatabase同步?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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