[android-developers] Re: Rotating Camera Preview

2009-10-16 Thread Jarcikon
Yes, I believe you have to rotate programmatically. That's how I do it. On Oct 16, 5:04 pm, Greivin Lopez wrote: > Actually it does not work as I expected!! > > I've tested it in a G1 and it work great for the camera preview, but > when you take the picture the JPEG is still in landscape mode. A

[android-developers] Re: Rotating Camera Preview

2009-10-16 Thread Greivin Lopez
Actually it does not work as I expected!! I've tested it in a G1 and it work great for the camera preview, but when you take the picture the JPEG is still in landscape mode. Anybody knows how to set the camera to get the image as you see it in your preview? I know that the Camera application wor

[android-developers] Re: Rotating Camera Preview

2009-10-16 Thread Jarcikon
I've personally tried it on the g1 and mytouch 3g, both running 1.6. It works fine for both. I'm not sure if it works for 1.5 phones but I think its reasonable to assume it works for 1.6+ On Oct 15, 4:54 pm, Streets Of Boston wrote: > Thanks! > > Does this work for every android phone out there?

[android-developers] Re: Rotating Camera Preview

2009-10-15 Thread Streets Of Boston
Thanks! Does this work for every android phone out there? On Oct 8, 6:50 am, Anirudh wrote: > Hi, > > I have figured out a way to do this. You have to set the parameter key > called "orientation" to the value "portrait" using the set() method of > CameraParameters class. > Snippet: > > Paramete

[android-developers] Re: Rotating Camera Preview

2009-10-15 Thread Greivin Lopez
Thank you very much Anirudh!!! This is exactly what I was looking for!. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.

[android-developers] Re: Rotating Camera Preview

2009-10-08 Thread Anirudh
Hi, I have figured out a way to do this. You have to set the parameter key called "orientation" to the value "portrait" using the set() method of CameraParameters class. Snippet: Parameters params = mCamera.getParameters(); params.set("orientation", "portrait"); mCamera.setParameters(params); T