WebRequest & GPRS - Windows Mobile Development and Hacking General

Hi all,
i`m developing an application which sends periodically (every 15 sec) GPS data from the XDA (Orbit 2) to an application server via GPRS. On every XDA i`ve tested so far i had the same problem, after some time (can be some minutes or some hours) the device hangs. Then you get every 20 seconds a time slot for 2 or 3 seconds to do something, but you can only make an soft reset to work on.
I`ve sent the data with SOAP to an webservice and with an stream to an servlet, it makes no difference.
If you get the chance to take a look at the connection time from the GPRS connection, it is still there an counting up, but the appliction can`t use it anymore.
In the log you find:
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
Several test where the appliction sends all the data over wlan were successfully, but i have to send it with GPRS. So problem should be the GPRS connection or the GSM modul in the phone.
Has anybody made an similar experience or have an workaround?
mis

Related

MDA Vario stops transfering GPRS data after minutes

Hi everybody, I have some troubles with my new MDA Vario here in Austria:
When the devices goes online (through scheduled Active Sync or manually when browsing the internet) GPRS data will be transmitted only a few minutes, after that no data returns over the air to the phone. The device IS connected (the 2 little arrows are visible).
With some network monitors (Phatnet for example) I can see that the MDA is trying to send packets to the GPRS net but nothing ever returns. I have to disconnect the GPRS transmission and reconnect, sometimes twice or 3 times before data flow starts again...
What's up here? Network signal quality is ok, I don't believe it's on the providers side (A1) because moving the Sim card in an older mobile does deliver error free GPRS connections for hours.
I have found a similar problem here : http://forum.xda-developers.com/viewtopic.php?t=32936
But my problem is not dependend on my phone usage...
Has anybody else seen this occuring?
Greetz B. Wagner
some additional information
Hi, did some additional research: This problem seems to be a provider issue, does anyone in Austria have the same problem with A1?
If that really is a provider problem, MSFP will never work... I hear a lot of cries right now... The data connection is stable from a few minutes to a max. of about 30 hours

GPRS/3G connection problem with o2 XDA Excec.

