I have gone through some of the links to get the correct image orientation of the image selected from the default image gallery to be worked standard in all devices the exif tag always returns 0. EXIF orientation tag value always 0 for image taken with portrait camera app android Exif orientation tag returns 0 Exif data TAG_ORIENTATION always 0 http://mobisocial.stanford.edu/news/2011/08/rotating-