ANSCA, do I need permission WAKE_LOCK ?

Our game is tilt controlled and since there are no touch events during the gameplay, we are using system.setIdleTimer( false ) to prevent display from dimming… That works just fine on iOS.

But as I do not have access to an Android device, I cannot test that myself…

So, do we need to set android.permission.WAKE_LOCK to make system.setIdleTimer( false ) to work or that is not needed? [import]uid: 10478 topic_id: 16342 reply_id: 316342[/import]

Anyone knows this? [import]uid: 10478 topic_id: 16342 reply_id: 60936[/import]

It will work fine without adding any new permissions, just like on iOS :slight_smile:
Peach [import]uid: 52491 topic_id: 16342 reply_id: 60960[/import]

Ah, nice to hear that…

I wanted to keep those at bare minimum… Just removed it and submitted to Amazon… :slight_smile:

Thanks for the prompt reply Peach! [import]uid: 10478 topic_id: 16342 reply_id: 60972[/import]

No worries, I’m at the Ansca offices right now so it’s easy to ask the geniuses here about specific things like this :wink:

Peach [import]uid: 52491 topic_id: 16342 reply_id: 60981[/import]

fyi a bit of background…

I raised the original bug about idletimer not working, and ansca tried to use WAKE_LOCK to fix it. However its heavily documented on the net that WAKE_LOCK behaves differently on different devices and OS’s, so instead they found a workaround by using a parameter on the main viewpoint that keeps it focussed and stops standby.

So yeah, you dont need the WAKE_LOCK permission :slight_smile: [import]uid: 8872 topic_id: 16342 reply_id: 64520[/import]