Skip to main content

how to so clean uninstallation in j2me?

1 reply [Last post]
sonalagar
Offline
Joined: 2009-03-06

Hi,

when we uninstall j2me app,hot to delete associated file & folders??say if we create a folder that saves media file downloaded form web thru this app,so when we uninstall this app,how to remove these files as well?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jaywayjohan
Offline
Joined: 2008-06-18

There is no way to get information when a MIDlet is un-installed. However the destroyApp() is called when a MIDlet is "destroyed". You could add some cleanup code in the destroyApp() method.

But I guess that this is not what you are looking for.

Regards
Johan