I'd go for creating a multi-part copy of the originals, and then parsing
the parts.


On 2 June 2012 21:10, Alex Deering <[email protected]> wrote:

> 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 [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




-- 
Magnetic Door Alarm
app<https://play.google.com/store/apps/details?id=com.nds.magneticdooralarm>is
now available in Google Play

-- 
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

Reply via email to