[android-developers] Updating part of a XML file in android
I have XML files that store data, parts of the file store recorded information. I have no control over the files as they are from other programs. What Im trying to do is update just a single tag text and not have to go through and write an entirely new file. These files can get especially long so rewriting the file causes memory issues in extreme cases.
Currently I am using a pullparser and xmlserializer to read the file and write it again, modifying the parts I want to change as I reach them. This works great for normal sized files, but for the larger ones I have gotten memory issues reported. Any help on a way to do this better to update only 1 tag at a time?
-- You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home