force 3G for email when wifi in use - Android Software/Hacking General [Developers Only]

I'm running android MIUI on my HTC HD2, I have a custom APN which gives me access to my corporate WAN, I use this to sync with exchange, there is no public access to this server, when I jump on wifi at home, I want to force the email app to sync through 3G still, is there a way to do this?
I can achieve this in windows mobile by telling the email account to always use a particular APN when syncing instead of just "Internet" and it works great, I jump on wifi at home and the email uses the 3G connection, but I can't seem to do this in Android... I have tried a few desire and CM7 roms but no luck there either.
I guess I'm hoping for an app on the market or something

Related

Email and EDGE

For some reason my email doesnt work with edge, only wifi. when i try to send/recieve my email without wifi it says "cannot connect with current connection settings. I tried searching and found nothing. Anyone have any ideas. Oh I have a fuze by the way
Email via Operator..
FUZEinMYpants said:
For some reason my email doesnt work with edge, only wifi. when i try to send/recieve my email without wifi it says "cannot connect with current connection settings. I tried searching and found nothing. Anyone have any ideas. Oh I have a fuze by the way
Click to expand...
Click to collapse
Do you need to download this?
http://www.microsoft.com/downloads/details...amp;tm#filelist
FUZEinMYpants said:
For some reason my email doesnt work with edge, only wifi. when i try to send/recieve my email without wifi it says "cannot connect with current connection settings. I tried searching and found nothing. Anyone have any ideas. Oh I have a fuze by the way
Click to expand...
Click to collapse
have u correct settings? try use built in setting configurator then restart.
i have the same issue. but i think it is normal becuase i dont think you can download email from edge, only 3g.
tengtou said:
i have the same issue. but i think it is normal becuase i dont think you can download email from edge, only 3g.
Click to expand...
Click to collapse
Thats not true because I have a at&t fuze and download email on edge all the time.
server?
FUZEinMYpants said:
For some reason my email doesnt work with edge, only wifi. when i try to send/recieve my email without wifi it says "cannot connect with current connection settings. I tried searching and found nothing. Anyone have any ideas. Oh I have a fuze by the way
Click to expand...
Click to collapse
FUZEinMYpants,
Are you using a large outfit like gmail or something like your company email? If the latter, does it only work on wifi when you are on your company's wifi network or Starbucks' wifis as well?
The reason I'm asking is that depending on the email servers (there are two, one for sending, the other for receiving mostly) you may only be able to interact with them if your coming from an IP address that falls within the range of whatever the administrator set. I for example could not send email when I went down to Florida because AT&T gave me a too different IP address than what I get in New York so I had to ssh into my email server and modify the range.
Your admin may only allow email to be relayed out and/or read if you're on the LAN which in this case, in your office or college on their wifi network connected to the local area network to which the mail servers are connected.
If that's not it then we may have a connectivity problem with your settings. Maybe a bad proxy configuration, your email server doesn't like wap.cingular which is behind a nat, maybe your email server requires a type of encryption you're either not specifying or is not supported by Pocket Outlook, maybe they're using imap and not pop and you're mixing that up, maybe they don't have encryption but they used funky ports for the vanilla protocols -- I'm going to stop typing until you tell me what the story is with your email setup.
In the meantime, to hold yourself over with the phone and without wifi, consider getting your mail through a webmail thing your server may run (I run roundcube) using Opera or PIE, depending on the webmail interface.
Doug
d0ugie said:
FUZEinMYpants,
Are you using a large outfit like gmail or something like your company email? If the latter, does it only work on wifi when you are on your company's wifi network or Starbucks' wifis as well?
The reason I'm asking is that depending on the email servers (there are two, one for sending, the other for receiving mostly) you may only be able to interact with them if your coming from an IP address that falls within the range of whatever the administrator set. I for example could not send email when I went down to Florida because AT&T gave me a too different IP address than what I get in New York so I had to ssh into my email server and modify the range.
Your admin may only allow email to be relayed out and/or read if you're on the LAN which in this case, in your office or college on their wifi network connected to the local area network to which the mail servers are connected.
If that's not it then we may have a connectivity problem with your settings. Maybe a bad proxy configuration, your email server doesn't like wap.cingular which is behind a nat, maybe your email server requires a type of encryption you're either not specifying or is not supported by Pocket Outlook, maybe they're using imap and not pop and you're mixing that up, maybe they don't have encryption but they used funky ports for the vanilla protocols -- I'm going to stop typing until you tell me what the story is with your email setup.
In the meantime, to hold yourself over with the phone and without wifi, consider getting your mail through a webmail thing your server may run (I run roundcube) using Opera or PIE, depending on the webmail interface.
Doug
Click to expand...
Click to collapse
Its yahoo mail. My company email which is an outlook exchange server works fine on wifi or edge.
FUZEinMYpants said:
For some reason my email doesnt work with edge, only wifi. when i try to send/recieve my email without wifi it says "cannot connect with current connection settings. I tried searching and found nothing. Anyone have any ideas. Oh I have a fuze by the way
Click to expand...
Click to collapse
Check the setting in your email settings under advanced server settings and make sure that it says Netowrk conncetion media net or att isp. I have seen it default to Work and that locks it into Wifi. I send and recieve email everyday on EDGE since I do not have 3g within 40 miles of here.
Dane Austin said:
Check the setting in your email settings under advanced server settings and make sure that it says Netowrk conncetion media net or att isp. I have seen it default to Work and that locks it into Wifi. I send and recieve email everyday on EDGE since I do not have 3g within 40 miles of here.
Click to expand...
Click to collapse
I checked this its set to media net

