连接Android应用到远程数据

连接Android应用到远程数据

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

问题描述

Sheesh说说有限的信息!我试图让我的Andr​​oid应用程序连接到一个在线数据库获取信息。有相当多的信息,包括地理标记,并且这些将要被映射在我的应用程序。该开发者的网站具有非常丰富的资料片:

就像我在previous的问题说,我仍是一个坚定的Andr​​oid新手,并试图记住我的Java OOP大学是缓慢的。有没有人对如何这可能工作,或者我怎么能实现它的例子吗?我不会介意,甚至连接到本地XML文件,如果我能找到如何做一个好榜样!?我只是看在错误的地方?!

帮助。请!

T

解决方案

您可以使用的SAXParser从净解析XML。这里有一个教程如何使用相同的。

Sheesh talk about limited information! I'm trying to get my Android application to connect to an online database to access information. There's quite a bit of info including geotags and these are going to be mapped on my app. The developer site has the very informative piece of information:

Like I said in my previous question, I'm still very much an android newbie, and trying to remember my java oop from college is slow. Does anyone have an example of how this might work, or how I could implement it? I wouldn't mind even connecting to a local xml file, if I could find a good example of how to do that!? Am I just looking in all the wrong places?!

Help. Please!

T

解决方案

You can use SAXParser to parse XML from the net. Here's a tutorial on how to use the same.

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

08-14 01:28