J
Jon Skeet [C# MVP]
I've been having significant trouble with the CommunicationsManager,
and I'd like to know whether or not it's just me. In particular, it
doesn't reflect the current connection state very well at all, often
claiming to be disconnected when in fact it's connected, etc.
I suspect this *may* be the PocketPC API itself being rubbish
(certainly there are difficulties here - turning the phone on
programatically ends up changing the phone icon to "coming on" but it
never shows any signal, even when it's blatantly got it due to a
connection working). I'd be interested to hear anyone else's
experiences with the connection manager.
The background here is that I have a permanently running app which
basically wants to control comms completely. I'm able to turn the phone
on and establish a connection (so long as I pick the right one
but
if I turn the phone off, I get an unwanted dialog saying that the
connection can't be made. Understandable, but annoying. I'd like to
disconnect the connection first, to avoid the dialog - but as the
CommsManager doesn't know that it's connected to start with, it doesn't
disconnect properly...
and I'd like to know whether or not it's just me. In particular, it
doesn't reflect the current connection state very well at all, often
claiming to be disconnected when in fact it's connected, etc.
I suspect this *may* be the PocketPC API itself being rubbish
(certainly there are difficulties here - turning the phone on
programatically ends up changing the phone icon to "coming on" but it
never shows any signal, even when it's blatantly got it due to a
connection working). I'd be interested to hear anyone else's
experiences with the connection manager.
The background here is that I have a permanently running app which
basically wants to control comms completely. I'm able to turn the phone
on and establish a connection (so long as I pick the right one

if I turn the phone off, I get an unwanted dialog saying that the
connection can't be made. Understandable, but annoying. I'd like to
disconnect the connection first, to avoid the dialog - but as the
CommsManager doesn't know that it's connected to start with, it doesn't
disconnect properly...