data access only while on WiFi - G1 Android Development

Hi guys
I have an itzi-bitzi problem.
Turns out that i don't have a data plan...
I found this out when receiving my monthly bill (300$, ouch!)
Is there a way to enable data access only when connected by WiFi?
and completely disable it while not?
I couldn't find anything on that matter, so i could use some help making it happen.
thanks

Remove APNs: Settings | Wireless Controls | Mobile networks | Access Point Names

thanks, you saved me $$$

You can use this app to make the process of switching APN on/off a lot easier.
http://www.cyrket.com/package/com.google.code.apndroid

brilliant, just what I need!
I really only wanted to use the phone for wifi access, i dont need the phone connecting 'behind my back'.
Thanks again

Related

Any way of knowing if data is coming through 3G or WiFi?

Pretty self explanatory this one - is there any way of knowing whether your mobile internet connection (3G) or WiFi is being used in, for example, a browser session? Just don't want to make the mistake of looking at YouTube on the phone, meaning to use the home WiFi, and end up using my 3G by accident, and paying through the nose for extra feed.
ryanbryan said:
Pretty self explanatory this one - is there any way of knowing whether your mobile internet connection (3G) or WiFi is being used in, for example, a browser session? Just don't want to make the mistake of looking at YouTube on the phone, meaning to use the home WiFi, and end up using my 3G by accident, and paying through the nose for extra feed.
Click to expand...
Click to collapse
The icons on your task bar should indicate if you have a active data connection.
Or, you can use Spb Wireless Monitor (which you need to purchase). It produces reports telling you which software uses which connections and the amount of data transferred.
In a discussion I had with HTC Tech Support, they told me that wifi, when enabled, over-rides the cellular data. I'm not sure if this just applies to the settings or always. Hopefully, someone can provide a definitive answer.
Yes that is correct, if WIFI is enabled you WILL NOT have a cellular data connection.
Umm. There is a wifi icon in the taskbar o.o and a signal icon also.....whichever is there means it's active and if wifi is there, your data will not be active, only wifi.
What all you are saying is true but some applications still use the data network even if wifi is turned on and connected it seems. I have the same issue(i don't have a data plan with my fuze since my college has wifi everywhere). But things like weather and other native apps on the phone will just turn on the 3g network and stat using data instead of wifi.
if a device is transfering data over gprs/3g whatever
it show arrows moving in the signal str icon
otherwise it use wifi
Applications can choose to use a certain connection if they are programmed to do so, windows only gives each one a type of 'ranking', the fastest connection having the highest ranking and being the one an application is to use by default, but the application can override this and choose whatever connection it likes. This ranking is called the "Interface Metric" if you'd like to learn more about it.
There's an HTC program called 'bytecounter' that monitors the SMDx: ports in the system, which are the ports the system uses for data.. in bytecounter you will see the values increase if an application is using data over cellular network. let me know if you'd like me to upload it.
Umm. There is a wifi icon in the taskbar o.o and a signal icon also.....whichever is there means it's active and if wifi is there, your data will not be active, only wifi.
Click to expand...
Click to collapse
Well that wasn't particularly helpful. I too have made the same assumption, but the question asked if there was any way to make sure.
windows only gives each one a type of 'ranking', the fastest connection having the highest ranking and being the one an application is to use by default, but the application can override this and choose whatever connection it likes
Click to expand...
Click to collapse
Well that was the kind of answer I was looking for, and is particularly pertinent in my case, as my connection through my mobile provider is about as fast (or maybe even faster) than my fixed line connection at home. A rather bizarre situation, but such is the advancement of Australian broadband infrastructure.
The last couple of times I have used it, I have taken to turning off the phone connection so that only WiFi is running, and then using the internet. It would be good if you can upload the byetcounter program, seems like a free (?) version of the software programatix mentioned.
Here ya go!
Maybe this is just me, but when I try to unzip that file, nothing comes up....?
lol, i always forget to remove the hidden attribute.. let me go ahead and fix that..
Edit: fixed
Newer Windows Live (including the one that come with Touch Pro) will always dial-up the 3G/GPRS connection when checking for email in Messaging. But if you are checking in Windows Live, most of the time it doesn't dial-up but sometimes, it does.
So far that is the only program that I know of behaves like this. I contacted Microsoft regarding this and they keep asking me to contact my celular provider for help. In other word, they are not helping (or do not understand the problem).
Anyway I solved the problem by changing the Connections setting to "My Work Network" for Internet. The catch is, if I really want to use 3G/GPRS, I'll have to change the setting to my celular 3G/GPRS connection.
Or you could use the nodata application from modaco and disable whenever you like the cellular 3g connection just to be sure you are using wifi.When you are away from wifi networks you can in a matter of 2 clicks reenable the cellular 3g connection...

[Q] How to force the phone to never use anything but wifi?

I sometimes uses the wifi connection to surf the web on my touch pro, problem is that the wifi reciver don't look to be very strong so sometimes I loose the connection, especially if I'm moving around.
I have found the program nodata, but it doesn't seem to work that well. Even if I activate nodata and have it running in the background while surfing the phone still connects to gprs/3g connection if the signal is lost. My guess is that if I click a link after I loose the wifi connection the phone seem to override the funtion of nodata. Is there any other software that I can use instead?
I want the phone to wait until a wifi connection is established again instead of changing to a 3g/gprs connection.
I'm not sure. Once I removed all the data connection settings, but then I couldn't use the data ever. I've been keeping an eye for a program that does this, but it seems that everyone under the sun other than me has a data plan.
hahaha yo are noy allone out there, I would alslo like to know how to disable data conection.
the answer - modaco nodata. Its not the neatest but the only one
EDIT: and also you can do this in Advanced Configuration Tool from "connections" menu item. If you want a more permament solution (because of the long way to the choise in the app)
All the apps I mention are really easy to google for
darfri said:
the answer - modaco nodata. Its not the neatest but the only one
Click to expand...
Click to collapse
yes...nodata is the one you want.....just search and you shall find
Not sure if this helps but when I handed down my Hermes to my Father in Law just so he could use it for phone calls and TomTom (via BT GPS). I had AT&T block all data so he can only use wifi.
It works great! when his wifi is turned off and he tried to go to the web it says connection refused.
Thanks for the input guys, but nodata don't seem to help me. It's the software I use now, but it seems that somethign is able to override the nodata software leading the phone to dial up when the wifi connection gets a low signal.
I'll give the Advanced Configuration Tool a go, but it seems to be a lot of work going in there turning things off, just to go back and activate them again if I want to check my mail "in the field".
I have an at&t Fuze with no data plan, just unlimited text/mms. I cannot disable data by using Modaco's NoData because mms requires Media Net.
What I have done so that all apps use WiFi is the follows:
Under Start / Settings, select the Connections tab.
Launch Connections.
Select Advanced tab.
Click on Select Networks.
Under Network Management, change "Programs that automatically connect to the Internet should connect using:" to "My Work Network".
With this setting, I don't have Internet connection unless WiFi is active, which is what I want. Maybe the Touch Pro has something similar.
Thanks icwinner, that seem to have made the trick.

Wifi and Data connection questions

Gday guys, ive noticed if my phone goes into standby, the wifi will switch off and the data connection (gprs) will bein usage, costing me money!
Anyway to keep wifi on while the phone goes into wifi? Anyway to disable all gprps access easily and then switch it on when i need?
it depends on your settings I think. If you setup the phone to use a data plan, then it will use it on regular and standby when your software sends updates
if you set it for Wifi, Likewise
Honestly, the 30$ a month I pay for unlimited data is worth it, you should consider it.
Not all of use are privileged with unlimited data plans
To OP, I think you can change the settings using Advanced Config
use advanced config to allow wifi to stay on during standby. its under menu - more settings. also if you dont have a data plan, remove the provider settings from your phone

Roaming Issue

Hi, I have a successfully unlocked Vodafone Touch Pro in the Uk. For months, I was using my tmobile sim card within the phone, and it was all fine. I got decent HSDPA signal, and when I didn't, GPRS or Edge was fine. However, I have now put my H3G (3 UK) simcard in, and whenever I don't have access to 3G/HSDPA my phone tells me I am roaming. Now, I thought this would be ok, however whilst roaming, my emails are not picked up automatically. I also get messages with facebook (official) about roaming. Is there any way to force the phone to say I am not roaming?
Thank you
Try changing your APN (access point name) from three.co.uk to 3internet. Couldn't pick up emails or access internet under gprs before I did this.
Start | Settings | Connections | Connections | Advanced tab | Select Networks | edit the 3 internet connection ...
Thanks for your reply. I can access them fine, however, because my phone thinks it is roaming (in another country, hence data charges) It will not automatically send/receive emails. I am asking whether anybody has come across a workaround for this. Thanks for reply though, Much appreciated
Have you enabled the option to "Use automatic send/receive schedule when roaming"?
Look under Start | Messaging | Menu | options
Click the appropriate email account
Hit Send/receive schedule
Hit Advanced settings
... ensure the "roaming" option is ticked
thank you so much, a real help that is
I may be pushing you guys' ability a bit far but is there a way to tell the phone I am not roaming?
Thanks for they help!
No problem.
As for the roaming indicator - not sure if you can disable it. It still shows up on mine when I'm on 2G, but it doesn't really bother me.
Shaun.
Thanks Shaun

[Q] Prevent android from connecting..?

Hello,
so I have this question, I will give my G1 to my girlfriend, but she has no data plan paid (she only visits internet on phone when she gets some bonus days for free), and i would like to block the G1 from connecting to internet AND if it is possible connect only with browser, so when she opens browser, boom internet i online, or when she opens the facebook application, boom internet goes on. ETC. Is that possible?? When possible she will use wi-fi ofcourse but im talking about the data-transfer.
Thanks for help
lazyjohnnyK
Just turn off or disable any internet APNs -- this will block data connectivity through the cell radio
Can't enable internet only for web browsing though, not sure why you would want to anyway.
burtcom said:
Just turn off or disable any internet APNs -- this will block data connectivity through the cell radio
Can't enable internet only for web browsing though, not sure why you would want to anyway.
Click to expand...
Click to collapse
I mean it like it would be on the older phones, not the smartphones, but just like older phones, they have turned on internet/data only when you have started some internet application, like browser, or lik that..

Categories

Resources