Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12464] BlackBerry: Window.keepScreenOn

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2013-02-11T21:25:19.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelsn/a
ReporterJosh Roesslein
AssigneeJosh Roesslein
Created2013-01-29T01:38:10.000+0000
Updated2017-03-13T18:31:06.000+0000

Description

Allow developers to keep the device's screen from going idle and powering off by setting the "keepScreenOn" property to true.

Acceptance Test

var win = Ti.UI.createWindow({keepScreenOn: true});
win.open();
1. A window should appear on the screen. 2. The screen on the device should not dim or power off while window is open.

Comments

  1. Josh Roesslein 2013-01-31

    On BlackBerry keeping the screen on is a flag on the main window, not on each control. We may need a different API than what is implemented for Android. We may want to get input at the architectural meeting before settling on an API.
  2. Josh Roesslein 2013-01-31

    Pushing this up a few sprints until an API can be approved to support this feature. Using a "keepScreenOn" property on a View isn't trivial to implement on other platforms besides Android. Right now Android is the only one that supports this API.
  3. Josh Roesslein 2013-02-11

    Android only API and does not map well to other platforms. There is an open API issue to introduce a better API for keeping screen on.
  4. Lee Morris 2017-03-13

    Closing ticket as the issue will not fix.

JSON Source