|
|
|
start date: Mon, 20 Aug 2007 07:27:10 -0700,
posted on: microsoft.public.dotnet.framework.compactframework
back
| Thread Index |
|
1
Gotch@
|
|
2
Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
|
GPRS connections doesn't start automatically.
Hi,
I'm creating an application for the Windows Mobile platform,
using .NET CF 2.0. This application uses UDP packets (they want it
this way) and if I use it with the device wireless network, it works
flawlessly. Now if I try using it with the GPRS connection (of course
I first disable the active WIFI connections) it simply doesn't work.
The only way I can get it working is by starting Internet Explorer so
that it triggers the GPRS connection. Every application can trigger it
but mine. I also tried to put a simple TCP connection to a host (Just
in case it's shy with UDP packs..) but doesn't work either... so I
really can't figure out what may be missing. Everything works just
fine if I start the GPRS connection with another application. But I
can't find the classes to do this is C#. Do you have any hints???
Date:Mon, 20 Aug 2007 07:27:10 -0700
Author:
|
Re: GPRS connections doesn't start automatically.
You have to contact the Connection Manager and ask it to make a connection,
if there's no other connection you want to use. I'm sure that, if you
search the archives of this group,
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/topics?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8
OpenNETCF Smart Device Framework wraps the APIs that you need to call.
Paul T.
"Gotch@" wrote in message
news:1187620030.350736.224350@22g2000hsm.googlegroups.com...
> Hi,
> I'm creating an application for the Windows Mobile platform,
> using .NET CF 2.0. This application uses UDP packets (they want it
> this way) and if I use it with the device wireless network, it works
> flawlessly. Now if I try using it with the GPRS connection (of course
> I first disable the active WIFI connections) it simply doesn't work.
> The only way I can get it working is by starting Internet Explorer so
> that it triggers the GPRS connection. Every application can trigger it
> but mine. I also tried to put a simple TCP connection to a host (Just
> in case it's shy with UDP packs..) but doesn't work either... so I
> really can't figure out what may be missing. Everything works just
> fine if I start the GPRS connection with another application. But I
> can't find the classes to do this is C#. Do you have any hints???
>
Date:Mon, 20 Aug 2007 08:43:30 -0700
Author:
|
|
|