I\'m building an imagepicker in my Android app, for which I used the example code on this page. This basically gives me a button which opens the possibility to get a file fr
You can use image sampling which is loading the smaller size image without having to load the bigger one. You can do that with Options
argument passed to BitmapFactory. Set Options.inJustDecodeBounds
true
and BitmapFactory will set Options.outWidth and Options.outHeight fields to image's original size. Note that when setting inJustDecodeBounds to true the returned Bitmap is null. Also use Options.inSampleSize to decode sampled image. Sample size shows how much the result image is scaled down.