Posts tagged XML

Menus

0
Action bar

Action bar

There are two types of Android menus

  • Options menu
    the menu that appears when you press the menu button
    this type of menus is binded to the activity (Every activity can have one options menu)
  • Context menu
    the menu when you do a long press on a view (like Text view or list item)
    this type of menus is binded to the view (Every view can have one context menu)

(more…)

build DOM XML from PHP

1
xml

xml file

if you want to make the php page returns a response in XML foramt
commonly used with ajax

        sample text

(more…)

xml

Parsing XML in J2ME using KXML

1
xml

xml file

to read an XML file
we first nead to import KXML and th i/0 libraries

import org.kxml.kdom.*;
import org.kxml.parser.XmlParser;
import java.io.*;
import javax.microedition.io.*;

(more…)

Go to Top