Problem uninstalling an Application package from Android device -
we have application on start pulls terms , conditions screen. when user declines these terms have ask user if wishes delete package.
so, within application launch following intent:
uri uninstalluri = uri.parse("package:some.package.name"); intent intent = new intent(intent.action_delete, uninstalluri); startactivity(intent);
this brings settings-> manage applications -> uninstall page our application.
the user can go ahead , uninstall pacakge. when chooses not to(by pressing cancel) taken our terms , conditions activity. if presses again, taken out of application. problem if pull launcher menu, our application icon not show up. can see in "recently launched application list" , application still there on device.
is because packagemanager disabled our application? if so, how re-enable it?
what did miss here?
please help.
thanks.
Comments
Post a Comment