Wifi and CF

P

Pablo Nogues

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.
 
P

Paul G. Tobey [eMVP]

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.
 
M

Milagros

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
 
P

Paul G. Tobey [eMVP]

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.
 
P

Pablo Nogues

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 said:
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 said:
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:[email protected]...
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.


:

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.


.


.
 
P

Paul G. Tobey [eMVP]

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 said:
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 said:
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 said:
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 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.


:

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.


.



.


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top