android : How to know about a new process start in device?
<p>I am writing a program which respond when a new process got start.</p>

<pre><code>private final BroadcastReceiver mBatInfoReceiver = new BroadcastReceiver() {
        @Override
        public void onReceive(Context arg0, Intent intent) {

            // what to write here

        }
    };
</code></pre>

<p>I do not know that what to write instead of comments to get processes info.</p>

<p>thanks.</p>
