[Android] Keep application running when device go to sleep
-
Yes. But i don't know the Qt possibilities in this case.
http://developer.android.com/reference/android/os/PowerManager.html
Take a look at WakeLock...
-
HI, actually you can force device screen to stay active while your app is running. You need to modify QtActivity like it's done "here.":http://sourceforge.net/p/erebusrpg/code/ci/master/tree/android/src/org/kde/necessitas/origo/QtActivity.java#l592 (direct link to your problem solution)
This link is to some opensource Qt based game that runs also on android. It's called Erebus RPG. You can find some really usefull stuf there like integrating c++ with java in order to handle Activity states etc. Look at "main.cpp":http://sourceforge.net/p/erebusrpg/code/ci/master/tree/