Detect when an application is removed from the device.

Y at - it a mechanism that can help by asking the application when it is suppressed by the user, it may be necessary to do some accounting operations when the application is removed by the user. ?

-Thank you

At least for the moment, there is no way.

I wonder if there should be any of this necessary accounting though. If you store application-specific files in the shared folders, you are probably violating the design guidelines for the file system. Apps should always store their own data inside their files of sandbox.

If you store files readable by other applications in the shared folders, that's fine, but then you should not try to remove these when uninstalling.

I know I make generalizations without knowing your particular case... I wanted to just make sure that you do not have one of the most obvious things as 'bad'.

In the future, it is possible a uninstall hook will be available as part of the call, although I doubt that's going to be one of the first things they add in the next updates (10.2 or more). It's most probably not one that has even been asked yet, so I encourage you to file a feature request in the developer Issue Tracker if you really need this (and don't forget to explain in detail the use case).

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for