Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wifi and CF

6 views
Skip to first unread message

Pablo Nogues

unread,
Oct 30, 2009, 8:32:28 AM10/30/09
to
Hi, i need to develop a Mobile App (WM 5.0 Pocket PC ) that use any wifi AP
to consume a web service.
My question is how can i connect programatically from my app to any AP ? Are
there any dll ? I could not find any resource into the SDK.

Can anybody send me any paper, link or code sample about it ?

Thanks in advace.


Paul G. Tobey [ eMVP ]

unread,
Oct 30, 2009, 5:04:01 PM10/30/09
to
No. WiFi is a network. How it gets to the rest of the network, though the
access point for example, you completely ignore. Set up to consume your Web
service and, if you're connected to the right network where it is, you should
not have to do anything, any more than you would have to do anything from
your PC to connect to the Internet over WiFi. Once the connection to the
wireless network is made, you ignore it.

The only problem I can see that you might be having is connecting the device
to the access point. If, for example, you want to programmatically connect
to that network, rather than have the user select the network name, enter the
passphrase, etc. In that case, ask about that. Otherwise, you don't have to
do anything.

Paul T.


"Pablo Nogues" wrote:

> .
>

Milagros

unread,
Nov 2, 2009, 9:03:10 AM11/2/09
to
Hi Paul, yes i need to connect to wifi from my application.
How can i access from my app to the networks that i have ?

thanks in advanced


"Paul G. Tobey [eMVP]" <paultobey _at_ earthlink _dot_ net> escribi� en el
mensaje news:BA6FD831-4632-422E...@microsoft.com...

Paul G. Tobey [ eMVP ]

unread,
Nov 2, 2009, 10:05:01 AM11/2/09
to
You're sure about that? If you don't really need to do that, you're making
things very difficult for yourself.

If you really do need to handle the connection, because you are a
full-screen application that takes over the user interface of the device and
does not allow Windows Zero Config to show its dialogs, then get the
OpenNETCF Smart Device Framework. The network classes there allow you to
attach to new networks of all types, break connections, etc.

Paul T.

"Milagros" wrote:

> Hi Paul, yes i need to connect to wifi from my application.
> How can i access from my app to the networks that i have ?
>
> thanks in advanced
>
>

> "Paul G. Tobey [eMVP]" <paultobey _at_ earthlink _dot_ net> escribió en el

> .
>

Pablo Nogues

unread,
Nov 2, 2009, 10:53:33 AM11/2/09
to
My app it�s not full screen. So i think i will make difficult my self.

Which is your suggestion ?

You say that the user connect manually the connection ?

"Paul G. Tobey [eMVP]" <paultobey _at_ earthlink _dot_ net> escribi� en el

mensaje news:0565C187-1EF7-4661...@microsoft.com...


> You're sure about that? If you don't really need to do that, you're
> making
> things very difficult for yourself.
>
> If you really do need to handle the connection, because you are a
> full-screen application that takes over the user interface of the device
> and
> does not allow Windows Zero Config to show its dialogs, then get the
> OpenNETCF Smart Device Framework. The network classes there allow you to
> attach to new networks of all types, break connections, etc.
>
> Paul T.
>
> "Milagros" wrote:
>
>> Hi Paul, yes i need to connect to wifi from my application.
>> How can i access from my app to the networks that i have ?
>>
>> thanks in advanced
>>
>>

>> "Paul G. Tobey [eMVP]" <paultobey _at_ earthlink _dot_ net> escribi� en

Paul G. Tobey [ eMVP ]

unread,
Nov 2, 2009, 2:32:01 PM11/2/09
to
Windows CE has a user interface that should pop up when you activate a WiFi
card (plug in a USB stick, insert a Compact Flash or PCMCIA card, insert an
SDIO card, etc.) It should show the list of 'audible' access point SSID
values and allow you to choose one and connect to it. I don't see why your
user wouldn't already be doing this. To activate the user interface
manually, double-tap the wireless network icon in the system tray.

Paul T.

"Pablo Nogues" wrote:

> My app it´s not full screen. So i think i will make difficult my self.
>
> Which is your suggestion ?
>
> You say that the user connect manually the connection ?
>

> "Paul G. Tobey [eMVP]" <paultobey _at_ earthlink _dot_ net> escribió en el

> mensaje news:0565C187-1EF7-4661...@microsoft.com...
> > You're sure about that? If you don't really need to do that, you're
> > making
> > things very difficult for yourself.
> >
> > If you really do need to handle the connection, because you are a
> > full-screen application that takes over the user interface of the device
> > and
> > does not allow Windows Zero Config to show its dialogs, then get the
> > OpenNETCF Smart Device Framework. The network classes there allow you to
> > attach to new networks of all types, break connections, etc.
> >
> > Paul T.
> >
> > "Milagros" wrote:
> >
> >> Hi Paul, yes i need to connect to wifi from my application.
> >> How can i access from my app to the networks that i have ?
> >>
> >> thanks in advanced
> >>
> >>

> >> "Paul G. Tobey [eMVP]" <paultobey _at_ earthlink _dot_ net> escribió en

> .
>

0 new messages