title: Get all apps running time on android
body: <p>Hiii, 
  I am working on an app in which i have to get the <code>running time</code> of all the apps that are installed on the device.
  So, is it possible to know how long somebody else's app is running for on the phone? Ex: How long is the gmail app running on the phone?</p>
  
  <p>Is there any <code>API</code> for this or we have to develop are own logic to make it work???</p>