"Clear Persisted Content" is always grayed out in the simulator

I'm trying to clear the object store so that I can make sure that my app works properly in that setting. The simulator option for doing so is always grayed out. Is there a brute force way to clear it (deleting specific files), or what controls when that option is available?

thanks,
alex
  • Persisted content does not involve the object store. It's things like routes, waypoints, etc.

    To clear the app's Object store, you want to close the simulator, then go to the sim's temp directory (often \users\<name>\appdata\local\temp\garmin" on windows (there are posts around here about where to find it on a mac).

    There you will see apps, and the Object Store is in apps\data\<yourprog>.str so delete it. If you actually want to clear the settings (app settings stuff), the file is app\settings\<yourprog>.set (The OS and settings both use the same functions, but they are really different things and in different files. The OS can only be changed by your app, and not directly by the user, as can be done with app-settings)

    Also, the "ObectStore" sample in the SDK actually shows both. The first screen is the OS, and can be changes with "File>Edit Object Store" in the sim itself, and second screen, with the "App Settings Editor" in eclipse.
  • Thanks, this had the info that I needed.