-5
我正在開發android系統應用程序。直接卸載另一個應用程序,無需用戶交互。 我已經寫的代碼和平,卸載android應用程序無需用戶交互
private void UninsallApp() {
Uri packageURI = Uri.parse("package:"+"com.example.shortcutcreation");
Intent uninstallIntent = new Intent(Intent.ACTION_DELETE, packageURI);
startActivity(uninstallIntent);
}
能否請你幫我...
'直接卸載你希望能夠做到這一點未經用戶同意,而無需用戶interaction.'另一個應用程序? – Nikola
是@Nikola,我正在做Android系統管理應用程序。 – Kumar
你知道這個monit的整個觀點是爲了防止你想要完成的活動嗎? –