Home > Archive > SQL Anywhere ultralite > March 2006 > Starting wireless network connection









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Starting wireless network connection
Madhu Siddalingaiah

2006-03-29, 8:24 pm


I'm running v9.0.2.3249 on Pocket PC with C# Visual Studio 2003.

How do I start a wireless connection on a mobile phone?
We can do it manually by dialing #777 or open a web browser, which
initiates a connection. Either way, our app then has network access and
can synchronize wirelessly.

We would like to start the wireless connection automatically (if it's
not already established). I didn't have any luck figuring this out on my
own.

Thanks!
Liam Cavanagh

2006-03-31, 8:24 pm

Hi Madhu,



I have been looking around for a solution to your question and I think I
have some answers for you.



The ability to initiate a connection on a PocketPC device can be done using
the Connection Manager. I found a really good sample of how to check the
status of connectivity, connect and disconnect in a similar way to that of
PPC Internet Explorer.



If you install the Windows Mobile 5.0 SDK there is a sample called CMHelper

\Program Files\Windows CE Tools\wce500\Windows
Mobile 5.0 Pocket PC
SDK\Samples\CPP\Mfc\
CMHELPER\



This sample I hope should give you all the information that you might need
to automate connection and re-connection.



I am pretty sure this sample is included in the older Windows CE SDK's as
well.



As another note, I know you are not using Windows Mobile 5.0, but if you
ever do there is a new set of API's called State and Notification API's
(SNAPI) that would allow you to be notified of events such as connection
availability and disconnections.



There is a sample of this in

\Program Files\Windows CE Tools\wce500\Windows
Mobile 5.0 Pocket PC
SDK\Samples\Cs\State
andnotificationbroke
rviewer



I hope this helps.





Liam Cavanagh
Sr. Product Manager
Certified ASA Developer Version 8
iAnywhere

"Madhu Siddalingaiah" < msiddalingaiah@bcbsa
l.org> wrote in message
news:442af71c$1@foru
ms-2-dub...
>
> I'm running v9.0.2.3249 on Pocket PC with C# Visual Studio 2003.
>
> How do I start a wireless connection on a mobile phone?
> We can do it manually by dialing #777 or open a web browser, which
> initiates a connection. Either way, our app then has network access and
> can synchronize wirelessly.
>
> We would like to start the wireless connection automatically (if it's not
> already established). I didn't have any luck figuring this out on my own.
>
> Thanks!



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com