title: Android: read a GZIP file in the ASSETS folder
body: <p>How can you read GZIP file in Android located in the "ASSETS" (or resources/raw) folder?</p>
  
  <p>I have tried the following code, but my stream size is always 1.</p>
  
  <pre><code>GZIPInputStream fIn = new GZIPInputStream(mContext.getResources().openRawResource(R.raw.myfilegz)); 
  int size = fIn.available();
  </code></pre>
  
  <p>for some reason the size is always 1. But if Idon't GZIP the file, it works fine.</p>
  
  <p><strong>NOTE:</strong>
  Using Android 1.5 </p>