Automatic connections (Wifi/3G) - Windows Mobile Development and Hacking General

Hi everyone!
I've had PDA phones since a couple of years now, and I've always been searching for something.
Here is my problem:
When the phone needs an internet connection, windows mobile automaticaly tries to connect with the 3G connection.. As I don't have an unlimmited 3G connection, it's very annoying..! That's why I have to manually turn the Wifi "ON"
What I am searching for
I'd like a very intuitive and simple software that ask (with a popup for example) which connection to use (Wifi/3G) when the phone needs the internet.
Hope you understood what i'm searching for..!

While not a solution NoData might help part of your problem in the interim.
http://www.modaco.com/content/pocket-pc-software/246171/new-free-utility/
It will at least let you disable 3G/GPRS when you need to so you don't go over.

Thanks for the answer, i know this solution.. But that's not really what i'm searching for..!

Maybe You can create a fake connection for 3G so the phone doesn't get to connect? Just an idea, haven't tried. It still leaves the WiFi problem - why there isn't an option to select which connection to use if one is needed...

depending on what rom you have im sure comm manager has buttons for wife and data connection, with basic on off control for each.
However Id have thought someone could write something which would switch between data connection enable and wifi disabled (when out and about) and the other way around when you have wifi available and dont want to use up your 3g allowance.

I don't think it's that easy
that Comm part is build into WM, so the developer would need to write a new shell that acts as internet and gives you the option of selecting the connection..
I do like the idea though

hmmm,
is perhaps feasible with Mortscript?
In which one intercepts the “Internet” call and then by Popup the choice would have?

Related

Cingular 8525 - Can we disable GPRS/EDGE and use only Wi-Fi ?

Is it possible to setup the 8525 so that it only connects to internet through Wi-Fi and not any of the other options? Based on some threads, it looked like Cingular has disabled this option, but I am not quite sure. Thanks.
The only way I was able to do it was to call Cingular Tech and have them disable the GPRS on their end, now if I go to PIE and the WiFi is off, the GPRS/EDGE Connection pop-up opens, then I get an error message saying the network could not be found and a dismiss icon....
The only way it will connect to IE is through WiFi now.
ringostar said:
Is it possible to setup the 8525 so that it only connects to internet through Wi-Fi and not any of the other options? Based on some threads, it looked like Cingular has disabled this option, but I am not quite sure. Thanks.
Click to expand...
Click to collapse
if you go to settings then connection and delete the connection settings for gprs it will not connect and you can use wifi only
however i seem to keep getting gprs not connected error if i do so?
I'm having the same problem. I'm totally green to the high tech world. Heck this is my first attempt at anything greater than using my calculator function in a phone So if someone could walk me through what I need to do to set my phone up so I can connet through wifi i would reaaaally appreciate it.
I had Cingular put me on the no data plan (not even pay per use). In case that makes a difference.
Thanks in advance for the help.
All I did was go in to the connection settings and change the User name and Password. I do not get any error messages stating the network cannot be found. I get a login screen with User/Pass and Domain. I just click cancel and it drops back to IE.
Now I do not have to worry about accidentally connecting to their service.
well,we can very much achieve it -- In the internet settings in connections,select both of them to My ISP,edit it to nowap.cingular.com
Make sure setting is set to Internet,not work!
I did it and I use only wifi all the time!!
The previous solutions are not really workable for me since I don't want to delete my cellular data connection, I just want to be able to turn it on and off as I choose. With Windows Live, I can have a Wifi connection and turn off cellular data in the comm manager screen and it will just open the cellular connection again.
A hack to turn off the "auto connect" for the cellular data would be great. Make it like the BT or WIFI, where I have to go to the comm screen and turn it on. That choice would be great.
Anyhow, I am thinking of making the Work connection as the default, then deleting all work connections. Then when I actually want a cellular data connection, I could manually select it and say connect. I'm not sure if the applications will close it and try the work connection again or not. I will try it and post again, probably tomorrow.
MM
This works wonders:
http://www.benrichards.co.uk/?p=180
ETA: This is what I have been using to deal with gprs autoconnect on my 8525 and it's perfect for my uses. You just start the program and toggle on or off the data connections.
Gprs Disable
It really works thanks for your research

Network selection hierachy - Wifi vs GPRS (Kaiser)

