Can not unzip/decompress the file from assets in nexus
<p>Can not unzip/decompress the file from assets in nexus. But if the device is not a problem other than nexus. Just in nexus cannot unzip, approximately where the fault. below is the code:</p>

<pre><code>try {
    final int BUFFER = 8192;

    ZipInputStream inputStream = new ZipInputStream(context
            .getAssets().open("data.zip"));

    ZipEntry entry = inputStream.getNextEntry();     

    while (entry != null) {
        String innerFileName = "/data/data/com.myapp/tesdata/html" + File.separator
                + entry.getName();
        File innerFile = new File(innerFileName);

        if (entry.isDirectory()) {
            innerFile.mkdirs();
        } else {
            FileOutputStream outputStream = new FileOutputStream(
                    innerFileName);

            BufferedOutputStream bufferedOutputStream = new BufferedOutputStream(
                    outputStream, BUFFER);

            int count = 0;
            byte[] data = new byte[BUFFER];
            while ((count = inputStream.read(data, 0, BUFFER)) != -1) {
                bufferedOutputStream.write(data, 0, count);
            }

            bufferedOutputStream.flush();
            bufferedOutputStream.close();
        }
        inputStream.closeEntry();
        entry = inputStream.getNextEntry();
    }
    inputStream.close();

} catch (Exception e) {
     Log.d("MyLog", "Message: "+e.getMessage());
}
</code></pre>

<p>In Logcat MyLog:</p>

<pre><code>Entry: 
Message: null
</code></pre>
