I've been browsing the API
android for a while trying to understand the function of BitmapFactory
.
At what times am I supposed to use BitmapFactory
, and why?
I've been browsing the API
android for a while trying to understand the function of BitmapFactory
.
At what times am I supposed to use BitmapFactory
, and why?
The BitmapFactory class creates bitmap objects from various sources that can be files, streams, or byte-arrays . Its use is suggested when uploading images from the sdcard or disk.
An example, create a bitmap object from an image stored on the sdcard and which we add to an ImageView: