摘要
探讨如何利用Java语言在Android2.3系统上开发一套能将服务器端的XML与JPG文件下载至本地供读者随时查看的软件。系统首先通过Http协议将XML文件以Inputstream方式下载到本地,然后通过SAX进行解析,并存入SQLite3数据库中,当用户需要阅读时以ListActivity方式列表显示出来。
This paper discusses how to use Java language to develop a system on Android2.3.It can download server-side XML and JPG files to the local for readers to keep track of the software.First,through Http protocol,the system downloads XML file using the way of Inputstream to the local.And then it parses with SAX,stores data into SQLite3 database.When the user needs to read the list,it will display with the way of ListActivity.
出处
《计算机与现代化》
2012年第4期90-93,共4页
Computer and Modernization