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

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 Screen Orientation Change Causes App To Quit

I have an app that I set to only display in Portrait mode by setting android:screenOrientation=… Read more Android Screen Orientation Change Causes App To Quit

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

Nested Preference Screen Closes On Screenorientation Change In Android

I recently stumbled upon a problem. I am working with a Nested PreferenceScreen like this: Solution… Read more Nested Preference Screen Closes On Screenorientation Change In Android

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

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?