Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; import android.util.Log; public class MyHandler extends DefaultHandler{ private int count = 0; private int timerCount = 0; private boolean inRootElement = false; private boolean inObject = false; private boolean inId= false; private boolean inName = false; StringBuffer buffer = null; boolean buffering = false; private MyObject object; private MyDbAdapter adapter; public MyHandler(MyDbAdapter adapter){ this.adapter = adapter; } @Override public void startDocument() throws SAXException{ this.object = new MyObject(); } @Override public void endDocument() throws SAXException{ } @Override public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { if(localName.equalsIgnoreCase("root_element")){ this.inRootElement = true; }else if (localName.equalsIgnoreCase("object")){ this.inObject = true; }else if (localName.equalsIgnoreCase("id")){ buffer = new StringBuffer(""); this.inId = true; }else if (localName.equalsIgnoreCase("name")){ buffer = new StringBuffer(""); this.inName = true; } } @Override public void endElement(String uri, String localName, String qName) throws SAXException{ if (localName.equalsIgnoreCase("root_element")){ this.inRootElement = false; }else if (localName.equalsIgnoreCase("object")){ adapter.addMyObject(object); this.inObject = false; }else if (localName.equalsIgnoreCase("id")){ this.inId = false; }else if (localName.equalsIgnoreCase("name")){ this.inName = false; } } @Override public void characters(char ch[], int start, int length){ if(this.inRootElement){ } if(this.inObject){ } if(this.inId){ String idFromXml = buffer.append(ch, start, length).toString(); int i = -1; if(idFromXml.trim().length()>0) i = Integer.parseInt(idFromXml.trim()); object.setId(i); } if(this.inName){ String nameFromXml = buffer.append(ch, start, length).toString(); object.setName(nameFromXml); } } }