Exchange sync

I have set up an exchange account on my touch HD. I cant quite work out how it syncs. Sometimes it seems to go across GPRS, but some times not, then needing my home WiFi.
Do some exchange servers require a certain bandwidth to work?
I still have not worked this out. Sync OK over wifi from home, but not HSDPA/3G.
Any ideas? Do specific ports need to be available from my data provider?

WinMo 6.1, Messaging and VPN

I have a Windows Mobile device 6.1 Pro.
I have Messaging setup to collect my personal emails from the Internet via my HSDPA connection.
I also have an account for my work email (POP3) which I collect via the company VPN.
This is my problem, and it's something I've lived with for a long time as I don't think it can be changed. Maybe you guys can help.
I open Messaging and switch to my work email account. I have the Network Connection set to use 'Work' Settings, and in the Work settings I have my VPN connection.
If I open Settings, Connections and click and hold on the VPN settings I can connect manually. Now I have a VPN connection and I can send and receive mail.
However, I want to be able to Send/Receive and for this to be automatic, so when I do this, if there's no 3G, it connects first, then the VPN connection is triggered, and the connection is established - however, in the mean time Messaging has gone off to try to find email from my work servers on the Internet, and always fails obviously. If I Send/Receive again, it connects right away as the VPN connection is already established from the first attempt. Email is sent and recieved as you would expect.
My problem is Messaging doesn't wait long enough for the VPN connection to be established, and although it triggers it, it tried to collect email before it's finished connecting, then I have to try again.
Or connect the VPN manually, but this is many clicks and not so User Friendly for staff who aren't so WinMo savvy.
Is there a way to have Messaging wait long enough for all relevant connections to be established before trying to find the mail server??

[Q] 3G for specific program while on Wifi without net access

