Take a look here for information on how to tell the window manager to keep the device's screen turned on and bright for a particular Activity. Also, there is a code example here which might be helpful.
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database