@Override public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { this.tagName = localName; if (this.tagName.equalsIgnoreCase("Application")) { mVersionInfo.mVersionCode = Integer.parseInt(attributes.getValue("versionCode")); mVersionInfo.mVersionName = attributes.getValue("versionName"); mVersionInfo.mDownloadUrl = attributes.getValue("downloadUrl"); } }