Hi Christian,

This is really interesting.  What is the official definition of suspension?
On handheld devices, the device suspends itself every minute or so to save
battery life.  All the user does is press the power button and the
application is back.  Is that the level of suspension you are talking
about?  If so, how does the application handle that?  How do you test for
"AboutToSuspend" or "NotYetRemounted"?  Is the removable media dismounted
every time the device sleeps like that?

Any specifics you could give me would be great.  If this is the case, then
I'm going to seriously consider moving the database to the internal memory.

Thanks,

--
Joel Cochran


On 4/18/07, Christian Schwarz <[EMAIL PROTECTED]> wrote:

Hello Joel!

We were faced with similar problems in the field, too. Those were more
general ones with PCMCIA/CF/SD cards.

The reason was that the mobile devices (different device types with
Windows CE 4.1 and 5.0) doesn't handle the access to removable media
gracefully when the device is going to suspend and resuming from
suspend.

We had to learn (the hard way) that it's an application's task to block
*any* file (reading and writing) access before the device is going to
suspend until the time the device resumed from suspend *and* the
removable media has been successfully remounted. The remount process can
take up to 5-10 seconds!

If your application doesn't handle those cases well you'll run into
problems. Typically, you will see that kind of problems only in the
field and not when doing in-house tests...

Greetings, Christian


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]

-----------------------------------------------------------------------------


Reply via email to