Android的远程数据库 [英] Android Remote Database

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

问题描述

我在开发Android应用程序,将需要连接到一个中央数据库的过程。用户应能够通过应用来访问的记录和将记录添加到数据库中。数据本身将与每个记录被由多个文本域的相当简单的

I'm in the process of developing an Android application that will need to connect to a central database. Users should be able to access records and add records to the database through the application. The data itself will be fairly simple with each record being made up of a number of text fields.

该数据库将用于应用特别开发和仅需要通过应用来访问。初始读数似乎表明Web服务应写入解析数据转换成XML格式,对于由该应用使用。

The database will be developed specifically for the application and only needs to be accessed through the application. Initial reading seems to indicate that a web service should be written to parse data into xml format, for use by the app.

正在从头开发,专门用于这个目的,我想确保我在正确的方向前进。我有一个数据库很少的经验,真的就像在哪里开始读指针。数据库应承担的格式任何建议,将极大地收到了。

Seen as the database is being developed from scratch, specifically for this purpose, I would like to make sure I am heading in the right direction. I have very little experience with databases and would really just like a pointer on where to start reading. Any suggestions on the format the database should take would be greatly recieved too.

感谢您

推荐答案

您似乎有这个想法了,如果是我,我会建议使用,而不是XML的web服务JSON,他们非常相似的方式工作,但JSON是小了很多,并会应用明显(如它将使该用户的性差异)更快。如果要发送大量数据,这是特别真实的。

You seem to have the idea down, if it were me, I would recomend using JSON instead of XML for the Webservice, they work in very similar ways, but JSON is a lot smaller and will make the application noticeably (as in it will make a diference for the user) faster. This is specially true if you are sending large amounts of data.

看看这个:
GSON

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

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