Introducing TimeoutOverride

The screen timeout for Android Wear is rather short, so I wanted to extend it for my app.  So I wrote a library to extend the screen timeout for an arbitrary number of seconds, and re-extend that timer automatically whenever the user touches the screen.  Usage is a one-line addition to your onCreate():

protected void onCreate(Bundle savedInstanceState) {

    new ScreenTimeoutOverride(20, getWindow());

Clone TimeoutOverride on GitHub to get started.

Author: jeb

Views expressed here are my own and do not necessarily reflect the views of my employer.