How often can you set the refresh timer value of a series 60 screensaver? It looks like you can only safely set it within MScreensaverPlugin::Initialize! (?)
I'm writing a Series60 screensaver plugin, using the MScreensaverPluginHost / MScreensaverPlugin framework.
I find setting the refresh timer value can be problematic.
When can the refresh timer value be set? It works if you set it within MScreensaverPlugin::Initialize, but not if you set it within MScreensaverPlugin::Draw (occasionally the screensaver host seems to suffer a KERN EXEC 15).
This makes me suspect there's an issue with the refresh timer in the screensaver host. I tried creating an active object of my own, to set the refresh timer from there instead of directly within the 'Draw'.
This works on the series 60 emulator but not on the series 60 devices - it seems that the host accepts and updates the refresh timer *value* but silently ignores the change to the actual *timer* --- ie the screensaver continues with the same refresh rate as before.
( I'm using the RefreshTimerValue() getter to check that I'm successfully setting the refresh timer value ).