On 2006-12-12, Dmitry Grinberg <[EMAIL PROTECTED]> wrote: > > on idle is REALLY easy. > subscribe to sysNotifyIdleTimeEvent, and when you get it, do a bit of > processing. this way you will not slow down the device. BUT of course > battery life will suffer as instead of sleeping the processor will do your > background processing. > <http://www.palmos.com/dev/support/docs/palmos/Notifications.html#1046866> > On 12/11/06, Lynn Allan <[EMAIL PROTECTED]> wrote: >> >> Is it possible to have the equivalent of OnIdle background processing? >> >> I would like to have the app start quickly and show a screen that showed >> info that was "cached" from when it previously closed. In the backgound, a >> large file would be unzipped into FeatureMemory (for example).
This is not exactly what Lynn wants, but it should do the trick. The app will receive sysNotifyIdleTimeEvent even when it is not the current app. Of course it has to subscribe to the notification as soon as HotSync is finished (syncNotify launch code). To not block the device, it should decompress to Feature memory only a piece at a time. HTH Ton van Overbeek -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
