ive searched but couldnt find the regedit tweak.
Code:
HKLM\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\(GPRS connection name)\AlwaysOn = 1 (DWORD decimal
Related
Hi
I wondered if anyone has any tips on using Wininet over GPRS. I'm currenct using eVc 4 to write an application that sends data to a web server using the Wininet HttpSendRequest or HttpSendRequestEx Functions. The problem I get is when I try to send more than about 10k of data I get a server timeout using the GPRS connection but everything seems fine when I have the XDAii in the cradle.
Ok so the problem seems to be GPRS being slow and unreliable but I have experimented with sending the data in 1k chunks and the problem comes when trying to end the http request with HttpEndRequest. I have checked the server timeouts on my IIS server and they are all set to 15 minutes.
Does anyone have any clues?
This is the code I use to do a similar thing with a photo which works quite well
Are you setting the response to nothing?
GPRS is very unreliable but I have managed to send 70k files over it.
==========
Private Function FileUpload(ByVal sURL As String, ByVal sFile As String) As String
On Error GoTo eh
Dim binReader As BinaryReader
Dim byteArray() As Byte
binReader = New BinaryReader(File.OpenRead(sFile))
byteArray = binReader.ReadBytes(binReader.BaseStream.Length)
Dim httpURI As New Uri(sURL & sFile)
Dim httpRequest As HttpWebRequest = httpRequest.Create(httpURI)
httpRequest.Method = "POST"
httpRequest.ContentLength = binReader.BaseStream.Length
Dim httpReqStream As Stream
httpReqStream = httpRequest.GetRequestStream
httpReqStream.Write(byteArray, 0, byteArray.Length)
httpReqStream.Close()
Dim httpResponse As HttpWebResponse
httpResponse = httpRequest.GetResponse
Dim sResponse As String
sResponse = CStr(httpResponse.StatusDescription)
FileUpload = "OK"
httpResponse.Close()
binReader.Close()
httpURI = Nothing
httpRequest = Nothing
httpReqStream = Nothing
binReader = Nothing
httpResponse = Nothing
byteArray = Nothing
Exit Function
eh:
MsgBox(Err.Description)
binReader.Close()
FileUpload = "ERROR"
httpURI = Nothing
httpRequest = Nothing
httpReqStream = Nothing
binReader = Nothing
httpResponse = Nothing
End Function
===================
My code seems to be fine as when I used my mates Vodafone sim in the Xda ii I was able to send a 40k file straight away. It seems there is a limit somewhere around the 8-9k mark in the O2 gprs apn. I have to now get on to 02 and find out how they will let me send more than 8k at a time.
There is a problem with O2. They had to give me a new username and password to log onto their network, which has different privileges, to get around it.
Good Luck
all im seeing is ways to keep it connected, i checked wiki and there is only ways to keep gprs on!
I don't think there is a way to make it automatically disconnect after sending an MMS. The only ways I've seen require user intervention, eg a button press or screen tap...
Add a 'Disconnect' button (and Timer) to the Connection List for GPRS
To add a Disconnect button:
HKLM\ControlPanel\Phone\Flags2 = 8 (DWORD decimal)
To add a Disconnect button and a timer display showing how long GRPS is in use for the session:
HKLM\ControlPanel\Phone\Flags2 = 16 (DWORD decimal)
To disable both the Disconnect button and the timer:
HKLM\ControlPanel\Phone\Flags2 = 0 (DWORD decimal)
Once you've done that, and soft reset etc, you can tap the G icon and press disconnect.
OR
Press and hold the red call-end hardware button for a few seconds and you'll see the GPRS icon change from connected to disconnected.
Check in MMS Settings->About if you are using ArcSoft MMS Composer. If so, go to HKLM\SOFTWARE\ArcSoft\ArcSoft MMS UA\Config\UI registry key and check if integer parameter called AutoDisconnect is present and set to 1. I guess it is auto disconnect after sending/receiving MMS. I have it already delivered in Extended Rom cab file containing MMS settings from my operator.
im using the default poutlook.exe app for my MMS
in the qtek 9100 external rom, there is a cab file called "MP_MMSAutoDisconnect_060106.CAB" that does this.
hmm ill check that out then
SkyyBoy said:
in the qtek 9100 external rom, there is a cab file called "MP_MMSAutoDisconnect_060106.CAB" that does this.
Click to expand...
Click to collapse
i dled the 3 ext_rom files on ftp not seeing this file.. can u post?
here it is!
This .cab does exactly the same in registry
Anyway, thanks for it, may be helpful to fast re-enable auto disconnect after HR.
i have set 1 but it doen't work
Try this, worked for me
http://www.gb-soft.cz/XDAII/product_gprs_tweak_wm5pe_en.htm
i forgot all bout that program i used it on my hp6515. thank you
i just got a MDA replacement, and unlike my old MDA, this one does not update its time after i reboot. I realize this after a battery change, and i tried to find out why.
I tested with the old1.08ROM, 2.26ROM, and i am using XDA's WM6 ROM, and my MDA just won't sync the time with tmobile. I have to manually adjust the time every times!
does any one have this issue, and perhaps know to fix it?
thanks
Is there a time sync tab in your phone settings. If so, ensure that the checkbox is checked. If not, try this reg tweak from the wiki then enable the checkbox.
HKLM\SOFTWARE\OEM\PhoneSetting\ShowTimeZonesPage = 1 (DWORD decimal)
the reg key is there already. but I don't have an option where it say sync time.
zakhir_n said:
Is there a time sync tab in your phone settings. If so, ensure that the checkbox is checked. If not, try this reg tweak from the wiki then enable the checkbox.
HKLM\SOFTWARE\OEM\PhoneSetting\ShowTimeZonesPage = 1 (DWORD decimal)
Click to expand...
Click to collapse
thanks for answering this question...your response saved me a great deal of heart ache....
How to remove sim contacts to be displayed in contact list in Tmobile Wing?
Registry: HKCU\ControlPanel\Phone
Key: ShowSim (dWord)
Value: 0 = hide
After some hours of searching a way to polling emails and update weather over GPRS connection even if the phone is on stand-by, I found a way that works (at least for me)!
It is a combination of tricks already posted on this forum but in a way that makes Outlook and Weather to update automatically at preseted intervals and after that to close the GPRS connection.
It is something like that:
GPRS off -> GPRS on -> Outlook/Weather update -> GPRS off
There are some registry settings:
HKEY_LOCAL_MACHINE\Comm\ConnMgr\Planner\Settings\
CacheTime = 120
SuspendResume = GPRS_bye_if_device_off
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Resuming\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
Default: 1
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\State\Resuming\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}
Default: 2
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
Default: 1
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Unattended\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
Default: 1