Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2069] Android: Orientation - currentOrientation is not being returned correctly, unable to use buttons to change orientation

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:59.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M02
ComponentsAndroid
Labelsandroid, android_refactor, defect, orientation, regression
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:09:33.000+0000
Updated2011-04-17T01:57:59.000+0000

Description

g1 running 1.6 and the sim running 2.2 Ti Mobile sdk 1.5.0.02c264.

1.Phone>Orientation
2.change orientation and check out the label that is reporting orientation

results: current orientation is not being returned

3.Use the buttons to set orientation

results: fail silently

Comments

  1. Don Thorp 2011-04-15

    This goes along with implementing orientation using currentActivity.

  2. Marshall Culpepper 2011-04-15

    (from [ca266ee6bf672262eddf6b2b0e8b2143027b9ee5]) better support for orientationModes in android. we now use OrientationEventListener along with setRequestedOrientation to manage when we forcefully override / control orientation. the android API doesn't expose "landscape left", so we won't be able to support it orientationModes until they do. expose the current context in the invocation for dynamic properties instead of the proxy context. fixes and code cleanup for the Gesture module [#2069 state:fixed-in-qa] [#1045] https://github.com/appcelerator/titanium_mobile/commit/ca266ee6bf672262eddf6b2b0e8b2143027b9ee5"> https://github.com/appcelerator/titanium_mobile/commit/ca266ee6bf67...

  3. Thomas Huelbert 2011-04-15

    1.5.0.91838a G2 (2.2), Droid1 (2.2)

JSON Source