Skip to content Skip to sidebar Skip to footer
Showing posts with the label Orientation

Not Able To Fetch Correct Degree From Getorientation Method

I am trying to get the tilt angel from Android orientation. The values which i am getting from Sen… Read more Not Able To Fetch Correct Degree From Getorientation Method

How To Start A New Activity When Screen Orientation Changes? Android

I am writing an application which in portrait view has a gallery at the top and when you click a pi… Read more How To Start A New Activity When Screen Orientation Changes? Android

Capture Orientation Change Event Before It Happens

It's simple to lock the orientation to portrait or landscape. or to capture when the sc Solut… Read more Capture Orientation Change Event Before It Happens

Android I Want To Get Rotation Angle For Device

For example, I started application then device is turned 90 degree by side.I want to detect this e… Read more Android I Want To Get Rotation Angle For Device

Android Screen Orientation Bug

I am using android HTC HERO 2.1 version. The activity I write : Solution 1: Hai Steven Shih: Pls g… Read more Android Screen Orientation Bug

Set The Orientation To Portrait From Code

I know I can limit the orientation from the manifest file. Like this android:screenOrientation='… Read more Set The Orientation To Portrait From Code

Android Camera Setdisplayorientation(90) Fails In Different Devices

I have a problem with my camera app.Camera activity is in portrait mode.So i gave camera.setDispla… Read more Android Camera Setdisplayorientation(90) Fails In Different Devices

Device Camera Direction Excluding Device Landscape/portrait Orientation

I need to get the direction of the front facing camera excluding the devices orientation (landscape… Read more Device Camera Direction Excluding Device Landscape/portrait Orientation

Orientation Change Crash Application

I am using fragments and when i change the orientation the application crash. Here is the log cat: … Read more Orientation Change Crash Application

Activity Calling Finish In Onpause Crashes During Orientation Change

To preserve resources and prevent memory leaks, I am calling finish() in onPause event whenever app… Read more Activity Calling Finish In Onpause Crashes During Orientation Change

Android Screen Orientation: Forcing Landscape?

When I switch to a certain activity, I want that activity to show up in landscape mode. In my XML f… Read more Android Screen Orientation: Forcing Landscape?

Problem With Widgets And Orientation In Home Application

I am creating a home application and I finally got it to host widgets. The only problem is that wh… Read more Problem With Widgets And Orientation In Home Application

Togglebutton Change State On Orientation Changed

I have a CustomButton class (extends LinearLayout) where I inflate a layout which contains a Toggle… Read more Togglebutton Change State On Orientation Changed

Can I Get The Orientation Of A Photo Taken In My App If I Limit The Activity's Orientation To Portrait Only In My Manifest?

I don't want to support landscape UI at all across my app, but I want to be able to automatical… Read more Can I Get The Orientation Of A Photo Taken In My App If I Limit The Activity's Orientation To Portrait Only In My Manifest?