08-06-2011 01:13 PM
Hi,
So, I have searched far and wide in the support forums to see if there was any way to change the backlight settings in the Playbook using webworks. I have found a few messages about not being able to push beyond the 5-minute mark, but my question is different. I was wondering if there was a way to set the backlight timeout to 3 minutes or 5 minutes while the application is running?
I am developing an application that has a three-minute timer, and the screen must be viewable during the entire three minutes. Thus, I would like my webworks application to set the timer to at least 3 minutes, just in case they have their timer set to something different. For example, a person has their backlight timer set to 30 seconds; when they open my application, the application changes their backlight timer to 3 minutes while the it is running.
Thanks.
08-07-2011 07:30 PM
08-08-2011 01:13 PM
Thanks for directing me to the API. It seems like everything should be working - I followed the instructions verbatim and compiled the application without errors - but when I run the application with the extension the backlight still times out. I am running OS v 1.0.7.2670 which the extension was tested on, and compiled the sample file but was not able to keep the screen from timing out. If you have any advice on where to go from here that would be great, thanks.
08-12-2011 12:02 PM
Hi jischoler,
As you'll note in the description for the API there is a bug on the PlayBook "PR 104184 defect logged: "Unable to change value of systemIdleMode to KEEP_AWAKE"." I believe this will prevent you from achieving this until the bug is fixed.
button below the post(s)11-15-2011 11:22 AM
Hi Jeff,
Is there any way to check on the progress of PR 104184? It would be really nice to know if this is on the upcoming Air / Webworks roadmap.
Thanks,
--rth
11-16-2011 04:08 PM
I've published an externally facing version of this issue to the Developer Issue Tracker. Sorry for the confusion:
https://www.blackberry.com/jira/browse/TABLET-358
Working with the WebWorks and Tablet OS development teams to correct this behavior.
11-16-2011 04:15 PM
Thanks Adam. Just an FYI, in Jira I am getting this message when I am logged in and trying to view the issue: "ERROR
It seems that you have tried to perform an operation which you are not permitted to perform."
--rth
01-03-2012 11:34 PM
astanley wrote:
I've published an externally facing version of this issue to the Developer Issue Tracker. Sorry for the confusion:
https://www.blackberry.com/jira/browse/TABLET-358
Working with the WebWorks and Tablet OS development teams to correct this behavior.
Does anybody know the status of this issue? TABLET-358 is not publicly visible: you'll get a permission violation if you try to access the above URL, even if you are logged in. Thanks.
Chris
01-23-2012 09:59 PM
Just looking for status on this bug?
03-08-2012 03:07 PM
This functionality isn't supported in ported Android apps either. e.g.,
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
enables an Activity to specify that it should not allow the device to sleep. This works on Android devices but is ignored in Android apps ported to TabletOS.