Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8216] Android: Can't force orientation mode in the AndroidManifest anymore

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2012-03-26T10:56:47.000+0000
Affected Version/sRelease 2.0.0, Release 1.8.2
Fix Version/sn/a
ComponentsAndroid
Labelsregression
ReporterMauro Parra-Miranda
AssigneeMarshall Culpepper
Created2012-03-22T18:42:31.000+0000
Updated2017-03-24T18:14:17.000+0000

Description

Problem Description

When following the instructions from https://wiki.appcelerator.org/display/guides/Orientation#Orientation-LockingorientationonAndroid and adding the Portrait only mode to the window, the app doesn't force the user to be in that mode.

Actual results

The screen changes orientation.

Expected results

The screen be fixed in one orientation.

Extra info.

This used to work just fine in 1.7.x

Comments

  1. Mauro Parra-Miranda 2012-03-23

    Hello Marshall! I added a small code like this: http://pastie.org/private/oxyhcbvw0zoddb6vi8ugg and I modified the tiapp.xml as stated in: https://wiki.appcelerator.org/display/guides/Orientation#Orientation-LockingorientationonAndroid so, i end with this tiapp.xml: http://pastie.org/private/s0lkgrwpqr7wzdomwalt2g And when testing, it shows portrait and landscape. Best Mauro
  2. Opie Cyrus 2012-03-26

    LANDSCAPE_RIGHT is only supported on 2.3 and above devices. http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Window.orientationModes-property.html
  3. Lee Morris 2017-03-24

    Closing ticket as invalid with reference to the above comments.

JSON Source