Hi,

I'm having a strange issue in android 4.0 wiht Sam G2. I'm trying to read
some binary files, which are ~2mb, from the Asset folder. Some of these
files are read without any problems, some others make the app crash with
the error: "Error reading asset data. Unable to access asset data: -1".

I knew there were a limitation in Android 2.2 (and below) where compressed
assets should not be > 1mb. But I'm facing the issue on Android 4.0.

This is really strange to me. It seems that the low level api fails to read
certain binary files.

I tried also to read the file in chunks of 1024 byte. It fails when I try
to read the last chunk.

any idea or suggestion?
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to