i create an app and install it on phone. now i want to add a feature that my app should not uninstall from the phone. so i think if one of the following issues could be solv
is it possible , if user try to uninstall the app we get a message?
As Christopher said above, you can be notified when the user has removed your application.
PACKAGE_REMOVED broadcast is sent to notify that a package is removed. You can use it to get notified.
But I don't find it right to "prevent" user from removing your application. As a matter of UX, its their phone, and they've got full rights to add/remove whatever they want.
It is the same with PCs too!