Persistent data on S60 3rd Ed
| Thu, 2006-12-07 12:02 | |
|
Hello, Let's imagine a case in which I create an application, which stores some data on the device. Now my application is uninstalled, but I'd like some small amount of data (less than 1KB) to be stored anyway, so when user installs the application again the data is accessible. According to Symbian Signed Test Criteria, Uninstall Test says "Uninstall removes all files originally installed with the application, and any files that are created or downloaded by the application while it is running.". However there's an exception "EX-006- Small Files For Maintaining Configuration and Settings Information". So, can I leave a small file in ""-"C:\private\<application UID3/SID>\MyApp.ini" and pass Symbian Signed? Did anybody try that? Another thing is how to force the file not to be removed by uninstaller. I suppose this file will have to be created by application runtime, cause all files listed in PKG file will be deleted - am I right? Thanks in advance for sharing your experiences ![]() Damian Confusion will be my epitaph.. |
|







Forum posts: 2006
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 64
I've made some tests and every time I uninstall an application, the private/<app-uid>/ folder is removed (even if I install an app on E: drive and create the small file programatically on C: drive).. Is this folder always removed? Do I have to put this file elsewhere or is there a way to keep the private/<app-uid>/ folder after uninstalling the application?
Regards,
Damian
Confusion will be my epitaph..