Hi guys,
I'm all new to your forum...
I have the o2 xdII, xdaIIs and now i'm using the xda Exec.
I have a strange problem that even o2 technical support team can't fix...
When i start internet explorer it will connect to either gprs or 3g (whatever is available). when i finish browsing the internet, i just close internet explorer and then close the connection by clicking the disconnect button. Where my problem is, is when i want to reconnect to the internet again (say 5 mins after i close the last connection), i cant get any connection whatsoever. I have a good receiption (gprs and 3g). And i have this weird message :
Dialed: mobile.o2.co.uk
The answering modem has disconnected. To check your connection settings and change them if needed, tap Settings.
So after a lot of talking with o2, i still have this problem.
I have tried to uprgrade to the new rom, and nothing, i have change the settings of the cennection, still nothing. i even changed the handset as i and o2 thought it could have been a faulty handset, but still nothing...
The only solution at the present is to do a soft reset everytime i want to connect to the internet... Its very annoying !!!!
Would annyone have a solution ??? Please ?????
Thank you in advance for your help....
Personally; I wouldn't suggest closing the connection and you won't get charged any extra.
this is easy to fix, but you will lose some software you've got installed.
I had this problem and have worked it out to be conflicts between software that handles the phone line. I had mortring, phonealarm and photo contacts pro installed and my gprs would not reconnect after the 2nd attempt. Putting the phone into flight mode and then back into normal mode would allow gprs to reconnect but only once.
So I uninstalled the above 3 applications one by one and found the gprs would reconnect great with only one installed (any one it didn't matter)
So try removing software that handles the phone line until your gprs reconnect works.
Daz

Messaging app kill ALL IP-based connection

Hello,
I've having problem where as I am unable to connect to T-Mobile GPRS/EDGE on my MDA. I thought it was caused by bad cell connection, but I tested this with my hx4700 and N90 and I always have good connection.
I did some investigation and noticed that the connection was made, but no data can be passed through. After several days of investigation, I can make an accurate assumption that it was the MESSAGING application that is causing it.
I had the Messaging application to check for mail every 15 minutes and it'll automatically do so without fail all day long. But the connection stays on and if I try to connect via Internet Explorer, Weather Panel update, NewsBreak RSS update, or any other IP-based application, nothing get transferred. Even when I disconnect the connection and reconnect.
THe only way to fix this is to SOFT RESET the device.
Anybody know why?
Is anyone not having this problem? I.e. you set Messaging app for auto-check every 15 minutes and your EDGE/GPRS connection ALWAYS work (except in no-cell- signal area), be it for PIE, RSS, SSH, Telnet, etc.

WebRequest & GPRS

Hi all,
i`m developing an application which sends periodically (every 15 sec) GPS data from the XDA (Orbit 2) to an application server via GPRS. On every XDA i`ve tested so far i had the same problem, after some time (can be some minutes or some hours) the device hangs. Then you get every 20 seconds a time slot for 2 or 3 seconds to do something, but you can only make an soft reset to work on.
I`ve sent the data with SOAP to an webservice and with an stream to an servlet, it makes no difference.
If you get the chance to take a look at the connection time from the GPRS connection, it is still there and counting up, but the appliction can`t use it anymore.
In the log you find:
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
Several test where the appliction sends all the data over wlan were successfully, but i have to send it with GPRS. So problem should be the GPRS connection or the GSM modul in the phone.
Has anybody made an similar experience or have an workaround?
mis

Data Connection Problems?

Has anyone else had the problem that you go online and surf the web then maybe a couple of hours later you launch Opera again to go online and it just hangs (the data connection not opera)?
The only way to make it connect is to turn off the data connection then it will log back on...
JetMouse said:
Has anyone else had the problem that you go online and surf the web then maybe a couple of hours later you launch Opera again to go online and it just hangs (the data connection not opera)?
The only way to make it connect is to turn off the data connection then it will log back on...
Click to expand...
Click to collapse
yeh iv been getting that problem for sometime now, its frustrating, sometimes i even have to soft reset to get the data connection working. It shows that the data connection is fine and everything seems connected, but then when you try and update weather or browse the web (anything that uses data) you end up getting an error,
its very similar to the problem you get on your home broadband, your router shows its connected and your dsl and everything is active yet you get a white page on your browser and then you have to reset your router, very very frustrating, so i understand your problem exactly.
I'm wondering if this is anything to do with changing cells on your network?
When you travel to a different cell location although the network says you are still connected (and you can still send/receive calls) the data network has actually dropped and needs refreshing?
I suppose what we are after is a program that can refresh the data network every few mins - don't know if this is possible though?
Here in Germany o2 has a problem with the Qualcomm Chipset. I also have hanging connections. A workaround is to disable HSDPA. Maybe you have the same problem?
same problem here (also o2 Germany)
the 3G icon is there and the bubble says there is a connection for x minutes but opera or google maps mobile report a missing connection after a short time of usage. i have to kill the connection manually and after the connection is reestablished it works again for few minutes...... this is so frustrating...
GPRS
Same problem in Czech republic with O2 provider.
At this moment I found as a fastest way to switch off and on the radio.
I'm using most of the time GPRS connection and this problem is about two times per day so reconnection every day two times is really annoying.
Hopefully somebody will find solution soon...
My problem is slightly different. Sometimes (after using Opera or not) I try to refresh weather and it says "refreshing" but the data connection won't connect (it shows antenna, no arrows with H or 3G). I must then soft reset the PDA to make it work. Any solutions or similar experiences?
Blackstone data connection problems
I have been getting the same problem for sometime now, it is very frustrating, I always have to soft reset to get the data connection working. It shows that the data connection is fine and everything seems connected, but then when you try and update weather or browse the web (anything that uses data) you end up getting an error.
I try to refresh weather and it says "refreshing" but the data connection won't connect (it shows antenna, no arrows with H or 3G). I must then soft reset the PDA to make it work.
I am also wondering if this problem is limited to Blackstone (HTC Touch HD) or extends to HD2 also?
I have noticed that no one ahs posted any solution.
Comeon senior guys PLEASE help us out here.
Many thanks in advance.
Kam2kam, question, What rom are you using, and are you using activesync? If so, have you downloaded any email attachments? I was having the same problem where a couple of times a day I would have to soft reset. The connection would look fine, but if you tried to update anything or browse the net you were met with an error. It was frustrating. I finally narrowed the issue down to activesync and the new manila documents tab. My theory was that when I downloaded an attachment to view in the documents tab activesync would continue to sync the attachment each time it polled for new mail. Since activesync is often slow to sync attachments, my connection to the VPN would timeout before it could finish syncing causing the dreaded "waiting for network". My thought was my VPN connection would freeze thereby preventing my carrier internet from being able to connect; since, at least for me, you cannot have two different data session running simultaneously, i.e. VPN connection and the carrier's connection. The only cure was to soft reset. Ultimately what I did was hunt down any and all email attachments that I had dowloaded, and deleted them all. Since then my data connection went from freezing up twice a day to zero times a day and it's now been over two weeks.
You may not have the same set up as I do, but perhaps there may be something similar going on.
I hope that helps a bit.

Categories

Resources