Tizen Developers

Menu
Sites
Language
How can I know my own app will be uninstalled?

I'd like to know the event when I am going to uninstall my own app, and I didn't find a way like listener to do it.  Does there have other mechanism to reach it? Thanks.

Edited on 18 03, 2014

Responses

2 Replies
Pushpa G
For the installation/uninstallation events of other apps, the app can register a listener. (Tizen::App::Package::IPackageInstallationEventListener) But if the app itself is going to be uninstalled, then it cannot receive it's uninstallation event. Can you give more scenarios for this question,
Jacky
Hi Puspha, you are right. The scenarios is that a password input dialog pop up when user attempts to uninstall my own app. It means that user who provides the right password can uninstall the app.