Android how to restrict user to upload a image less than 2MB
<p>In my android application i am uploading a image but if the size is greater than 2MB it crashes.
Anybody having the solution to stop the user to upload the image greater than 2MB</p>

<p>Thanx in advance....</p>