When I'm in the house (and assuming I've got the wifi switched on on the Tytn 2), how do I get it to use the Wifi to access the Web as a first option?
Even when its connected to my wireless LAN (which it does with no problems at all - much better than my old Wizzard), if I launch Explorer it automatically makes a GPRS connection. The only way to force it to use the Wifi seems to be to turn the Phone off in the comm manager - which then means I can't receive any calls.
I can't find any setting that dicates the network hierachy i.e. that says if there is a Wireless LAN connection then don't bother with GPRS, or if there isn't, then use GPRS.
I seem to recall there was something similar on desktop Windoze where you could have it automatically use a dial up connection if there was no LAN available.
Can anyone help?
Iain.m said:
When I'm in the house (and assuming I've got the wifi switched on on the Tytn 2), how do I get it to use the Wifi to access the Web as a first option?
Even when its connected to my wireless LAN (which it does with no problems at all - much better than my old Wizzard), if I launch Explorer it automatically makes a GPRS connection. The only way to force it to use the Wifi seems to be to turn the Phone off in the comm manager - which then means I can't receive any calls.
I can't find any setting that dicates the network hierachy i.e. that says if there is a Wireless LAN connection then don't bother with GPRS, or if there isn't, then use GPRS.
I seem to recall there was something similar on desktop Windoze where you could have it automatically use a dial up connection if there was no LAN available.
Can anyone help?
Click to expand...
Click to collapse
I'm now getting the same thing using Emoze - the thing is sitting here connected to the Wifi & will sync mail & contacts etc over the wifi quite happily - but as soon as I try & send mail from the handheld it starts up not one but two GPRS connections (!) Much the same as if I try & get a web page up - it automatically goes to GPRS as its default route to the internet despite that fact that its already connected via wifi & the only way to stop this behaviour seems to be to switch the phone off in Comm Manager.
Seems to be something inherrantly odd about the way the Tytn 2 is deciding what network connection is available & which it should use. It looks like it needs a little control application to sit between the IP stack & the hardware so that when a request comes it can be routed according to user preference - i.e. Use WIfi if available, Only use GPRS etc The Wifi doesn't seem to fire up a connection when it feels like it - only the GPRS. Do all the HTC devices with WIfi behave this way?
In the meantime, does anyone know of a simple way to turn off/disable GPRS without disabling the phone?
WHile I have plenty of GPRS data allowance in my package when I'm in the house at my desk (or anywhere else I can get a wifi connection) I'd rather it just used the Wifi to sync itself or if I decided call up a web page.
Besides, it interferes with the hi-fi speakers in my study with that annoying buzzing noise everytime the GPRS gets busy.
I.
Hi guys,
I use 3 different wifi networks during the course of a day, well 2 a day, 3 through out the week probably. Home/Work/Friends house
I have a very small data package (5mb) so i am very choosy about when I use my data connection!
Anyways, did some testing.
I already know that if I have no wifi, no data connection on, then I try and start outlook or Internet Explorer, then my data connection starts up (as it should)
now if i have my data connection on, then i turn on wifi on the phone, the wifi connection takes over and the data connection is not being used, even though it's on.
I also have no problems with when wifi is on and data is off, and if i goto outlook or IE, that gprs decides to go on. this does not happen tome (unless for some strange reason wifi cuts out, gprs tries to take over)
So i dont know if its something with your settings or not, maybe your phone goes to sleep and wifi turns off then gprs takes over, or i could be misunderstanding your question, because now that I think about it, perhaps you are asking something like..
- at home no wifi or data connection is active at that moment
- you navigate to a page in IE and instead of gprs turning on, wifi turns on/scans for lan and uses that
Yeah, that's probably waht you are asking.. haha yahoo for long winded useless post
If you figure it out, i want to know! lol
Iain.m said:
I'm now getting the same thing using Emoze - the thing is sitting here connected to the Wifi & will sync mail & contacts etc over the wifi quite happily - but as soon as I try & send mail from the handheld it starts up not one but two GPRS connections (!) Much the same as if I try & get a web page up - it automatically goes to GPRS as its default route to the internet despite that fact that its already connected via wifi & the only way to stop this behaviour seems to be to switch the phone off in Comm Manager.
Seems to be something inherrantly odd about the way the Tytn 2 is deciding what network connection is available & which it should use. It looks like it needs a little control application to sit between the IP stack & the hardware so that when a request comes it can be routed according to user preference - i.e. Use WIfi if available, Only use GPRS etc The Wifi doesn't seem to fire up a connection when it feels like it - only the GPRS. Do all the HTC devices with WIfi behave this way?
In the meantime, does anyone know of a simple way to turn off/disable GPRS without disabling the phone?
WHile I have plenty of GPRS data allowance in my package when I'm in the house at my desk (or anywhere else I can get a wifi connection) I'd rather it just used the Wifi to sync itself or if I decided call up a web page.
Besides, it interferes with the hi-fi speakers in my study with that annoying buzzing noise everytime the GPRS gets busy.
I.
Click to expand...
Click to collapse
You should be able to use the comm manager to turn off the data connection, but as for keeping it off permanently, until you decide you want it to be even allowed to be active again maybe you can try this, it should disable your connection until you see fit.
http://www.modaco.com/content/Pocket-PC-Software/246171/New-FREE-Utility/
briggs81 said:
You should be able to use the comm manager to turn off the data connection, but as for keeping it off permanently, until you decide you want it to be even allowed to be active again maybe you can try this, it should disable your connection until you see fit.
http://www.modaco.com/content/Pocket-PC-Software/246171/New-FREE-Utility/
Click to expand...
Click to collapse
Great little utility , thanks very much for pointing that out - it at least allows me to do what I want manually - i.e. use my wifi without having to turn the phone off.
Although I know you can disconnect GPRS from the Comm manager, it also doesn't seem to have an idle time out so once an application (like Emoze) has started it up it keeps running in the background. Also, as soon as you turn it off, inevitably Emoze turns it straight back on! The NoData application gives much more control so thanks for that.
I do go abroad reasonably often so also happy to be able to use it for its primary purpose of disabling GPRS whilst roaming to avoid silly charges
It would be great if HTC could build a bit more intelligence and control into the network side of these things though.
I.
You may want to look into Schaps Advanced Config or KaiserTweak for wifi/gprs settings.
You can set timers and disconnects, etc, with those applications.
Iain.m said:
When I'm in the house (and assuming I've got the wifi switched on on the Tytn 2), how do I get it to use the Wifi to access the Web as a first option?
Click to expand...
Click to collapse
The Good News: I fixed this behavior on the phone w/o any 3rd-party utilities, etc.
The Bad News: I'm not 100% sure how. :-/ My apologies. Here is what I think did it:
Make sure your browser is closed and you have no open data connections.
1- Open the Wireless Manager and make sure "WLAN" is on and "Data Connection" is off.
2- Go to Start>Settings and choose the "Connections" tab along the bottom.
3- Open "Wireless LAN," choose your home wireless network, and make sure you're actively connected to it (should see a signal quality meter, device network settings, etc).
4- Close "Wireless LAN" and while "Settings" is still open and on the "Connections" tab, open "Wi-Fi." Your list of known Wi-Fi networks should be showing: make sure your home network says "connected."
5- Close everything back out to your "Today" screen.
When my Tilt is set this way -- and actively connected to my WLAN -- the Wireless Manager grays out "Data Connections" and doesn't even respond if I tap the icon. IE automatically uses my WLAN, although it won't connect to some of its pre-loaded favs b/c, I think, they're on WAP servers and the Wi-Fi/NAT router assigns/negotiates TCP/IP protocols for your phone.
I think now I accomplish all the above by simply opening the keyboard and pressing the FN/Wi-Fi key.
FYI -- In truth, I solved this problem by installing Opera Mobile and setting it as my default browser. Opera Mobile is a full browser, i.e. doesn't use WAP.
Hope this helps. If not, sorry for this 5 minutes of your life you'll never get back. :-/
gT

