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

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -