I'm writing an application that uses the phone's camera to take a picture, and then use it in my app. The thing is, the app runs out of memory, and it is probably because of the bitmap's high resolution. Is there a way to keep the bitmap at the same size, but lower the resolution?
Thanks!
from jeet.chanchawat' s answer: https://stackoverflow.com/a/10703256/3027225
this can be done using Options.inSampleSize, when creating the bitmap
You can Set Its Width and Height
Function to Call
}
This are two more links which might Help You. Link 1 & Link 2