将Android应用程序连接到远程数据

编程入门 行业动态 更新时间:2024-10-25 13:16:41
本文介绍了将Android应用程序连接到远程数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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应用程序连接到远程数据

本文发布于:2023-10-23 13:42:28,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1520982.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:连接到   应用程序   数据   Android

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!