need notification on uninstallation of an application in android
<p>Folks,</p>

<p>I have one application to develop in which I need notification when the user uninstalls   the application. I have ACTION_PACKGE_REMOVED action in Broadcast Receiver but it does nothing.</p>

<pre><code>public void onReceive(Context context, Intent intent) {
    // TODO Auto-generated method stub

    try
    {
        if(intent.getAction().equals(Intent.ACTION_PACKAGE_CHANGED))
        {
        System.out.println("Your Package Is removed By Your Child");
        System.out.println("Your Package Is removed By Your Child");
        System.out.println("Your Package Is removed By Your Child");
        System.out.println("Your Package Is removed By Your Child");
        System.out.println("Your Package Is removed By Your Child");
        System.out.println("Your Package Is removed By Your Child");
        System.out.println("Your Package Is removed By Your Child");
        SendSms(context);
        }
    }
    catch(Exception e)
    {
        e.printStackTrace();
    }
}
</code></pre>

<p>Thanks</p>
