android - How to show Bitmaps directly from SD-card without carshing on VM budget -


after strugling days problem found way it.

q: how show large bitmap without carshing application on vm budget turning phone around or open activity second time?

  bitmapfactory.options option = new bitmapfactory.options();             option.insamplesize = 2;     bm = bitmapfactory.decodefile(new file(path));              imageview imageview =(imageview)findviewbyid(r.id.imageview1);             imageview .setimagebitmap(bm); 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -