Logcat app (filter stock app)
<p>I want to write an app which can log every application that the user has launched. For example, when the user open "phone" app, the logger app will log down the time and "phone" app opened. </p>

<p>I have studied the source code for <a href="http://code.google.com/p/alogcat/" rel="nofollow">alogcat</a>
but couldn't find where to add in the code to achieve my aim.</p>

<p>I have also looked at the Intent description, it said that <code>ACTION_DIAL</code> action will be fired if a phone dials a number, but when i tried to find this keyword in alogcat, i couldn't find it?</p>

<p>May I know which code should i add to keep track of which application has been opened at what time? What parameter/keyword should i look out for for a certain application that has launched?</p>

<p>I have tried to search for a <a href="http://www.openintents.org/en/intentstable" rel="nofollow">list</a> of registered intents protocol, but it seems like it is not accurate..</p>

<p>thanks in advanced for help!</p>
