Android :: Not Getting Full Screen Display / Code To Get It In Portrait - Landscape Mode?
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
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
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
Sep 8, 2010
I am writing two xml files for landscape and portrait and create res/layout-land folder,execute my code but did not work portrait mode,have any setting set for work my code for landscape and portrait..please give any sample code for that.
View 1 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
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
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
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
May 3, 2010
Just wondering what people use the most when using their phones, so I made a poll. I use mine mainly in portrait I just don't like typing with swype using landscape.
View 7 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 9, 2010
I was wondering if there's a way to change default input options for portrait and landscape modes independently? I like using swipe for portrait and full keyboard for landscape and its kinda annoying to keep changing it every time.
View 3 Replies
View Related
Aug 4, 2010
Is it possible to have it so i have swype when the phone is in portrait mode and have multi touch when it is in landscape? it's hard to swype on landscape so multi touch would be awesome.
View 7 Replies
View Related
Mar 8, 2010
When I go to portrait to landscape it will stay on portrait then after I mean like 20 mins or so when I go to use it, it will go to landscape and portrait. Then after another while it will stay on portrait and not go to landscape. I've tried everything and tried to find a solution for this but don't seem to find one. I just got the phone on saturday and been playing with for awhile to get the feel of it.
View 2 Replies
View Related
Jul 21, 2010
So my Aria is less than 24 hours old and twice now when texting in landscape mode a Force Close pops up and I can only type in portrait mode. I am using HTC keyboard and have not loaded any other keyboard. is this happening to anyone else?
View 20 Replies
View Related
Aug 25, 2009
Does anybody know how to rotate whole system screen from landscape to portrait?The platform is not G1 or any other phones, it's just a normal ARM platform.Not only one application but whole system.
View 1 Replies
View Related
Feb 1, 2009
Is there a way to pro grammatically force the screen to change between landscape and portrait mode? I want to allow the user to choose a menu item to rotate the screen, instead of relying on pulling out the keyboard. I am looking for something like activity.change Screen Orientation, but couldn't find such a thing in the API docs.
View 3 Replies
View Related
Mar 28, 2010
How to rotate the screen to landscape (or portrait) by programmable way? I am trying to make it independent when user rotates the screen.
View 2 Replies
View Related
Nov 1, 2010
I want to change the screen orientation from portrait to Landscape and vice-versa when the user shakes his/her android mobile phone, can any one help how to achieve this, because I do not know what event is fired, at the time his/her shaking thier android mobile phone. For Instance When the users touch the button in UI, touch event is fired, similarly when the user shakes his android mobile phone, what is fired.
View 3 Replies
View Related
Mar 20, 2010
I've racked my brain for hours over this issue. I have created a main.xml and designed one for the res/layout-land (landscape) format and another one for portrait in res/layout. When I rotate the emulator (ctrl-F11), my app rotates properly to landscape using the correct main.xml, but a subsequent rotation back to portrait just keeps the landscape mail.xml. This was done in a 2.0 AVD.. Out of desperation I downloaded the new Sample Code for Multiple Resolutions and had to create a new 2.1 AVD, to my surprise rotation with this app works correctly as expected. So I then decided to try my app on the 2.1 AVD and it works perfectly. So, is this a Bug in a 2.0 AVD or is there something special I need to be doing for < 2.1 SDK versions?
View 4 Replies
View Related
Jan 2, 2010
How do we change emulator screen orientation to landscape or portrait?
View 2 Replies
View Related
Feb 23, 2010
I worked in a tabactivity, I set the gravity for tabs as bottom. If I change the screen from portrait to landscape, I can't see the tabs. How can I do it?
View 1 Replies
View Related
Sep 9, 2010
Is there anyway to find out if a device is portrait or landscape by default? In that I mean how you normally use the device.
Most phones have a portrait screen for normal usage but is there some flag for finding that out?
View 1 Replies
View Related
May 5, 2010
Is there a screen orientation lock feature? I haven't seen it mentioned. In fact a search only turned up mention of it as a hardware button on the iPad. This would be great for using it while lying down, reclining, in the car.
View 2 Replies
View Related
May 15, 2010
I have a an application which is having some UI items like Buttons Radio Buttons etc. I want to change through code from landscape to portrait mode. I did by calling the method setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); But my UI items totally disturbed some of the i am unable to see.
View 3 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
May 21, 2009
I am trying to display 480*320 image in fill_parent width and height but it doesn't fit on full screen. image seems a bit smaller in width.
do i need to change resolution or something else..
View 6 Replies
View Related
Aug 26, 2010
I noticed that the screen seems unresponsive at the very bottom of the screen near the hardware buttons. It's most noticeable when typing on keyboard and trying to hit spacebar; unless I hit the spacebar right on the middle or top, it doesn't register.i.e. hitting it toward the bottom 1/3 of the spacebar. It seems noticeable when hitting the phone, app drawer, or contact icons as well. Anyone else notice this? Found this on the Motorola forums about other having similar issue.
View 1 Replies
View Related