I get this message when compiling:
Compiling code. Error
Error parsing program.
Error description: Undeclared variable 'awake' is used before it was assigned any value.
Occurred on line: 15
Awake.KeepAlive(True)
CODE SNIPLET:
Sub Activity_Create(FirstTime As Boolean)
Awake.KeepAlive(True)
I then
included the "PHONE LIBRARY", not sure if i had to do that?
but that didn't help.
Also, this seems like it would not dim the display or shit off the display
correct? unless they pressed the sleep button, or closed the app
What if you wanted the person to go jogging with a song
playing and you didn't want to waste his/her battery
having the display on, but wanted the song to keep playing
when the display (sleep) timed out and turned off the app.