I'm not exactly sure... I'm actually only reading the file 24 bytes at a time, so I'm not quite sure why the IOException is thrown. I'm never allocating a buffer for the full file.
If I do two sequential one byte reads it's fine... but a single 2 byte read (using read(byte[])) it throws the exception. The exception is thrown by AssetManager.readAsset. On Aug 13, 2:09 pm, Jason Proctor <jason.android.li...@gmail.com> wrote: > why is there a 1mb file limit in this case? > > and is the restriction 1mb in the amount of stuff read, or in the > size of the file? > > could you maybe open the file, skip a megabyte, then continue to read > the second megabyte? > > >1048576 is the file limit > >If you have bigger file split it > > -- > jason.software.particle --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---