title: Implicit intent to uninstall application?
body: <p>I am trying to have an onclicklistener call an intent to uninstall an app, by having the intent call the default "uninstall app" activity from the applications settings. I have found <a href="http://developer.android.com/reference/android/content/Intent.html#ACTION_UNINSTALL_PACKAGE" rel="noreferrer">here</a>
  that I can uninstall an app using ACTION_UNINSTALL_PACKAGE, com.packageXYXY, which seems to be what I'm looking for.
  However, I am unsure how to call this. I have tried the following: </p>
  
  <pre><code>public void onClick(DialogInterface dialog, int which) {
                  Uri packageURI = Uri.parse("package:com.packageName");
                  Intent uninstallIntent = new Intent(Intent.ACTION_UNINSTALL_PACKAGE, packageURI);
                  startActivity(uninstallIntent);
  </code></pre>
  
  <p>but the syntax is wrong. Have tried a number of different ways of calling this, and am kind of stuck. Not sure how to call this. Thanks for your help.</p>