title: Difference between Running Task and Running Process in Android
body: <p>Can any one please tell me what is the difference between Task and Process in Android.
  If I use this code snippet.</p>
  
  <pre><code>ActivityManager Appmgr;
  protected List&lt;ActivityManager.RunningTaskInfo&gt; apps;
  protected List&lt;ActivityManager.RunningAppProcessInfo&gt; applications;
  applications = Appmgr.getRunningAppProcesses();
  apps = Appmgr.getRunningTasks(30);
  </code></pre>
  
  <p>Whats the difference between <code>applications = Appmgr.getRunningAppProcesses()</code> and  <code>apps = Appmgr.getRunningTasks(30)</code>.</p>
  
  <p>Please Help me.
  Regards</p>