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.
Are you okay? You look a little big. Maybe this tiny ad will help:
ScroogeXHTML - small and flexible RTF to HTML converter library