I'm sure there is no workaround for this Palm OS network event bug, but I
figured there is no harm in asking.

If you go into any PQA app and hold the stylus down on a button or scroll
bar while you're wirelessly retrieving data (i.e. tap a hyperlink in a PQA
app and then tap and hold down a button or scroll bar), you'll notice that
the network indicator stops functioning.  I don't yet have access to the
Palm OS source, but obviously that because the Palm OS library's event
handling code for controls must be "taking over" INetLibGetEvent() and
skipping calls to the inet/net library.  In essence, while holding the
stylus down on most Palm OS controls INetLibGetEvent() becomes, in essence,
simply a call to EvtGetEvent().

What this means for any networking application is that it gets starved of
networking events as long as the user holds down the stylus on a Palm
control, i.e. a bored user waiting for a reply may "play" with the scroll
bar and essentially halt networking events.  If you hold down the stylus
long enough at the right time, you get a network timeout error as soon as
the stylus is lifted.  I think most PQA apps handle this by basically
displaying no content.

I came across this problem in our Palm C application and there doesn't
appear to be a workaround especially since it is so easily reproducible in
PQA apps.  I was able to verify in our Palm C app that when the stylus is
held down on a Palm control, no network events are returned from
INetLibGetEvent() and it basically behaves just like EvtGetEvent().

I was just wondering if anyone, by some miracle, had a workaround.

Greg



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to