XDA2i auto connect GPRS - Windows Mobile Development and Hacking General

I have created a few apps using www.pocketpccreations.com (plug for an excelent product). The problem I am having is the GPRS connection drops every time the phone is used and thus the server loses the connection with the xda. My app needs a perminent connection so I can update Jobs, prices lists, program updates etc.
There is no wake up GPRS command available in pocketpccreations, is there a standalone app that will switch the GPRS back on (ie similar to doing a send and recive in messaging) whenever it drops?

Related

Why can't some apps establish a gprs/umts connection ?

When I use total commander's ftp client to connect to an ftp server , total commander itself is not able to establish a gprs/umts connection. I must already be connected (for example open pocket ie before I start ftp) to get it to work. This strange behavior I have also seen in other applications (i.e. pocketirc cannot connect to an irc server if I don't start pocket IE before). Why is that so ? And what can I do about it ?
I had the same problem when I started using ThunderHawk. I had to open Pocket IE to get a connection, close it and then open ThunderHawwk.
Using the always-on GPRS in the wiki (http://wiki.xda-developers.com/index.php?pagename=Universal_Registry) solved that issue for me.
Hopefully, that will work for ftp, as well. Let us know.
Boinger
what does that always on registry hack REALLY do ? Does that mean my phone will have a constant GPRS connection ? Does that not mean I must not forget to disconnect manually when I close the phone? Will that not increase the traffic ?
It is kind of an all or nothing deal. If you have ANY programs that can access GPRS data, this hack will allow it. Also, be aware that if you manually disconnect, the connection will automatically re-establish 5-10 sec later while using this hack.
As an example, I use PocketWeather, which I have setup to update every hour. It will update using GPRS if it is not Activesync-ing, every single hour of every day. If you have to pay for data by the amount used, it may not be attractive. I have an unlimited use plan through T-mobile USA for $20/month, so I just don't have to worry.
Other than this hack, I believe you will have to connect the hard way.
Strangely enough, my old PDA phone (hp 6315) would connect just fine with ThunderHawk. It also had a choice under the taskbar 'Connectivity' pop-up bubble for 'GPRS (T-Mobile)' that I could use to easily connect or disconnect. My Jasjar only lists 'T-Zones GPRS (GPRS, 3G)' in the pop-up only when it is connected. So, I suspect that the issue is either with WM5 or T-Mobile added something to the ROM of the 6315 to make it more functional with their network.

GPRS Question

GPRS is new territory for me. I'm planning to apply for a GPRS acct with my telco
I'm afraid that once I've configured the settings for internet via GPRS from my telco, it will always use GPRS whenever I want to connect to the internet.
How do I switch back to normal mode when I'm at home and accessing the internet thru ActiveSync?
On my EXTENDED_ROM, there is a file called vodafone.CAB which will configure my phone with Vodafone settings (I'm with Vodafone). Whenever I run that file (after a hard reset), I cannot access the internet via ActiveSync. Everytime I run PIE, it always defaults to GPRS.
I don't know how to switch to use internet via activesync once I'm on the GPRS plan and then switch back to GPRS when I'm not at home.
If you are concerned about it using GPRS once you are connected to ActiveSync you could always switch to flight mode. Not ideal, I admit, if you use your phone alot and don't like it being turned off.
I had two profiles on mine, one GPRS and one dial up. Even when I set the default to the dial up (CSD) it still tried to use GPRS. Fault with my pocket PC only? maybe. What was strange was that even after I deleted the GPRS profile and soft reset it still was using GPRS! I had to hard reset in the end.
So, I would backup your pocket PC before installing the GPRS profiles.
If you have a large bandwidth then it probably won't matter to you but if not I would definately install a bandwidth monitor as you may also find that some apps you install may also try to periodically get internet access.
The problem with Windows Mobile 2003 is that you can't seem to tell it to ask you first. Microsoft seem to think that you either want GPRS on permanently or don't use it at all. I am sure there are a lot of people out there who just want to use it from time to time. If an app wants internet it just goes and gets it!
Having said that, even with CSD, it will still dial out when it wants. To get around that problem I created 2 profiles, one of which doesn't have a userid and password. I set the default profile to the one without userid. That way if something tries to get internet access it first asks the user to enter their userid and password - in effect it safeguards against a rogue dial out.
I personally don't use GPRS as I found out that my CSD access will use my free minutes. Since I hardly use my phone for voice calls I may as well make use of the free minutes for internet access.
Ok did some searching around ppcsg, apparently you can turn off GRPS by pressing the RED button (the disconnect talk button) and holding it for a few seconds.
Or use this tool
http://www.pocketpcfreeware.com/en/index.php?soft=1123
Question is whether once the GPRS is turned off, will internet access be automatically be directed to the ActiveSync connection (assuming I'm connected via ActiveSync)
To use internet via AS you should configure 'my work network' correctly under the 'connections' settings. The 'my isp' connection is meant for dial-up & gprs access to the internet.
Sadly can't tell how to do it in detail as my magician is my wireless modem & at work the connection isn't allowed. Maybe the help files are of any use in this.
Cheers, M
yes, mine, just automatically uses my internet connection thro' my PC with AS, but as soon as I disconnect from my PC, my Qtek switches over to GPRS.. which is pretty cool.
dood, care to share how you achieve this?
I suppose the question is, if you are connected to a PC which is on the internet, why would you want internet access on the Magician anyway? Why not just use Thunderbird or other web browser?
Outlook will sync the inbox for e-mail when connected via activesync...
The joy of surfing the net while watching TV lying on the bed..can't really do that wth a laptop..too heavy

GPRS connection automatically opens.

Hey,
I've set my mobile to check my emails every two hours and naturally it connects to the servers via GPRS. That's not the problem, but the connection stays on until I manually turn it off. Consumes awful amounts of battery without doing anything useful.
Is there a way to make the phone drop the GPRS connection after it has checked the emails?

How to keep GPRS connection alive

We have a WinMob application that sends and receives data over GPRS; and it works.
The problem we have occurs when the vehicle based PDA goes into an area of poor reception and WinMob thinks the data connection is working but no data is being transmitted. The application currently issues a disconnect request to the WinMob connection manager but WM6.* keeps the data connection.
We would like the PDA to drop the data connection and re-connect automatically when the application resumes data transmission after a short programmed delay.
We have tried changing the PDA's registry setting from ~GPRS! to GPRS_bye_if_device_off and setting a (90 second) timeout and this works. Except that even though the PDA issues a UDP packet to one of our servers every minute to keep a push link alive, WinMob ignores this packet and drops the connection ~100 seconds after connecting.
What do we need to receive/transmit to convince WinMob that the data connection is active? DO we need to issue a http get request after sending the UDP? We don't want to send/receive more data than we need (large phone bills!).
keep alive
tracktrans said:
We have a WinMob application that sends and receives data over GPRS; and it works.
The problem we have occurs when the vehicle based PDA goes into an area of poor reception and WinMob thinks the data connection is working but no data is being transmitted. The application currently issues a disconnect request to the WinMob connection manager but WM6.* keeps the data connection.
We would like the PDA to drop the data connection and re-connect automatically when the application resumes data transmission after a short programmed delay.
We have tried changing the PDA's registry setting from ~GPRS! to GPRS_bye_if_device_off and setting a (90 second) timeout and this works. Except that even though the PDA issues a UDP packet to one of our servers every minute to keep a push link alive, WinMob ignores this packet and drops the connection ~100 seconds after connecting.
What do we need to receive/transmit to convince WinMob that the data connection is active? DO we need to issue a http get request after sending the UDP? We don't want to send/receive more data than we need (large phone bills!).
Click to expand...
Click to collapse
I use android emulator to ping a google
eg ping google.com
Terminal emulator app for android keeps connection alive. Go to playstore and get it
Sent from my GT-I8260 using XDA Premium 4 mobile app

[HTC Touch, WM6.1] GPRS/EDGE connection problem

Hello,
I own HTC Touch p3450 operator Tele2 Croatia. The network is fully functional, but I've got a few problems.
1. If the phone is not connected to wifi, and I start app like opera, weather forecast or email, the phone automatically connects to GPRS without any questions asked. This is irritating because often I have available hotspot, but phone connects to gprs instead and drains money.
Is it possible to force wm to ask every time if I'd like to connect to gprs, rather than automatically connecting?
2. After the gprs connection is made, it will remain connected until manually disconnected.
Is it possible to automatically disconnect from network after closing app like opera instead of manually switching it off every single time?
Thanks

Categories

Resources