Or actually, I see you're asking a different question, although it doesn't make sense this time. XmlPullParser, as the name suggests, pulls and parses, so it's got nothing to do with writing. You can't write to the resource because that would be modifying the apk and thus breaking the signature.
On Jun 26, 1:55 pm, Neil <[email protected]> wrote: > I already answered your question the first time you asked it. > > On Jun 26, 9:41 am, brilliant winger <[email protected]> wrote: > > > HI > > > I can't find it(method) in class xmlpullparser. > > I would like to write attributes in "res/xml/*.xml". > > maybe, I use the other parser. follow that is samplecode. > > > ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// > > InputStream stream = cn.getInputStream(); > > DocumentBuilder docBuild = DocumentBuilderFactory.newInstance > > ().newDocumentBuilder(); > > Document manifestDoc = docBuild.parse(stream); > > > ... > > ... > > ... > > //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > > > How can I use "res/xml/*.xml", instead of stream ? > > (the stream is urlconnection, ) > > is possible? > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

