How to create and remove application shortcut into home screen?
<p>I am creating a application shortcut. It's working fine. But i can't remove this shortcut. How to remove my application shortcut. In my home screen contains lot of application shortcut. How to remove that..<br>If it is possible please send information for how to remove application shortcut. Otherwise if it is not possible send Reason. Please reply your answers and comments are valuable me. Thanks.<br>My sample code is here...</p>

<pre><code>    Button btnShortcut = (Button) findViewById(R.id.btnCreateShortcut);
    btnShortcut.setOnClickListener(new View.OnClickListener()
    {
        public void onClick(View arg0) 
        {
            Intent shortcutintent = new Intent("com.android.launcher.action.INSTALL_SHORTCUT");
            shortcutintent.putExtra("duplicate", false);
            shortcutintent.putExtra(Intent.EXTRA_SHORTCUT_NAME, getString(R.string.app_name));
            Parcelable icon = Intent.ShortcutIconResource.fromContext(getApplicationContext(), R.drawable.ic_launcher);
            shortcutintent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, icon);
            shortcutintent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, new Intent(getApplicationContext() , MyActivity.class));
            sendBroadcast(shortcutintent);
        }
    });
</code></pre>

<p>My Android Manifest.xml code is here...</p>

<pre><code>&lt;uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/&gt;
&lt;uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"/&gt;
</code></pre>
