An Android app that recognizes the status of activity