Android fix orientation issue on some phones - android

I am having some problems with my phone camera (I am using Sony Xperia Z1 Compact) because the camera is always on Landscape mode when I launch it via the intent and therefore the photo is rotated when taken in portrait mode. This issue doesn't exist on Nexus 5. How can I solve it ? The exif returns always 0 because it's locked on landscape

I would recommend to create different layouts for each portrait and landscape mode. How to
On the other hand, there might be the problem with device, test it with other apps from store.

Related

Take picture fails in dual camera mode

I'm having some issues when I'm in dual shot mode.
This is what I've got so far:
back camera mode - works perfectly
front camera mode - works perfectly
parallel camera mode (full back preview + small window front preview) - works perfectly on the devices that support accessing both cameras at the same time (like Samsung S4).
The problem is: while having both previews display, I call takePicture() method on BOTH cameras. It works perfectly on devices like Samsung S4 and HTC M8, but on LG G3 the takePicture() on the back camera just doesn't work. It doesn't even enter any of the callbacks. The front picture is taken correctly, but the back camera isn't, and then it freezes and I get a camera error 100, while the front camera keeps working fine.
I mention that all the above devices (S4, M8, and G3) support parallel cameras. The problem is only at G3 when I want to takePicture.
I've also tested on Nexus 5 which does not support and I've implemented a different approach which works great (basically, I take pictures one at a time).

App not showing on portrait mode in Galaxy m pro

i have created an application which is only work on potrait mode, Samsung screening review give a issue application work on landspace mode on Mid-end Galaxy (LQVGA), They also give video for same to identify, i found they are right, My app show in landscape mode for that device, but i am not able to find the reason, Why this is happen, because except that device my app work fine on all device, i also find device name is Galaxy M pro , i am attaching file screen shot of issue, please suggest me any way to resolve this issue, i already added android:screenOrientation="portrait" that in all activity of manifest.xml file

Android CWAC-Camera rotation issues after upgrading to 0.6.3

I am using the CWAC-Camera library within my Android application. Recently it was upgraded to v0.6.3, but since then I have noticed that rotation of images doesn't seem to work as expected.
I am starting a CameraFragment within an Activity that is locked to landscape orientation, and have observed the rotation is not correct for an output image with or without setting CameraFragment.lockToLandscape(true). I have managed to reproduce this in the demo application when the "Lock to Landscape" is checked (steps and a screenshot provided below). I have been testing on a Nexus 4 and Nexus 5 both running Android 4.4.2.
Has anyone else experienced this issue since upgrading to v0.6? Previously we were using 0.5.4 which didn't seem to have this issue, but looking at the release log I see there has been a lot of changes to EXIF data/rotation etc.
Steps to reproduce in demo app:
Open application, hold phone portrait or landscape
Select "Lock to Landscape" and "Single shot mode" from menu
Turn phone landscape (if started off portrait in step 1)
Capture image, appears rotated as per screenshot.
Cheers
For the record, this bug was fixed in v0.6.4 of the library.

LG optimus 3D effect in portrait mode

I am working on LG optimus 3D mobile platform and it seems to me I can experience the depth of three dimensions in landscape mode but the effect is completely lost while the phone is in portrait. does anyone have any suggeston how to make that work on portrait mode as well?
If you are using the p920, i'm afraid you (actually we cuz I have one too) are out of luck. 3d is landscape only.
Reference links :
http://3dvision-blog.com/5798-testing-the-3d-capabilities-of-the-lg-optimus-3d-p920-smartphone/
http://blog.gsmarena.com/htc-evo-3d-vs-lg-optimus-3d-taking-the-fight-to-another-dimension/

google nexus 7 development rotation not working

I recently started creating a mobile application on the google nexus 7. I have previously tested this application on the kindle fire and both portrait and landscape mode worked on all screens but when I upload the application onto the nexus the application always stays in portrait.
Has anyone run into this or know why the nexus only shows my application in portrait mode?
Is your device rotation lock turned on? It's in the quick pull down menu.

Categories

Resources