Using UNINSTALL_SHORTCUT Intent

Posted by Lucas S. on Stack Overflow See other posts from Stack Overflow or by Lucas S.
Published on 2009-06-17T15:00:05Z Indexed on 2010/03/17 16:51 UTC
Read the original article Hit count: 324

Filed under:
|

I am trying to use the following intent action, but i get an ActivityNotFoundException in the fisrt case. And nothing at all in the second case.

"com.android.launcher.action.UNINSTALL_SHORTCUT"

I try to use it with the following code:

Intent i = new Intent
("com.android.launcher.action.UNINSTALL_SHORTCUT");
startActivity(i);

Also with the following:

Intent i = new Intent
("com.android.launcher.action.UNINSTALL_SHORTCUT");
sendBroadCast(i);

© Stack Overflow or respective owner

Related posts about android

Related posts about java