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