title: How to get image directly?
body: <p>Follwing webpage includes light adult contents. Please do not click link if you don't want it.</p>
  
  <ol>
  <li>go to : <a href="http://www.hqasians.com/tgp/bigasiantits/MaiNishida/at.htm" rel="nofollow">http://www.hqasians.com/tgp/bigasiantits/MaiNishida/at.htm</a></li>
  <li>you can see several thumb images. </li>
  <li>click one of them. you can see large image. </li>
  <li>Check current page url. It will be like ~~~~~~~~~~~~~~~~/tgp/bigasiantits/MaiNishida/images/01.jpg</li>
  <li>you can know how to access another image by changing last .jpg name of whole url</li>
  <li>change 01.jpg to 02.jpg and enter.</li>
  <li>But, you will encounter website's main page not 02.jpg.</li>
  </ol>
  
  <p>Is this security way to block direct access by that site ?</p>
  
  <p>Is there any work-around way to get image directly?</p>
  
  <hr>
  
  <h2>Following is my codes.</h2>
  
  <p>InputStream bmis;</p>
  
  <p>bmis = new URL(params[0]).openStream();</p>
  
  <p>final Drawable image = </p>
  
  <pre><code>new BitmapDrawable(BitmapFactory.decodeStream(new FlushedInputStream(bmis)));
  </code></pre>
  
  <p>if(image != null) </p>
  
  <p>{</p>
  
  <pre><code>activity.setContentView(imageSwitcher);    
  
  imageSwitcher.setImageDrawable(image);
  </code></pre>
  
  <p>}</p>