Keep your Android’s screen awake for specific apps
Assuming you have Xposed Framework installed at this moment, go to Download in the Xposed Installer app and search for Stay Awake – Keep Screen On.
The results will be displayed right away, so tap on the first listing, then swipe to Versions section and tap on the Download option located next to the newest item.
On the next screen tap the Install button and when the setup is complete, enable the module and restart your device.
From then on, you can finally use Stay Awake – Keep Screen On to keep your Android’s screen awake for specific apps (or games). It works in a very simple manner. While you’re inside the app you’d want to disable the screen timeout, press on both volume buttons simultaneously and a toast notification will appear saying “KEEP_SCREEN_ON is true”.
You can revert to your default screen timeout for that particular app just as easy. While the app is currently running in the foreground press both volume buttons one more time and another toast message will appear, but this one will set the KEEP_SCREEN_ON value to false.
Another way to go back to the system-wide screen timeout value is to manually lock the screen, but this will reset it for all apps you set to have an infinite timeout
Follow us on  Facebook, Twitter and Google+ to stay up to date with the latest apps, games, guides and everything Android, iOS and Windows Phone.