1

I have a problem that I want to get first 2^21 bytes of a video file which is resided in our sdcard. But I don't know to do the same? Please suggest me the right solution regarding the same.

Thanks in advance.

CommonsWare
  • 954,112
  • 185
  • 2,315
  • 2,367
Sanat Pandey
  • 3,961
  • 16
  • 69
  • 126
  • If you adapt this code by limiting the number of bytes, it should work: http://stackoverflow.com/questions/5333908/fileinputstream-to-byte-array-in-android-application – lc2817 Nov 03 '11 at 06:13

0 Answers0