Hi, I'm developping an application where I had to synchronize my phone with the entreprise server. The response of the server is a xml file with each record between <REC></REC> and I had to receive 19000 record. What's the best way to parse it and add it to my content provider?
At the moment, I do my connection with the server: [...] HttpResponse httpResponse; httpResponse = client.execute(request); HttpEntity entity = httpResponse.getEntity(); InputStream instream = entity.getContent(); And then, I parse the input stream: XMLSyncParser xmlSyncParser = new XMLSyncParser(instream, sharedPrefs, mContext); xmlSyncParser.parse(event); // a xml pull parser implementation The parser, parse it and when he is at the end of the REC element, he add it to the content provider. Is there a better way to do it and a way who's taking less time? Thank you, Sebastien -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

