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 ).
Last edited by azhrei; 2005-07-27 at 08:56.
What is phone model & firmware version?
Typing *#0000# on the idle screen should return the software version. Programmatically it should be possible by using SysUtil::GetSwVersion(). Please look for SysUtil in SDK Help. This API has been available since Series 60 2nd Edition (2.0). It requires sysutil.h and sysutil.lib.
There is a screensaver example on the PRO site (www.forum.nokia.com/pro) now, which you could use to demonstrate the problem faced with refresh timers.
Re: When can you set the screensaver's Refresh Timer Value?