Is there a way to receive broadcast each time any activity is launched?
<p>for android developers</p>

<p>my goal is to saved when any activity is launched...</p>

<p>For instant is there is three activity launched during the last hour, I want to save it into a database.</p>

<p>Of course I could launch a service and check every seconds what activity is launched but it would use phone battery!</p>

<p>thanks for your answers.</p>
