android - getThumbnail method returning blurry thumbnails? -


i want show thumbnails images present on device in gridview , i'm using getthumbnail method thumbnails. reason when set returned thumbnails imageviews in gridview, not clear(blurry). example, if there's text in image i'm not able read text in app whereas can read in native android gallery app. hope gives idea of problem is. think because imageview size greater image size.

i have tried use methods extractthumbnail in conjunction bitmapfactory.options insamplesize generate outofmemoryexception.

what should resolve issue thumbnails clear appear in android native gallery application?

if remember correctly, getthumbnail return scaled image. if scaling image fit in gridview, account blurriness.

you can try scaling images correct size yourself, displaying gridview.

you may want @ uil. awesome open source project helps image loading , can fix memory issue.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -