Uri packageURI = Uri.parse("package:"+"your.packagename.here");
Intent uninstallIntent = new Intent(Intent.ACTION_DELETE, packageURI);
startActivity(uninstallIntent);
More Related Contents:
- How to list all the videos in a youtube channel using android studio.
- How do I connect to a specific Wi-Fi network in Android programmatically?
- How to detect orientation change in layout in Android?
- get contact info from android contact picker
- show an alert dialog in broadcast receiver after a system reboot
- Differences between TextWatcher ‘s onTextChanged, beforeTextChanged and afterTextChanged
- How to set time to device programmatically
- Why do I want to avoid non-default constructors in fragments?
- How to add a fast-scroller to the RecyclerView
- Android : Maximum allowed width & height of bitmap
- Problems with GridView inside ScrollView in android
- Android WebView – Intercept clicks
- MediaRecorder start failed: -38
- Android: Using ObjectAnimator to translate a View with fractional values of the View’s dimension
- Resource not found TextView
- Doze mode and foreground service
- Action buttons doesn’t show up on Action Bar? [duplicate]
- APK signing error : Failed to read key from keystore
- Best way to update data with a RecyclerView adapter [duplicate]
- Why does play-services-location need the android.permission.WRITE_EXTERNAL_STORAGE and android.permission.READ_EXTERNAL_STORAGE permissions?
- Change shape solid color at runtime inside Drawable xml used as background
- android share image from url
- How can I get a Dialog style activity window to fill the screen?
- how to reference an asset in a library project
- SupportMapFragment does not support AndroidX Fragment
- How to copy logcat output to clipboard?
- Google App is Published on Internal Test Track but Can’t Be Found/Downloaded
- Simplified and Traditional Chinese vs Regions
- ZXing convert Bitmap to BinaryBitmap
- Undefined Reference To ‘cv::initModule_nonfree()’ In Android