My Android application attempts to read the physical sectors of the SD card by accessing the actual device (in my case, /dev/block/vold/179:1). (this is on a rooted phone, of course)
I'm able to open the device as a FileInputStream
, and read data from it. However, I can't seem to read it past the 2GB mark (my memory card is 16GB).
Is this because Android doesn't support files greater than 2GB? If that's the case, why do functions like position()
and skip()
accept long
arguments??
Does anyone have advice on how to read from the device past 2GB?