Sounds useful - I'll dig out a test phone and give it a try.
I've started using one of those 'plank challenge' apps recently, amazing how useful a stop-watch app is when pre-programmed with a couple simple instructions.
Couple small tips on the app, in case they're helpful:-
>You need to set your display to not timeout
- If you want to, the fix for the is pretty simple: just call View.setKeepScreenOn(true) (or set layout property "android:keepScreenOn") on a view of appropriate lifetime, or while the intervals are being done. Unlike various other approaches, no special app permissions needed for this one. (I'm cribbing this from the
previous project I assisted in fixing this for)
- I noticed the app is being allocated READ_PHONE_STATE permission, is this intentional? It's probably side effect of not setting a targetSdk level (see
http://stackoverflow.com/questions/1747178/android-permissions-phone-calls-read-phone-state-and-identity).
Note you can safely "target" the highest SDK level you test on (so e.g. you set android:targetSdkVersion=19 if you test on kitkat) and the app will still install on phones back to whatever you set as min SDK - see
http://developer.android.com/guide/topics/manifest/uses-sdk-element.html. (These days targeting 14 - 19 and having a min of 9 is pretty typical)