Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


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: