When you receive taken picture data try to convert it to bitmap and rotate it.
bitmap = bitmapFromData(*data*); Matrix.postRotate(*degre*); Bitmap *rotatedBitmap *= Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), bitmap.getHeight(), *matrix*, true); Regards. On Tuesday, July 9, 2013 1:41:34 PM UTC, Sadhna Upadhyay wrote: > > Hi guys, > i am creating camera application when i am capturing photo its preview > in > portrait but when i do e mail it is in landscape though i have set > Camera.setDisplayOrientation(90); but its only showing preview but it is > not saving in portrait.i have googled but m not able to take photo in > portrait its working fine for landscape but not working for portrait please > please help me i am stuck. > > thanks in advance > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

