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
  • 986,068
  • 189
  • 2,389
  • 2,491
Sanat Pandey
  • 4,081
  • 17
  • 75
  • 132
  • 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