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?
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.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.