Android ::Camera Always Run In Portrait Mode
Aug 5, 2009
I am trying to use Camera to take picture and to video recording but it always runs in portrait mode. Even if I tried to sreenOrientatiton="landscape" it solved screen appearance but when I take photo and capture video they are still saved rotated 90 degrees.
View 5 Replies
Jun 27, 2009
When do you expect it to get fixed? I am a developer working on http://layar.eu and I had to go through lot of trouble to get the app working in portrait mode with camera preview, using a LOT of rotations. I have managed to get everything rotated to portrait except for the on screen inputmethod which still shows up in landscape. Do you have any suggestions for rotating that?
View 9 Replies
View Related
Mar 26, 2012
there are those of us, who due to whatever reason (helmet cams, preference for posture, etc) want to record videos in portrait mode.
What happens (on my sgs2) is that the video records just fine in whatever resolution I pick... but it records it 90 degrees rotated to the right.
The solution that is usually offered is that "you can rotate it after!" yes... but then you have to CROP part of the image and lower the resolution. 1920 x 1080 recordings end up having to be cropped so that half of the view is cut out , or even more if you are maintaining a real aspect ratio.
The questions about "why not just hold it sideways", are just as pointless as the statement by steve jobs telling iphone4 users that they were holding their phones wrong.
is this something that can be remedied ? or has google decided that people should only record videos when their phones are in landscape mode?
i understand that we cant see landscape resolution in portrait mode; but can't we just have a viewport into the camera, but record in properly oriented landscape mode? so that playback on a computer will show the full resolution, even though we will only see part of it on the phone..
View 1 Replies
View Related
Dec 1, 2013
dialer in kitkat is always in landscape mode when call is ongoing....how can we set it in portrait mode
View 1 Replies
View Related
Sep 23, 2013
I have a tablet and I want to set the portrait mode as the default orientation mode instead of landscape mode.
View 2 Replies
View Related
Jul 3, 2010
Am I the only one that prefers navigating in portrait as opposed to landscape. It seems that you get more view of the road ahead, rather then the sides. What am I missing, where / why would landscape be preferred?
View 3 Replies
View Related
Jan 13, 2010
I want to have this result : https://docs.google.com/a/google.com/File?id=afzfgn3h3x_10dwd35pv4_b but in portrait mode. the EditText take all the screen with the keyboard. How can I do that?
View 3 Replies
View Related
Nov 26, 2009
Is it possible to start the browser activity from my game but force it to be portrait regardless of orientation so that it matches the orientation of my game which is always in portrait regardless.
View 2 Replies
View Related
Mar 31, 2009
When we try to implement orientation in AP layer, we can set "android:screenOrientation" parameter in AndroidManifest.xml file or call "setRequestOrientation()" method of Activity class. But if I want to porting android in new HW device, how can I do? Do I need to modify the graphic driver, or just add configuration in program. (Actually I do some experiments but my AP cannot rotate) Besides, can every experts tell me when I set the "android:screenOrientation" parameter, which process will read this configuration, pass to where and which process will do the rotation?
View 2 Replies
View Related
Dec 3, 2009
Is there always a concept of portrait mode for devices? If so, can we get what the height of the device is in portrait mode? I'm using this: DisplayMetrics dm = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(dm); but width and height get swapped depending on orientation of the G1.
View 8 Replies
View Related
Mar 31, 2010
How can I get the height of the device for portrait mode? I have to create a bitmap (which is zoomable) and I just want to get a rough idea what the tallest height should be. getResources().getDisplayMetrics().heightPixels; does the above return the height, in portrait mode only? I'm not binding my UI to this absolute value, it's just a rough fit.
View 1 Replies
View Related
Sep 16, 2010
I want my android application to be only run in portrait mode? How to do that?
View 2 Replies
View Related
Feb 9, 2010
I'm developing an application that render preview frames from the camera to a Surface View. I've noticed there's no way in the Camera API to set the orientation to portrait, so I'm forced to make my view landscape. Does anyone know how to tell the camera to deliver preview frames in portrait?
View 5 Replies
View Related
Jul 5, 2010
I want to force App Widget in portrait mode, as we force our activity in portrait mode by adding this attribute in Menifest file android:screenOrientation = "portrait". is there any way to force App Widget in portrait mode?
View 5 Replies
View Related
Oct 1, 2009
I am facing a problem when i put a text view on screen in landscape mode it position is fine but when i switch to portrait mode it position is remain fix it not change according to screen resolution.
View 2 Replies
View Related
Sep 6, 2010
Does anyone know how to move the bar (I don't know what its called) from the right hand side, to the bottom in portrait mode? The one that is at the bottom in desktop mode. (The one that you press to bring up the applications).
View 1 Replies
View Related
Feb 11, 2009
I have written a small example which displays the photos from the server. Its working fine when the device is in one of the mode (landscape of potrait). But if I switch to landscape to potrait or potrait to landscape while downloading the photos from the server, I am getting NullPointerException, showing with androidRunTimeException.
I am using LinearLayout -> ImageView
I am using threads to download the images.
View 4 Replies
View Related
Nov 21, 2010
I'd like my app to run on both Android versions 2.1 and 2.2. In one area of my app, there is a portrait-style camera - the process for producing a portrait camera preview is different (as far as I know) on the two OS versions. Here is how:
2.1:
Camera.Parameters parameters = camera.getParameters();
parameters.set("orientation", "portrait");
camera.setParameters(parameters);
2.2:
camera.setDisplayOrientation(90);
The setDisplayOrientation(int) method became available in API Level 8 (2.2) and, so, cannot be used on 2.1; however, using the 2.1 (Camera.Parameters) method does not rotate the preview and image correctly on 2.2. It seems odd that this incompatibility exists - is there a more correct way to do this that will allow me to target both platforms?
View 1 Replies
View Related
Apr 19, 2010
My application should hold a camera preview surface. The camera is fixed to landscape view via AndroidMainfest.xml I am quite new to the Android plattform programming. Of course I don't know much about the programming tricks and workarounds yet. I did a lot of research over the last two weeks (even studied the native Camera implementation), but couldn't find a good solution so far.
View 2 Replies
View Related
Sep 8, 2010
I am using VideoView component for streaming video in Android , but I am not getting the full screen display.
Kindly provide the code to display full screen in portrait/landscape mode.
View 2 Replies
View Related
Jun 26, 2010
When i am texting in the compact qwerty or phone keypad the setting always defaults to xt9. Is there anyway to default text messages and email to abc instead? I am using the htc ime mod keyboard from xda if it matters .
View 2 Replies
View Related
Jun 22, 2010
I didn't really pay attention, but since i have been on these forums I noticed when I type a post my keyboard lags. It isn't too bad while in portrait mode but when I'm in landscape my keyboard lags a LOT. I havent noticed it on any other sites. It is at its absolute worst when posting in landscape on this forum.
View 2 Replies
View Related
Jan 22, 2010
Do you use landscape or portrait mode? And which keyboard do you use to post, virtual or real, since the virtual one hides the screen for some reason? I posted this from my Droid, just to prove to myself that I could real keyboard, big hands no problemo. Few typos, but easily fixed. No worse than I do on a life-size keyboard at home.Droid looks to be about the size of a busines card next to my big thumb. I can still somehow peck the keys fairly quick.
View 10 Replies
View Related
Jun 6, 2010
For some reason the entire right side of my keyboard stopped working in portrait mode. i don't know what could have caused this but it really stressing me. Any ideas on what I need to do to fix this?
View 3 Replies
View Related
Sep 2, 2010
I am having a lot of difficulty with my keyboard in both landscape and portrait. I am using the "Android Keyboard" that came with the phone. Examples of what I am referring to:
1. Wrong Key Showing: I type one letter and a different one is actually displayed.
2. Horrible Response: I get half way through an email and realize I need to fix an error in the middle of the paragraph. Trying to get the cursor where I want it a extremely hard to do and often it will move, but not where it is suppose to be moved to. Other times the cursor simply doesn't move at all and I have to erase all the back to where the error is and than retype. And no the cut and paste or copy and paste do not work since the cursor is not moving.
3. Random sentences just erase: I will be typing and hit the back key to erase a character, but instead it erases a line or two and won't stop.
Suggestions and no I am not going to root and void the warranty.
View 7 Replies
View Related
Feb 25, 2009
I am using Intents to switch between activities in my Android app. I am putting data in the Intent for use in the next activity. When I switch the phone between landscape and portrait modes, the values passed from the intent are lost and I get a NullPointerException.
Can someone please tell me what could be wrong.
There's a lot of code to post it entirely. But if someone needs to look at specific parts of code, I can post it here.
Edit
I solved the issue of state not being saved. But another problem I faced is that none of the buttons on the screen work after the orientation has been changed. On button press, I get this warning in LogCat
02-25 23:07:49.190: WARN/WindowManager(58): No window to dispatch pointer action 0
View 2 Replies
View Related
May 21, 2010
Can you use the front facing camera on the EVO to take self portrait pictures? I don't imagine you'd be able to easily line up the rear facing camera very well without being able to see the screen at the same time.
View 6 Replies
View Related
Jun 22, 2010
Is there or will there be, a mod that will allow us to use the camera in portrait instead of landscape mode? I Would love the option.
View 2 Replies
View Related
Jul 6, 2010
I'm responding to an email and I rotate the phone to landscape mode. Once completed, I turn the phone upright and it remained in landscape mode. The only way to get it back was to hit the menu button. I rotated to landscape a few minutes later and now its stuck in that mode, and won't return to portrait at all. I tried removing the battery to no avail.
View 3 Replies
View Related
Dec 9, 2009
I discovered something unusual today. I've been using a lot of the physical keyboard, especially for long winded texts and e-mails. I have tried and tried to get used to the landscape on-screen keyboard to no avail. I've tried Better Keyboard (and yes, it's better), and the HTC keyboard (that unfortunately doesn't fill the screen). They both have their benefits, but I cannot accurately and consistently type out a message on any of them. My problems: If I type too fast, half of the letters don't register. I've tried pressing harder, using a lighter touch, neither had any affect. I can't get used to the position I need to have my thumb in to actually register clicking certain letters on the keyboard. I always think I've got it, but then I look up at what I just typed (I find myself staring at the keys I'm pressing to make sure they're the right ones) and it is complete gibberish. Where I'm going with this, anyways, is the portrait keyboard. I used it a few times today just out of laziness, I didn't feel like turning the screen or opening up the device to use the physical. I noticed something unusual; I don't make the same mistakes on this tiny little keyboard, and I can actually type relatively quickly. My sentences weren't coming out meaningless, and I wasn't seeing unregistered presses. So my question to you is this - has anybody else noticed similar problems? I don't really think it's a fault of the phone. I think I'm just not used to on-screen keyboards (never used one before) and thus cannot type well on it. I'm hoping that - at some point - a multi-touch enabled keyboard comes out, because I feel like some of my problems are due to hitting two keys in rapid succession, and having one or both not register. Until then, I will continue to practice with it, but I just can't figure out why I can type on the tiny portrait keyboard and not on the full landscape version.
View 3 Replies
View Related