Sheesh谈到有限的信息!我试图让我的Android应用程序连接到在线数据库以访问信息。有相当多的信息,包括地理标签,这些将被映射到我的应用程序。开发人员网站提供了丰富的资讯:
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:
您可以使用网路(可用时)储存及撷取资料自己的网络服务。要进行网络操作,请使用以下包中的类:
You can use the network (when it's available) to store and retrieve data on your own web-based services. To do network operations, use classes in the following packages: java.* android.*
正如我在上一个问题中所说,很多安卓的新手,并试图记住我的大学的java oop很慢。有没有人有一个例子,这可能如何工作,或我如何实现它?我不介意连接到本地xml文件,如果我能找到一个很好的例子,如何做到这一点!我只是看看所有错误的地方吗?
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?!
帮助。请!
T
推荐答案您可以使用SAXParser解析XML从网。这里有一个教程,介绍如何使用。
You can use SAXParser to parse XML from the net. Here's a tutorial on how to use the same.
更多推荐
将Android应用程序连接到远程数据
发布评论