Hi,
I've been trying for days to come up with a workaround to get
RandomAccessFile to write to an
existing file with no success. I've tried using the methods in
RandomAccessFile and FileChannel.
Of course I have opened in "rw" mode. I've made sure I sync / force /
close--I've even experimented with
seek to see if that would work. But nothing works. I get no
exceptions. Is this a bug, feature, or am I
missing something? Or is there some workaround?
If you have been able to successfully write to an existing file with
RandomAccessFile, I'd sure like to know
how you did it. By the way, I'm writing to a file on the device--not
on the sdcard.
Thanks,
Anton
P.S. I've already written with an output stream with no problems at
all--What I need is for
RandomAccessFile to write to an existing file.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---