My app uses the File API to store downloaded files on the device. Is there some way for my javascript code to get notified when a user uninstalls the app, so that it can clean up the files it has written? Or is there some other way to deal with this issue?Thank you.--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
To compile in the cloud, check out build.phonegap.com
If you want to make sure the files are deleted when the application is
uninstalled you would want to store them in:
/data/data/{package name}
/sdcard/Android/data/{package_name}/files/
as those directories is cleaned up when app is uninstalled.
--