Re: [Interest] Preventing iOS/Android device sleep

2016-02-22 Thread Nuno Santos
Jason, You need to call [application setIdleTimerDisabled:YES/NO]; - (void)applicationWillResignActive:(UIApplication *)application { [application setIdleTimerDisabled:NO]; } - (void)applicationDidEnterBackground:(UIApplication *)application { [application setIdleTimerDisabled:NO]; } -

[Interest] Preventing iOS/Android device sleep

2016-02-22 Thread Jason H
I have an app that records video. If the user records more than the display timeout, the display goes black. Is there a way in Qt 5.5 or 5.6 to prevent the device sleep? I know android will require a WAKE_LOCK permissions. Ideally these this will only be in place while the video recording is ac