Add Snippet |
Install an APK
raw · copy · downloadUri installUri = Uri.fromParts("package", "xxx", null); Intent intent = new Intent(Intent.ACTION_PACKAGE_ADDED, installUri); startActivity(intent);
Preview
Editors
Tags
Related Snippets
Phone a telephone number via intent
open browser to web page URL via intent
Send sms via intent
Open Wifi Settings
Send a tweet using Twidgit intent
Prompt engaged users to rate your app in the Android market (AppiRater)
cool thanks for sharing
this not silent right? do you know how to silently install or uninstall apps?
2 Comments
cool thanks for sharing
this not silent right? do you know how to silently install or uninstall apps?