Android Question load a big image on panel - CameraEx

Douglas Farias

Expert
Licensed User
Longtime User
my phone take photos with 10 mb ¬¬ with the cameraex class, i really dont know why.
my native camera is max 5mb on max resolution and quality.

i need to load this photo on a panel or imageview later the user take the picture

show the image for user aprove or discard if discard delet image from panel or imageview
if aprove only remove the image from panel or imageview but not delet the file

ok

how can i make this with images 10mb without memory error? 10 mb is very big image to put on imageview
 

strat

Active Member
Licensed User
Longtime User
You can use loadbitmapsample to load images. You can set resolution while loading pictures.
 
Upvote 0
Top