Activating data connections just manual

Aloha !
I have a problem and I need your help (and yes, I have searched already):
My Blackstone activates data connections automatically, if a programm tries to reach the internet.
So far not a problem, as I have a flatrate for that.
The problem is, that it consumes much energy, if the data conection is etsablished and you drive in you car.
So my question is:
Is there any way to connect just manual to the internet ?
I tried deactivating the data connections by HD Tweak.
Afterwards it is still possible to connect to the internet and I even get an ip adress, but no programm on the phone is able to use that connection.
Does anyone have a clue, how to fix this ? It would be just perfect !
Tools like NoData and gb soft gprs umts tweak dont work, as they either dont block automatic connection or disable data connections completly.
Help would be appriciated, as this problem really annoys me.
Tavos
settings->connections->connections->advanced->select network
and select my home network or whatever it's called on your device
then no can create a connection using anything but wifi or over activesync
and when you want to let it use gprs
you do the same by select my isp or <insert your isp name> or whatever it's called on your device
Thanks for the answer, but thats not what I am looking for.
I want to be able to switch the data connection on/off by one click (with the CommManager for example), but not the programs to be able to do it.
The way you offered, it is completely off or it can be connected by programs.
-=Tavos=- said:
Thanks for the answer, but thats not what I am looking for.
I want to be able to switch the data connection on/off by one click (with the CommManager for example), but not the programs to be able to do it.
The way you offered, it is completely off or it can be connected by programs.
Click to expand...
Click to collapse
I agree, this could be useful indeed.
I don't see the point of having a switch in the comm manager, if then any program can turn it on.
maTTeo

