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

Force Android Screen Orientation Depending On Screen Size

I am writing an application that allows users to select various things on the screen. On large 10 i… Read more Force Android Screen Orientation Depending On Screen Size

How To Detect When The Device Switch From Portrait To Landscape Mode?

I have an app which shows fullscreen bitmaps in an activity. In order to provide fast loading time,… Read more How To Detect When The Device Switch From Portrait To Landscape Mode?

How To Change Screen Orientation, Without Creating A New Activity On Android?

I do not know if the title is correct, here is what happens. I have an application which works diff… Read more How To Change Screen Orientation, Without Creating A New Activity On Android?

Android Orientation Change

My tabbed app does not redisplay the view with an orientation change. I added android:configChange… Read more Android Orientation Change

Android | Getting Screen Height As Width And Screen Width As Height

I have the following piece of code in my app to get screen width and height: screenHeight = (short… Read more Android | Getting Screen Height As Width And Screen Width As Height

Android Memory Leak, No Static Variables

I'm a beginning Android developer, and as a practice project, I'm trying to make and activi… Read more Android Memory Leak, No Static Variables

On Change Screen Orientation, New Activity Created

I'm relatively new to Android but have made quite a few apps over the past year so forgive me. … Read more On Change Screen Orientation, New Activity Created

How Can I Rotate The Particular View Landscape Or Portrait Programatically In Android?

how can rotate the particular view in Landscape or portrait mode in dynamically in android. i am us… Read more How Can I Rotate The Particular View Landscape Or Portrait Programatically In Android?

How To Implement Onretainnonconfigurationinstance

i made a media player in android it's working great but when i change the screen orientation, … Read more How To Implement Onretainnonconfigurationinstance

Android Tv Forces App In Portrait Mode

I have an Android mobile app and now I'm trying to run it on Android TV emulator, but it doesn&… Read more Android Tv Forces App In Portrait Mode

Android: Keep Mediaplayer Running During Activity Screen Orientation Update

I use a MediaPlayer to play an MP3. Currently I disabled screen orientation changes by using androi… Read more Android: Keep Mediaplayer Running During Activity Screen Orientation Update

Videoview & Fullscreen & Orientation Changes - Android

I implemented a e-Reader that has embedded video players on it, I need a option to toggle fullscree… Read more Videoview & Fullscreen & Orientation Changes - Android

Gracefully Handling Screen Orientation Change During Activity Start

I'm trying to find a way to properly handle setting up an activity where its orientation is det… Read more Gracefully Handling Screen Orientation Change During Activity Start

Android Action Bar Tab With Scrollview Made Duplicate View After Orientation Change

I have a very simple code where I use Action Bar with tab fragments. It works fine after load, but … Read more Android Action Bar Tab With Scrollview Made Duplicate View After Orientation Change

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 Screen Orientation: Landscape Back To Portrait

I have designed an activity that its orientation is landscape. Also I have designed another that it… Read more Android Screen Orientation: Landscape Back To Portrait

Is The Setdisplayorientation Sample Code Correct?

The documentation page for Camera.setDisplayOrientation contains the following code sample stating … Read more Is The Setdisplayorientation Sample Code Correct?

Problems When Handling Orientation Changes

I need to handle orientation changes in my Android application. For this purpose I decided to use O… Read more Problems When Handling Orientation Changes

Onitemselectedlistener Called On Screen Rotation

When I change the orientation of my screen in Android, an OnItemSelectedListener from a Spinner is … Read more Onitemselectedlistener Called On Screen Rotation