Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3787884
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:54:40+00:00 2026-05-19T11:54:40+00:00

I have a video player implemented in an activity. I am forcing it into

  • 0

I have a video player implemented in an activity. I am forcing it into landscape at this stage by doing setting up the manifest like this

<activity android:name=".activity.VideoPlayerActivity"
              android:launchMode="singleTask"
              android:configChanges="orientation"
              android:screenOrientation="landscape"/>

and overriding onConfigurationChanged with an empty implementation so that the activity is not restarted.

This all works great but at least on the emulator it seems to affect other activities forcing them into landscape even though they share nothing in terms of code. I have no seen this happen on any phone yet but obviously I have a limited amount of phones and I would really not like this to happen to users.

So has anybody seen this problem before? Is it just the emulator? Is there maybe a better way to do it?

Or considering tablets and so on coming along should I stop to force landscape mode anyway and just keep track of the position in the video and restart at the right position upon orientation change?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:54:40+00:00Added an answer on May 19, 2026 at 11:54 am

    I think that’s an emulator thing; I’m sure I’ve seen similar, but never on any phone.

    Also, your Activity can be restarted by various configChanges, including a hardware keyboard sliding in/out, or change of locale, or day/night mode?

    Best to allow the user to choose and keep track of the position, like you say.
    Maybe you can even hold onto the MediaPlayer (or whatever) you’re using via onRetainNonConfigurationInstance().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application with a video player. I implemented a method that stores
I have successfully implemented embedded vimeo videos into my app, however i would like
I have an air application that I'd like to turn into a multi-player game.
I have a SWF Video player on my webpage. I want to draw a
I have a flash video player which requests a flv file from a central
I have a flash video player in a div inside a webpage, I'm trying
We have a custom-built Flash-based video player that I maintain, and it needs to
I have seen on many sites the silverlight video player. I noticed that all
Does anyone have a working example of a video player built using Qt phonon?
I have a YouTube's player in the webpage. I need to change the video

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.