Android Question Prevent orientation change?

Discussion in 'Android Questions' started by mark35at, Feb 16, 2015.

  1. mark35at

    mark35at Well-Known Member Licensed User

    I have an app which can be started in landscape or portrait mode. Once the app is started, I want to prevent an orientation change. Is this possible? Many thanks.
     
  2. eurojam

    eurojam Well-Known Member Licensed User

  3. tufanv

    tufanv Expert Licensed User

    at the code screen at most top, you can see project attiributes and supported orientations. If you want just portrait for example write only portrait and it will not change to anything.
     
  4. mark35at

    mark35at Well-Known Member Licensed User

    @tufanv: Thanks for this. I know about this but my app can be started in either mode, only a change is not allowed during running as this will interfere with the calculations.
     
  5. MrJan

    MrJan New Member Licensed User

    mark35at: Did you resolve the problem? I've faced similar situation: how temporary prevent orientation change until some process is finished.
     
    Last edited: Jul 29, 2015
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice