Android: Camera Preview Orientation on HTC EVO (Android 2.1 or 2.2)?

Try locking the orientation of the Activity in horizontal if that fits with your design, or have a play with these.

Try locking the orientation of the Activity in horizontal if that fits with your design, or have a play with these: private android.hardware. Camera mCamera; ... mCamera. SetDisplayOrientation(90); params.

SetRotation(90); mCamera. SetParameters(params); But I think setDisplayOrientation might be 2.2 only...

Thank you, fry15. Unfortunately, there are two problems with that: 1) the design must be vertical (portrait), and 2) you are right about setDisplayOrientation(...) only working on 2.2. I'll see if I can convince the customer to allow us to target 2.2 and higher. – mahdaeng 2.2. at 22:19 3 I built a (portrait) Camera app a few months ago and did quite a bit of research into this, before 2.2 there wasn't really a way of doing it in portrait mode.

The secret was locking the activity in horizontal mode and then faking everything to make it look like it was in portrait by having rotated assets etc. This wasn't an option for me for various reasons so it had to be 2.2+ only :/ – fry2.2. 18 at 23:32 Thanks, fry15. I think you're right - it's probably going to have to be 2.2. – mahdaeng 2.2. at 20:40 @fry2.2.ny thanks for the "lock activity in horizontal mode" suggestion - simple but effective. – donturner 2.2. at 16:39.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions