What part of the code in the four sample APK projects listed here for Google Glass prevents the screen from dimming?
When I write my own APK and sideload it, after ten seconds with no tapping, the screen dims but does not turn off.
What manifest change or code change can I use to prevent the screen from dimming.
Thanks! Should there be a Google-Glass-GDK tag? If so add it please.
Practice As Follows
There are a couple easy ways you can do this without requesting a wake lock:
android:keepScreenOn="true"attribute to the root element of your layout.
Or, do the following in your