With the following code shows a preview of the camera vertically and it\'s works.. BUT!! I get a photo in landscape! :(
How I can build it vertically? I\'ve the prev
For setting the orientation of the image use below code:
Matrix mat = new Matrix(); mat.postRotate(90); image_to_upload = Bitmap.createBitmap(myImage, 0, 0, myImage.getWidth(), myImage.getHeight(), mat, true);