Android track application launch time
<p>I want to track the time of any application launching (currently active in foreground) from my application . For instance mail application is currently in the foreground , I want to track the exact timestamp .Which time the application comes to foreground .</p>