Hello,
I have done a bit of a search about this but havent found an answer.
At work we have a network with wifi which is behind an authenticated proxy which the admins wont allow cell connection to. I have tried with various proxy apps but no luck. I need the wifi network to sync with the email server, which does work, however while on wifi I cant use the internet or receive txts from WhatsApp etc.
Basically I am just wanting to know if there is a way or an app, to enable 3G for a specific application while on Wifi, or to somehow enable both on request.
The dataplan I have at work is very restrictive, only 100 txt a month and 512mb Data a month on 3G. I therefore rely on WhatsApp to stay under this limit, but dont want my email app to sync to the server and download large emails while on 3G, only while on Wifi. And I need WhatsApp to use 3G as it cant get out via Wifi.
If anyone has suggestions or knows of something to get around this, I would really apprecitate it.
I am on a Galaxy S2 with Root.
Thanks
try droidwall- android firewall
Same issue
I have the same issue, only opposite, I use my phone at work to connect to a machine specific wifi router and vnc into the controls to control the machine. While I am on this connection without internet my 4g turns off and I get no data. Is there a way to force the 4g on while i am on a wifi without internet access so i can still access my email, pandora, etc?
I tried droidwall, but all that does is block the specific app from accessing the wifi connection, it still wont use the 4g connection while there is a wifi network connected, whether there is internet or not.
Oh yes, I am on a rooted Skyrocket on SKY ICS RC7.4 Speed (Great ROM BTW).
I'm guessing by the lack of response, nobody knows of a way to do what we are wanting, but I want to try refreshing this the once just to see if maybe the person who has the solution just missed the first time.
I did reflash my rom to SKy ICS 4.2A-8 if that helps. Im willing to use different roms, mods, hacks, whatever it takes to make this work.

[Q][HELP] Gmail not syncing automatically on ICS over 3G/4G but will sync over wifi a

I am having a problem with my gmail accounts not syncing.
(no market either)
I have a normal account ([email protected]). This account will receive email almost instantly and display a notification but only when connected to wifi. If I am connected to Network (3G/4G) it will not receive my email automatically. The "sync logo" that typically spins to indicate that item is currently syncing is there but new mail will not come through and sent mail will say "sending" all day without sending a thing. Like it is perpetually stuck. On both devices this is happening in the same manner no matter what ics rom I use. Both sync fine on gb based roms though. Does anyone have any insight to this issue ?
I have tried rebooting, disabling sync, re-enabling sync, clearing Gmail cache and data. Nothing is working so it seems that this is either a software bug with gmail/ICS or a server bug.
Let me know if you need more information.
Operating system: Android ICS 4.0.3/4.0.4
Phones: Vibrant 3G and LG G2x (both are having the same issue)
Network: Simple Mobile (yes APNs are correct, have checked and tried all known settings.)
I'm not experiencing this one myself but the first thing I would check on my phone would be firewalls. I can set each applications permissions to work with just wifi, or just wireless, both, or completely lock it down.
Just a thought, hope you find the problem.
you need to check your APN settings be advise you must not delete the t-mobile apn google apn settings for your carrier
Try wiping dalvik, wipe cache, reinstall gapps and fix permissions. This occasionally happens to me, but that always fixes it for me
Be sure that your are NOT navigating through a wap proxy. In that case, the push mail feature of gmail won't be able to reach you.
Usually your mobile network provider will give you a bunch of APNs (WAP, MMS, WEB/Internet/Streaming).
Be sure you have the internet one and set it as default! That will solve the issue.
Thanks but I have sold my g2x and vibrant. ICS works great now. Btw what is supl in apn?
Sent from my SAMSUNG-SGH-I777 using XDA App
tureland said:
Be sure that your are NOT navigating through a wap proxy. In that case, the push mail feature of gmail won't be able to reach you.
Usually your mobile network provider will give you a bunch of APNs (WAP, MMS, WEB/Internet/Streaming).
Be sure you have the internet one and set it as default! That will solve the issue.
Click to expand...
Click to collapse
This was my problem too. Thanks tureland!
tureland said:
Be sure that your are NOT navigating through a wap proxy. In that case, the push mail feature of gmail won't be able to reach you.
Usually your mobile network provider will give you a bunch of APNs (WAP, MMS, WEB/Internet/Streaming).
Be sure you have the internet one and set it as default! That will solve the issue.
Click to expand...
Click to collapse
Thanks heaps.
I had this problem. The default was set to WAP, I changed it to Internet.

Categories

Resources