Using Internet data in Android applications
Jul 16, 2010, 19:06 (0 Talkback[s])
(Other stories by Michael Galpin)
"Android applications often must access data that resides on the
Internet, and Internet data can be structured in several different
formats. In this article, you'll see how to work with three data
formats within Android applications:
"First you'll develop a Web service that converts CSV data into
XML, JSON, and protocol-buffers formats. Then you'll build a sample
Android application that can pull the data from the Web service in
any of these formats and parse it for display to the user.
"To perform the exercise in this article, you need the latest
Android SDK (see Resources) and the Android 2.2 platform. The SDK
requires that you also have a Java™ Development Kit (JDK)
installed; I used JDK 1.6.0_17 for this article. You don't need a
physical Android device; all of the code will run on the SDK's
Android emulator. This article doesn't try to teach you Android
development per se, so familiarity with Android programming is
recommended. However, you can probably follow along just with
knowledge of the Java programming language."
Complete
Story
Related Stories:
-
Learn Linux, 101: Create partitions and filesystems(Jul 13, 2010)
- Continuous integration with Buildbot(Jul 10, 2010)
- Capturing screen shots and program interaction on UNIX and Linux systems(Jun 24, 2010)
- Learn Linux, 101: Find and place system files(Jun 23, 2010)
- 7 Free, Open Source Tomes For Your Edification(Jun 16, 2010)
- Deep-protocol analysis of UNIX networks(Jun 09, 2010)
- Enable multipath SAN-boot Linux system on IBM DS8000 Storage(Jun 04, 2010)
- Learn Linux, 101: Create and change hard and symbolic links(Jun 03, 2010)