Code example for XmlPullParser

Methods: getEventType, nextTag, nextText

0
	} 
	 
	protected String safeNextText(XmlPullParser parser) throws XmlPullParserException, IOException
	{ 
		 
		String result = parser.nextText();
		if (parser.getEventType() != XmlPullParser.END_TAG)
		{ 
			parser.nextTag();
		} 
		return result;
	} 
	 
	 
	protected void exportDatabase() 
	{ 
		if(log)
		{ 
			com.miracleas.minrute.utils.Utils.copyDbToSdCard(mContext, com.miracleas.minrute.provider.MinBusTurProvider.DATABASE_NAME);
		}