Android XML Parsing Tutorial – Using DOMParser

In this tutorial we are going to see about how to parse a XML file using DOM Parser.

Android Webview example-part 1

Androidpeople.com-This tutorial makes developer various ways of using android webview inside application rather than loading them separately in browser.

Android Sliding Drawer Tutorial

This is an simple example to use a Sliding drawer in application. The tutorial states the methods to change the handler button, animation style and specifying container height to the sliding drawer

Android URL shortener using tinyurl example

This snippet is example to generate tinyurl from original url.Uses tinyurl.com to generate url.Will be much useful in facebook and twitter android application.

Android TabHost Tutorial - Part 1

In this tutorial, we are going to see about simple tabhost example that contains two tabs & TabSpec uses for tabs.

Android Notification example

Mobile applications are much in need of notifications to draw the attention of the user on occurrence of an event. The notifications are needed to be invoked by our application to make the user to interact to application and proceed ahead for computation. So here is a simple example for a message notification with a sound as when you click a button.


Android XML Parsing Tutorial - Using SAXParser

Android XML Parsing Tutorial - Using DOMParser
Here we are going to see about how to parse a XML using SAX Parser.
we are going to parse XML from net not from local file.
Files Used:-
XMLParsingExample.java ( Main Activity )
SitesList.java ( Getter & Setter Method )
MyXMLHandler.java ( XML Handling )
example.xml ( XML file from net )
The output will looks similar to


Android Custom Listview Tutorial- part 1

The simple android custom listview can assist only a single string, where its not possible to use them on all application. This leads to create custom list view example tutorial .
Step 1:
Add a normal listview in the main.xml layout and make sure u set the layout width as fill parent.

[sourcecode language="xml"]
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"

<TextView android:id="@+id/TextView01" android:layout_height="wrap_content" android:text="List of Country &amp; their denotation" android:textStyle="normal|bold" android:gravity="center_vertical|center_horizontal" android:layout_width="fill_parent"></TextView>
<ListView android:id="@+id/ListView01" android:layout_height="wrap_content"


Android Textview Tutorial

In this tutorial, we are going to learn about TextView.

In Android if we start any application, we may need to use TextView.

Textview is a View which we can add to any Layout.

How to add TextView in a Layout?

To add a textview to a layout, select the layout you need to add (here I have selected LinearLayout01) & then click the Add Button (shown in green color with plus symbol intimating "Adds a new element")

Syndicate content