While recently finishing up my first PhoneGap application (which was
tailored strictly for the Android platform), I encountered a problem that
wasted some of my time. I'm documenting the problem and solution below for the
sake of others who may run into the same issue.
I'm currently developing an Android application via PhoneGap. It took me two
entire workdays to learn how to prevent this application's screen from dimming
or sleeping (after 5 minutes of inactivity), so I want to document what I
learned here for the sake of others who need to solve the same problem.