So this is a weird problem...
We have a cross platform mobile app that uses a native C library to read some data (among other things). On Android the data is in an obb file that we get using the Expansion APK mechanism. This has been working very well for us. However, we've found that on the 2nd generation (2013) Nexus 7 table and on Nexus 5 phones, we are reading some data from the obb that is corrupted. The actual obb file is not corrupted, but what we read from it is. A good example I have is with WebView reading an HTML file from the mounted obb. The first part of the HTML will be fine and then there is gibberish in the second part. Interestingly, the gibberish is recognizable as binary data from elsewhere in the obb. It is almost like the Android code that reads the obb is getting the block mapping wrong. I've narrowed it down to being triggered by some unrelated C code that reads objects out of the obb. If I comment this out, the HTML will be fine when I later access it. Now it is possible there are bugs in the C code, but this library has been used on two other platforms without issues. It also works just fine on a first generation Nexus 7 and on other non-Nexus devices. We've never see corruption there. So does anyone have any thoughts about what this could be? It seems to happen with both Android 4.3.x and Android 4.4.x on these newer Nexus devices. Is the Android 4.4.x that is installed on the 2nd generation Nexus 7 different from 4.4.x installed on the first generation of the tablet? Otherwise, what could be different hardware-wise that could cause this corruption? Thanks for any thoughts you might have. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

