android : fetching images from built in gallery
Hi I was trying out the below link to dispaly images from built in Gallery
on a grid view.
http://mihaifonoage.blogspot.in/2009/11/displaying-images-from-sd-card-in.html
This is working fine.But, the images are a bit small.I tried making them
bigger as
bitmap =
BitmapFactory.decodeStream(getContentResolver().openInputStream(uri));
if (bitmap != null)
{
newBitmap = Bitmap.createScaledBitmap(bitmap, 70, 70, true);
bitmap.recycle();
if (newBitmap != null)
{
publishProgress(new LoadedImage(newBitmap));
}
}
But This is not working. The images are of same size.How do I make them
bigger? Please Suggest.Thanks!
No comments:
Post a Comment