Internect connection Bluetooth -> Phone GPRS

M

Mats Boberg

Hi,

I have a problem with our pocket pc application automatically connecting to
internet via GPRS when calling a webservice. It seems that the call to the
webservice timesouts, before the connection is established and exception is
raised.

We solved it by checking connection to internet, by doing an request for a
webaddress 2-3 times (the code is published here and on devbuzz and on other
sites, but this is not good when you using gprs due to the high traffic cost
and it is slow.

It would be nice if you could setup the connection ( and close it) to the
internet by cod.

Do anybody else have the same problem? Any solutions for the problem?


/Mats Boberg.
 
F

Francesco

Mats Boberg said:
Hi,

I have a problem with our pocket pc application automatically connecting to
internet via GPRS when calling a webservice. It seems that the call to the
webservice timesouts, before the connection is established and exception is
raised.

We solved it by checking connection to internet, by doing an request for a
webaddress 2-3 times (the code is published here and on devbuzz and on other
sites, but this is not good when you using gprs due to the high traffic cost
and it is slow.

It would be nice if you could setup the connection ( and close it) to the
internet by cod.

Do anybody else have the same problem? Any solutions for the problem?


/Mats Boberg.

I'm in trouble too with the same issue, I'm working on it.
I use the OpenNetCF connection manager to open and close
disconnection, and this is simple to use... you just need to define
some different destinations if you want to be able to choose between
them (the default destinations are "default internet settings",
"bluetotth settings", "work settings".. etc.
My problem is that i need to create connections via code.
So if you can just create connections and destinations via GUI, the
solution is simple. If you need to do everything via code, tell me,
I'post some code (still bugged at the moment :D )

Hope this helped.
Bye
Francesco
(e-mail address removed)
 
M

Mats Boberg

Hi Francesco,

Thanx for the tip!

I'll check out OpenNetCF.

Please e-mail me the code.

Thanx,

Mats.
 

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