Android :: How To Switch Camera To Portrait?

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?

Android :: How to switch camera to portrait?


Android :: Automatically Switch Keyboard If Portrait Vs Landscape

Aug 20, 2010

I like to use Swype in portrait mode but the Android keyboard in landscape mode. Is there an app to auto-switch the keyboard based on the orientation of the phone?

View 13 Replies View Related

Android :: Force Screen To Switch Between Landscape / Portrait

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

Android :: Switch To Landscape Then Back Portrait - Inflate Exception

Jul 23, 2010

I've met a very strange issue that my app will crash if user first switch to landscape, then back to portrait. I found that Activity.setContentView() will throw an inflate exception. It said:
android.view.InflateException: Binary XML file line #29: Error inflating class <unknown>

This crash will happens on Android 1.6/2.1/2.1-update1, but doesn't happen in 2.2 Froyo. In Froyo, everything works fine. If the XML I used is invalid, it should happens every time when I try to inflate. But why it's okay on the first time of running and switching to landscape? This also only happens on some devices. For example, there two HTC G1 with same software installed on it and has the same configuration, one has this issue and the other one works fine.

View 7 Replies View Related

HTC EVO 4G :: How Sensitive Phone Is To Switch From Portrait To Landscape?

Sep 3, 2010

I have been trying to find some information if there is any way to adjust how sensitive the phone is to switch from portrait to landscape.I hate the fact that I have to shake my phone to get it to switch Other phones I have have used never were this stubborn before.

View 19 Replies View Related

HTC EVO 4G : CM6 RC2 Crashapaloosa - When Switch From Portrait To Landscape View

Jul 30, 2010

Flashed the CM6 RC1 Rom and have been running smooth as glass. Suddenly, it is crashapaloosa on me. I am betting it is the hinky Flash 10.1 that is doing it. It happens mostly when I switch from portrait to landscape view.

Also getting odd messages like "Unable to Log In". Not sure what it is logging into but apparently it can't. Anyone else having issues? Will try dumping Flash 10.1, also will try shutting down SetCPU and see if those don't help. Ah bugs ;-)

View 5 Replies View Related

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 View Related

Android :: Working In Portrait Mode With Camera Preview?

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

Android :: API Version Compatibility - Portrait Camera Preview

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

Android : How Can I Add Portrait Layout On Top Of Landscape Camera SurfaceView?

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

HTC EVO 4G :: Taking Self Portrait With Front Camera Possible?

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

HTC Incredible :: Using Camera In Portrait View?

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

Motorola Droid X :: APP - ROOT - Keyboard - Keyboard Manager - Dual Keyboard - Portrait - Landscape Switch

Nov 10, 2010

I tried it and it works so far.

Dev = ne0fhyk from XDA.

From the XDA forum: Link to app page = [APP][ROOT/Keyboard] Keyboard Manager - Dual keyboard: Portrait/landscape switch - xda-developers

Verbage:

Keyboard Manager allows you to customize what keyboard (input method) appear on input based on your phone orientation.
It displays the keyboards you have enabled on your android device, and let you select one per orientation (landscape/portrait).
As your phone switch orientation, the app automatically switch the keyboard.

Requirements:
- Rooted android device (app was tested on Samsung captivate 2.1)
- Root Explorer app, or similar app that allows you to edit the permissions of a file.

To install:
1- Download the app (KeyboardManager.apk) on your device sdcard.
2- Using Root Explorer, move the apk file to /system/app
3- Using Root Explorer, edit the file permissions like below:
-- User: 'Read/Write' checked
--Group: 'Read' checked
--Others: 'Read' checked
4- Exit Root Explorer

The app should be visible in your launcher as 'Keyboard Manager'

Update:
- Added option to disable notification icon
-' start on boot' feature is disabled because it's not yet complete and tested... Sorry for the confusion

Bugs:
-On certain applications (i.e: Messaging on Samsung Captivate), the input window occasionally freeze on orientation switch. Exiting the app, and resuming should fix it.

The app is still in development.

View 11 Replies View Related

Motorola Droid :: Clicking Noise When Switch Into Or Out Of Camera Mode

Nov 19, 2009

Has any body noticed that when you switch into or out of camera mode there is a little clicking noise (sounds almost like static electricity)?

View 1 Replies View Related

Samsung Fascinate :: Switch Camera To Front Face Mode?

Sep 17, 2010

So I am curious what the deal is with the, what appears to be a front facing camera on this phone? I just got it today because my Blackberry Storm decided it didnt want to live any longer.

If any of you have any info on what exactly that is if it isnt a camera, or if it is indeed a camera, how do you switch it to front face mode?

View 3 Replies View Related

General :: Xperia Arc - Switch Mode To Panorama Camera Screen Goes Black

Mar 14, 2013

My Xperia arc (LT15i) runs CM 10. Whenever I switch camera mode to panorama the camera screen goes black although the capture button and switch camera tab are still there.

View 1 Replies View Related

HTC Hero :: Camera Not Working - Message The Application Camera Process Com.android.camera Has Stopped Unexpectedly Please Try Again

Dec 6, 2009

My camera stopped working. When I click my camera application I get the message "The application camera (process com.android.camera) has stopped unexpectedly. Please try again". It's just a blank screen?

View 3 Replies View Related

Android :: Force Portrait Screen

Aug 7, 2009

I developed an application and when I flip the phone in landscape mode the application went in landscape too. How can I make the application stay in portrait mode no matter the phone orientation.

View 5 Replies View Related

Android :: Using Navigation In Portrait Mode

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

Android :: AVD Rotate Portrait / Landscape?

Oct 12, 2010

I know if you change a android phone from portrait to landscape sometimes the app relays its self out on the screen.. so how do I simulate rotating a phone with the AVD? On the Blackberry emulators there's a button in the menu to turn the phone, but I can't find it or any option on the Android ones?

View 1 Replies View Related

Android : Want Portrait Keyboard Replacement

Nov 11, 2009

love the droid, but the on-screen keyboard in portrait mode is tiny .. any GOOD replacement out there that'll do something like suretype? I'm not crazy about T9 kind of stuff.

View 6 Replies View Related

Android :: Switching From Landscape To Portrait Orientation

Apr 3, 2009

I want to display a table which would fit better in portrait view than in the landscape view. How do i instruct the emulator to change the orientation?

View 4 Replies View Related

Android :: Widget Different Portrait And Landscape Orientation

Jul 8, 2010

How did you support both landscape and portrait for appwidget? the layout of appwidget will never change when orientate the device from landscape to portrait. by the way, would you please tell me which device support both landscape and portrait for appwidget?

View 1 Replies View Related

Android :: Retrieving Data From Portrait To Landscape

Feb 18, 2010

For changing from portrait to landscape mode i have done some changes in manifest.xml and included some code in test.java file

In manifest.xml i have included <activity_name android:configChanges="orientation"/>

i entered some data in portrait mode. but when i rotate my mobile from portrait to landscape the control goes to onConfigurationChanged() method.

public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); setContentView(R.layout.screen1_landscape);
}

View 3 Replies View Related

Android :: Way To Have Fullscreen Keyboard In Portrait Mode?

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

Android :: Force Browser Into Portrait Mode

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

Android :: Portrait / Landscape Mode Supporting

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

Android :: Height Of Device In Portrait Mode?

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

Android :: Height Of Screen In Portrait Mode Only?

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

Android :: Phone Application To Run In Portrait Mode?

Sep 16, 2010

I want my android application to be only run in portrait mode? How to do that?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved