Simple test app for ActivityLifeCycle.
For logging use:
$ adb logcat | grep -nR 'ActivityLifeCycle'