My program needs random access to a binary file, and since DataInputStream (or InputStream) don't support seeking backwards, I'm thinking about opening multiple InputStreams, every time I need to go backwards, and then "skip()" from there.
Does that work?
Are newly opened InputStreams positioned at the beginning of the file?
openOutputStream has an overloaded version that takes an offset, but apparently openInputStream doesn't for some reason.
Also, is skip(long) efficiently implemented in devices? Or is it read and chuck... (the emulator seems to have "real" seek)