Code example for XmlPullParser

Methods: getAttributeName

    public String getAttributeNamespace(int index) {
        return mParser.getAttributeNamespace(index);
    public String getAttributeName(int index) {
        return mParser.getAttributeName(index);
    public String getAttributePrefix(int index) {
        throw new RuntimeException("getAttributePrefix not supported");
    public boolean isEmptyElementTag() { 
        // XXX Need to detect this. 
        return false; 
    public int getAttributeCount() { 
        return mParser.getAttributeCount();
Stop searching for code, let great code find you!  Add Codota to your java IDE