omarkerr / and-bible

Automatically exported from code.google.com/p/and-bible
0 stars 0 forks source link

User configurable option to keep the screen from timing out #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enhancement request

What is the expected output? What do you see instead?
1. a new settings option to allow the user to select whether the screen should 
not go to sleep (or dim but not sleep).
2. add functionality to bypass the device screen sleep time-out if the new 
option is selected

What version of the product are you using? On what operating system?
2.2 going forward

Please provide any additional information below.
This is an option I really enjoy when I am using the CadreBible application. 
However, I prefer the stability, speed, and ease of use of the AndBible 
application. This option would really come in handy in sermons where the 
speaker refers to many references and would allow the user from having to wake 
and unlock the device often.

Original issue reported on code.google.com by ddjonl...@gmail.com on 25 Apr 2011 at 5:11

GoogleCodeExporter commented 9 years ago
A tutorial of one method for enabling this enhancement ( acquiring a WAKE_LOCK) 
is described here 
(http://www.tutorials-android.com//code_examples/How_to_stop_screen_from_dimming
_by_enforcing_wake_lock.rhtml)

Original comment by ddjonl...@gmail.com on 25 Apr 2011 at 5:15

GoogleCodeExporter commented 9 years ago
Grab the Android App 'Tasker' and create a profile for And Bible.  You can then 
set the timeout to whatever you want.  It works very nicely.

https://market.android.com/details?id=net.dinglisch.android.taskerm&hl=en

Original comment by rogers...@gmail.com on 13 Sep 2011 at 1:12

GoogleCodeExporter commented 9 years ago
I set my timeout to 10 mins in the Android Settings and that seems fine for me.

Original comment by mjden...@gmail.com on 21 Oct 2011 at 10:30

GoogleCodeExporter commented 9 years ago
Attached a patch that keeps the screen always on (prevent it from going to 
sleep). You could add an option to determine weather to call addFlags or 
clearFlags.

Original comment by benjamin.drung on 16 Aug 2012 at 5:00

Attachments:

GoogleCodeExporter commented 9 years ago
Here's an updated patch. Replace "if(true)" with an actual configuration option 
check.

Original comment by benjamin.drung on 16 Aug 2012 at 5:04

Attachments:

GoogleCodeExporter commented 9 years ago
I have added an And Bible specific screen timeout in the next release.

Original comment by mjden...@gmail.com on 3 Jan 2013 at 10:33