Android application that display the notification for any application start or Stop. I want code for it
<p>My code for broadcast Recevier</p>

<pre><code>BroadcastReceiver Allapp = new BroadcastReceiver() {

    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent.getAction().equalsIgnoreCase(Intent.ACTION_ALL_APPS)){
            Log.i("appName", "Changes in Applications");
        }

    }
};
</code></pre>
