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
Post a Comment