Android: reading started time of Running Application. Is it only possible for Services?
<p>I am able to read the started time of a running Service using this :</p>

<pre><code>ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
List&lt;RunningServiceInfo&gt; services = am.getRunningServices(Integer.MAX_VALUE);
for (RunningServiceInfo info : services) {
    activeTime=info.activeSince;
}
</code></pre>

<p>But i <strong>could not</strong> find option to read started time of running Application</p>

<p>Here is my Code</p>

<pre><code>ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
List&lt;RunningTaskInfo&gt; tasks= am.getRunningTasks(Integer.MAX_VALUE);
for (RunningTaskInfo info : tasks) {
    //HOW TO GET started time ??
}
</code></pre>

<p>My question is :
<strong>How to read started time of a Running App? Is this option really not available for running Application ?</strong></p>

<p>I have seen some app(installed in my phone) are displaying started time of a Application.</p>

<p>I googled about it, see some QA on SO. But could not found the solution.</p>
