Hi Experts,

i am having a problem when i select a very large image for the code
below:


Uri image= Uri.parse(imageFile);
imageicon.setImageURI(image);

in my application, user selects an image from sd card or capture it.

please advise me how can i check the resolution of the selected image
(URI) and compress if it is very large before passing to imageicon.

i can compress when i capture but not when i select from sd card.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to