title: Is there an intent for uninstallation of an app for ALL users?
body: <h2>Background</h2>
  
  <p>The normal way to call for the uninstallation an app is simply by using the <a href="http://developer.android.com/reference/android/content/Intent.html#ACTION_DELETE" rel="noreferrer"><strong>"ACTION_DELETE"</strong></a> intent :</p>
  
  <pre><code>startActivity(new Intent(Intent.ACTION_DELETE, Uri.parse("package:" +packageName)));
  </code></pre>
  
  <h2>The problem</h2>
  
  <p>starting with some Android version (don't remember which) , apps can be installed for multiple users on the same device.</p>
  
  <p>This means there is a new way to uninstall an app, one which will uninstall it for all users (image taken from Lollipop - Android 5.0 ) :</p>
  
  <p><img src="https://i.stack.imgur.com/wv0pDl.png" alt="enter image description here"></p>
  
  <h2>The question</h2>
  
  <p>I've searched in the documentation, but couldn't find the answer those questions:</p>
  
  <ol>
  <li><p>Is there any way to perform this operation via an intent? Maybe something to add to the intent I've written above ?</p></li>
  <li><p>Does ADB have a new command to remove an app for all users?</p></li>
  <li><p>Is there a way to check if an app is installed for multiple users?</p></li>
  </ol>