How to make wifi the default option to connect instead of gprs?

How do I disable the phone from auto connecting to gprs? I tried testing it by launching opera without switching on wifi. The phone still connects through gprs although I turn data connection off. It will turn data connection on by itself. Even when I switch wifi on and want it to connect through wifi instead, it is still connecting through gprs. How do i solve this?
When wifi is "connected" (not only "on"), it uses wifi, no dataconnection.
If you really don't want a dataconnection, use something like NoData...
i tried NoData but it's not working. i'm using official htc wm6.5 rom.
Sorry I cannot be more precise because I don't use it anymore, but I remember there was an option to block data connection in HDTweak. Is that you want? Block dataconnection permanently? If so, you could alternatively delete your mobile operator connection in Settings/Connections. If anyone knows the registry changes involved in this,please post them so that I can make a .cab, I need it when roaming.
try MWLongLife! It's magic
this program is developed for saving battrey life by controlling 3G/2G network and data usage
you can set each program which need data access by 3G, WiFi, USB, etc.
Also, force to use Wifi rather than gprs if it's available.
Thanks for all of the suggestions. I tried installing nodata again and it worked this time.
for those interested there's also a cab to disable push internet completely (think that was the origin of your problem).
Search the forum on NoPushInternet
336663 said:
try MWLongLife! It's magic
this program is developed for saving battrey life by controlling 3G/2G network and data usage
you can set each program which need data access by 3G, WiFi, USB, etc.
Also, force to use Wifi rather than gprs if it's available.
Click to expand...
Click to collapse
Any link to this? didn't find anything around
sualc said:
Any link to this? didn't find anything around
Click to expand...
Click to collapse
Yes please... I was about to post the same issue. I think the precedence in WM6.5 of using mobile wireless over WiFi is the wrong way around if the WiFi signal is strong. In my house, my WiFi is strong everywhere but 3G comes and goes. It's darn annoying to get the message about "No connectivity" when I know for sure there is a very good WiFi signal.
Cheers, Rob.
PS. Just had it whilst writing this email - "Messages cannot be downloaded to your mobile device..."
It's "WM" not "MW".
http://www.freewarepocketpc.net/ppc-download-wmlonglife.html
That's much better!! thanks fighter7139, gonna try right now!

Wifi Preferred over 3G/Operator

Hi there!
At home I have a Wifi connection, and obviously, I would like my Leo to connect to the Internet through my Wifi connection if available. If not available (because I'm somewhere else) then I'd like to get connected through my Mobile Operator.
The thing is: it would try to connect via WiFi and if that didn't work it would try the mobile network.
Is that possible? I mean, is there a setting called "Wifi Preferred over 3G"?
I haven't been able to find something like that.
Thanks in advance.
If this option does not exist, do I have to believe that the HD2 has what I'm asking as default?
Only way would be to have WiFi turned on constantly so when you're in range of a network it'll connect to it...battery would die, though
i believe there is a mortscript or some little app that can control the radio - when you are near your home's 3G cell-site it can run a script to enable wifi to pick up your home connection. i cant remember the name, but it is out there!!!
hi,
for automatic switching look out for apps like phoneweaver, gprofile oder phonealarm. i think they all can do the job for you, and a hole bunch of other things to.
regards mad
Thank you! I'll have a look at these programs.
Easier way to see how it works: I installed Spb Wireless Monitor 3.1: It tells your data transfer under Wifi, GPRS, USB, WAP...
I'll post an answer when I got everything checked.
Cheers!
NoData
Don't have my Leo as yet so not sure if it'll work, but try this NoData.
It works on the Blackstone...
Try installing WMLongLife.
yeap... I agree...Spb Wireless Monitor 3.1 is what you need bro...

Categories

Resources