---
title: Getting started with KXML2 and J2ME
type: article
date: 2010-04-15
source: website
original_url: "https://navveenbalani.dev/index.php/articles/getting-started-with-xml-mobile-and-j2me/"
topics: ["mobile"]
legacy_categories: ["mobile-computing"]
tags: ["j2me-xml", "kxml2"]
summary: This tutorial will detail the use of kXML 2, a small XML pull parser specially designed for constrained environments, to access, parse, and display XML files for Java 2 Micro Edition-enabled devices. This tutorial will demonstrate how to build a mobile application that brings…
draft: false
---

This tutorial will detail the use of kXML 2, a small XML pull parser specially designed for constrained environments, to access, parse, and display XML files for Java 2 Micro Edition-enabled devices. This tutorial will demonstrate how to build a mobile application that brings XML data to wireless J2ME devices, and will instruct the reader in how to craft a MIDlet that performs the necessary logic and deploys it to a J2ME environment.
KXML2 due to its low memory footprint , is ideal for dealing with xml contents on various mobiles which support Java.
Download the tutorial and sample code for the tutorial to get started with KXML2.
[Download the Tutorial](/images/2010/06/wi-kxml-pdf.pdf)
[Download the Sample code for the Tutorial](/images/2010/06/wi-xmlj2me.zip)
This tutorial of mine was first published by IBM developerWorks. All rights reserved by IBM and Author.