Persistent data on S60 3rd Ed

Login to reply to this topic.
Thu, 2006-12-07 12:02
Joined: 2006-05-10
Forum posts: 64
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 Smiley
  Damian

Confusion will be my epitaph..


Fri, 2006-12-08 16:43
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2006
Re: Persistent data on S60 3rd Ed
Quote
So, can I leave a small file in ""-"C:\private\<application UID3/SID>\MyApp.ini" and pass Symbian Signed? Did anybody try that?
Yes, you can pass Symbian Signed by leaving a file on the device but you  have to explain why you need to do so.

Quote
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?
Yes.

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Mon, 2006-12-11 08:27
Joined: 2006-05-10
Forum posts: 64
Re: Persistent data on S60 3rd Ed
Thanks Eric.

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..

  • Login to reply to this topic.