Automatic GPRS disconnect - HTC Startrek

Hi all, i have my smartflip setup to download my e-mail every hour. Does anyone know how to get the phone to automatically disconnect the connection once its done?
i only ask cos it uses power and that it costs me money if its doing stuff online without me knowning (email is set to 5kb headers only.)
Thanks all

Hi,
GPRS is charged per kb/mb (transfer volume), not per time, so this will not blow your bill.
If you want to change, go to "Settings" (Start-Settings), "Connections", press "Menue" and choose "Advanced" -> New Screen with your connections. Choose "Internet", press "Menue", choose "Options". There you can set redial and disconnect.
Found it ?

got it thanks, the G icon is staying on anyway as it was set to disconnect after 5 mins idle. so i think its direct push mail keep the connection alive. hope it doesn't randomly send out data, except for the times i have asked.

Related

Sprint Touch Pro data connection issues

I've owned a Touch Pro for a few months now and overall it's a good device. It has its quirks, but then again what phone doesn't? There is one problem in particular, however, that I can't seem to figure out. I've searched up and down in XDA Forums, and on Google, and I just can't find out a fix for my data connection always turning on for no reason. I have all my e-mail accounts set to "manual send / recieve", the weather program set to "update weather manually", and as far as I know there are no other programs on my phone that have access to the internet without my permission.
The problem I have is sometimes I will wake my phone up from its sleep mode, and I will discover that the data connection is active and appearing to be transmitting. Also, EVERY time I restart my phone and it goes through the boot process, the data connection will re-activate even before TouchFLO 3D opens up on the today screen. It's really annoying, because I have no idea what's causing it to do this, or why it does it at random times, or whenever I reset my device.
Does anyone have any solutions to this problem? I hate having to manually go in periodically and make sure my data connection is set to "off", instead of having it stay that way when I set it.
So no help on this one then?
I don't have a solution but I can help by bumping your thread and saying I have the same problem on Verizon. I was at a friend's place all weekend, and he has wifi all over, so I turned off data and used his wifi instead. Well sure enough all weekend my data connection kept turning itself back on. It seemed to happen only when going into sleep mode. So I kept the phone plugged in so it would never totally "sleep". Wifi stayed connected with no data connection starting automatically. Annoying especially considering the 5 GB data limit on the PDA plan.
Well I'm glad I'm at least not alone on this one. It's weird too that even though your device is on a different carrier, it still does the same thing. I wonder if it's a hardware issue?
I know that someone has to have an answer for this...
go into pocket express and press menu then go to express settings then on the top left theres a pulldown press it and go into auto updates and turn it off.. pissed me off when i got the phone.. couldnt find a fix till i started going through all the programs to find the one doing it.. and it was the stupid Pocket Express
I have had my MDA Compact V for a few months now, and it's only recently that I've had the same problem. Each time I switch on, my data connection starts or alternatively if I loose signal then get it back then I see my data connection is on again. Thankfully I have the Solo 20 package with unlimited net usage (although you're are limited to 1Gb/month) but it drains my battery really badly.
I went through every possible setting and program to switch off location settings or auto downloads/updates and I still have the same problem, but I downloaded Data Controller v1.00 from Freewarepocketpc.net and I can toggle my data connection on or off as I please.
Heres what you need
Install below cab, then use the NODATA app, select what you want off, PHONE AS MODEM and DATA are your two options I believe... Your data will never come back on... until you re-enable it that is....
PS... THIS IS NOT MY CAB, THIS IS SOMETHING I FOUND WHEN TRYING TO ADDRESS THESAME PROBLEM YOU ARE HAVING. THIS CAB WAS DOWNLOADED FROM MoDaCo BUT I DONT HAVE THE LINK... ALL RESPECTS GO TO HIM... I AM JUST SHARING WHAT HAS WORKED FOR ME IN THE PAST...
Seems it's one or the other
What sucks is on my Sprint HTC touch pro 2 (cdma), I was having a problem where I couldn't answer calls all the time, but sometimes I could, and eventually found that it was always when the data connection was showing active is when I couldn't answer a call. But when that was happening, my data connection would turn back off after a few seconds when I was done using it. It was driving me crazy not being able to answer my calls and I finally found a post that let me correct that problem, it was changing the HKLM\Comm\ConnMgr\Planner\Settings\SuspendResume value that fixed this problem... the value of this registry setting was originally "GPRS_bye_if_device_off". This setting made it so the data connection would turn off when not being used, but it apparently messes up cdma phones from being able to switch over to answer an incoming phone call if the data connection is active. I changed this registry entry to "#777" as the post said to do, and sure enough, that corrected the problem with being able to answer my calls if the data connection is active. I'm real happy to have that working now, but when I changed this setting, my data connection is now always showing active (white arrows showing in status) and even if I turn it off manually, it comes on by it's self way more often than the every 4 hours I have it set to check emails.
There is a registry setting called CacheTime under the same Settings key as the above mentioned registry entry that I changed, that when the "GPRS_bye_if_device_off" value is used, the CacheTime key value will indeed control how long the data connection stays on before automatically turning off. But When I change the Entry to "#777" which is necessary to allow me to answer calls when data is active, then changing the CacheTime value has no effect and the data connection stays on until you manually turn it off.
I'd like to find a way to turn the data connection off, while still not messing up me being able to answer calls when the data connection is active, and seems to me that if both of these things can be done separately with two different registry settings, that it must be possible to do both.... so if any of you tech wizards can find a way to do this, I'd love to see it!
Possible Fix?
Hey, I have noticed the same problem. It is annoying from a battery life aspect as well as a system slowdown when coming out of sleep. I could not find much of a workaround except one of the settings in TD3 Tools I installed. In the "Data Connection" tab you can yurn on an option that makes your "End" key also terminate an active data connections. So if you hit it after waking your phone you won't have the annoying slowdown with your Sense UI...

[APP] Connection State Checker

HISTORY
V1.1 [2009-10-05]
1) Options dialog to change timeout to run the program automatically (10 by default) and web server to reach (www.google.com by default)
2) Option to reset statistics.
3) When the gui is opened its auto-refreshed automatically each 2 seconds
3) Minor fixes
V1.0[2009-10-04]
1) Initial release.
History
Hi
I ve developed a little program to solve a problem I ve many years ago. I use direct push so I need a permanent connection. This is achieved using activesync (direct push) or setting a connection as always on.
PROBLEM TO SOLVE:
Many times a connecion is stablished minutes or hours ago. But it doesnt work correctly. I dont know if the problem is in phone operator system, or in the device or some roms. Simply the connection is corrupted. If you try to suf a web it doesnt work. Clicking "sync" in activesync keeps rolling for ever. So I ve to close the connection manually (hang button long press) and stablishing a connection again. And then all works again
WHAT I SEARCHED AND DIDNT FIND:
1)A program that tries to reach a server (www.google.es) each x minutes. If there is an active connection but cant reach it then kill the connection and stablish it again. The program doesnt download the page content. Simply reach the server so very little data usage (a few bytes each time)
2) very little, no cpu consuming and no resident. Windows should run it each x minutes. Do its job in a few milliseconds and exit.
3) perform its job even if the device is suspended..
4) So I wrote my little program. It works correctly.
5) If the phone is in fly mode then it skip its job
USAGE:
Just install. No need to run it manually. It installs too a little GUI program (ConnectionStateCheckerGUI) to see some statistics (stored in the registry) like number of checks, corrupt connections, last check, etc. You can set the timeout (10 minutes) and server (http://www.google.com) in the registry.
My job needs a 100% safe real time mailing working. This little program guarantees it and maybe there are other people in my situation.
Greetings
Dani
pd: The black background is because of omnia2 skin. In other devices is a tipical white dialog.
OK. gracias nene.
all right!
Nice work buddy, a common problem that bugs a lot of people including you but you decided to do something about it and now we can all be happy.
May I redistribute this on my website?
thanks for that...
Thanks
Sure, you can use, upload, distribute or what you want with it
...and if someone has any suggestion....
First I was going to do icmp ping instead of http get but my phone company (and probably other) has blocked pings....
Greetings
Dani
Hi¡
New version on first post
greetings
Dani
Any chance of a Today screen icon? That would be more helpful than having to call the program in order to see connection status.
UncleBeer said:
Any chance of a Today screen icon? That would be more helpful than having to call the program in order to see connection status.
Click to expand...
Click to collapse
Good idea but MS says not to use Today plugins because arent used in WM6.5.....
The GUI only reads the statistics stored in the registry and refresh them each 2 seconds...
Dani
Thank you for this nice piece of software.
However I have few questions, right after installing and soft-resetting, then changed web reference to www.google.com and interval to 1 minute, it keeps saying that the Last Result is KO, and only Connection Fixed has the increment.
What makes it odd, is that the connection is actually OK, I can connect to www.google.com via UCWeb and Slick is running too.
This is quite bugging me, however since I only installed it for less than an hour, I'll report again whether my connection would be kept alive permanently or not by this program.
(Dopod 818Pro aka HTC Prophet/WM6.1/My Buble Blue ROM by varanusvincent)
Andi
cumisquid said:
Thank you for this nice piece of software.
However I have few questions, right after installing and soft-resetting, then changed web reference to www.google.com and interval to 1 minute, it keeps saying that the Last Result is KO, and only Connection Fixed has the increment.
What makes it odd, is that the connection is actually OK, I can connect to www.google.com via UCWeb and Slick is running too.
This is quite bugging me, however since I only installed it for less than an hour, I'll report again whether my connection would be kept alive permanently or not by this program.
Andi
Click to expand...
Click to collapse
Hi
Please dont remove "http://" because this is used by WinInet to choose the correct destination. Leave http://www.google.com (or any other site but using http://) and it will work again....
Dani
I did, it's http://www.google.com, with the http://
The connection is still KO (though Slick is up and running smoothly)
Does it matter if the GPRS connection has the proxy setup?
And when I tried disconnecting the GPRS, and then use the Check Now, it won't reconnect.
Oh, btw, the Last Check field is always empty.
Andi
cumisquid said:
I did, it's http://www.google.com, with the http://
The connection is still KO (though Slick is up and running smoothly)
Does it matter if the GPRS connection has the proxy setup?
And when I tried disconnecting the GPRS, and then use the Check Now, it won't reconnect.
Andi
Click to expand...
Click to collapse
Yes, for sure is related with GPRS Proxy. Let me take a look at this.....
Andi,
Could you test this version? I ve added support for GPRS proxy. It works in my network but I dont use proxy. Could you try it?
Thanks
Dani,
Sorry for the late reply. I have just finished installing and voila! The Last Check is not empty anymore. I have changed the web reference to http://www.google.com, and interval still to 1 minute, and guess what, now the Last Result is OK!! and Connections OK is now the one who gets the increment. So yes! It works! When WM finished loading up, and when I use the Check Now function, it is now connecting the GPRS automatically.
So I supposed it would close and then reconnect GPRS if ever the connection gets corrupted, right?
Once again, Bravo!
Andi
Just wondering really, if I can get it scheduled for certain time only? Or I can get it stop, perhaps? It would be better than filling in the interval time of 360 minutes every night?
Hi
It seems to work correctly. Tomorrow I will comvert the beta im release amd probably will add period of checking as I did in bandswitch
Dani
Dani,
Just find another thing here.
I did say it does make an automatic connection, it *is* connecting, however, i have just found out, it does *not* end up connected at all.
What I meant by connecting, the antenna icon is having two arrows and the small box with G in it, but it won't be connected at the end of the animation.
The Connection Fix number is added, but since there is no connection in real.
In the end, I still have to use UCWeb or Slick to get connected.
-------edited
Okay, strange enough, I changed the interval to 5 minutes, and after awaited for 2 times trial, it did finally made the connection. Hm.
-------edited again
I did try certain things again. I changed back the interval to 1 minute. Then I tried the following:
* Changed the web reference to http://wap.telkomsel.com (the provider's default wap page), 3 times trial, all failed.
* Changed the web reference to http://www.google.co.id, 2 times trial, finally connected.
* Changed the web reference to http://www.google.com, 3 times trial, all failed.
* Changed the web reference to http://208.67.219.230/ (www.google.com ip address), 3 times trial, very short timed trial, all failed. I supposed it does not accept IP address as a reference?
I'm not an expert in this area, however, it does seem to me that it's related to session time-out thing.
Once the time-out reached, it drops the on-going connection trial. I concluded this because I checked my Data plan's balance, and nothing's to be deducted during the failed session.
So the work around I finally do is to change the registry at HKLM/Comm/ConnMgr/Providers/{myGPRSconn-hash-number}/title_of_conn/AlwaysOn value to decimal 1.
After that, it would get the connection established, even if it seems it doesn't receive any reply from the referred web, get passed all the session time-out variable, until the complete handshake (if this is the correct term).
Andi
wow, that was a deep test. Thanks.
Tomorrow I will try to find a gprs server with proxy to do try/error system
danielherrero said:
Many times a connecion is stablished minutes or hours ago. But it doesnt work correctly. I dont know if the problem is in phone operator system, or in the device or some roms. Simply the connection is corrupted. If you try to suf a web it doesnt work. Clicking "sync" in activesync keeps rolling for ever. So I ve to close the connection manually (hang button long press) and stablishing a connection again. And then all works again
Click to expand...
Click to collapse
Hello Dani,
It has been some time since you posted here. Are you still supporting or working on this app? If you are I would like to ask a question or two having tried the app on a TMOUS HD2 recently.
A lot of the time the app works exactly as you intended - perhaps 50% or better improvement. But sometimes it is not able to disconnect and re-establish the connection for some reason. I find that it will end up in a near permanent KO result loop.
At these times the data connection is established (H or 3G) but no app can successfully connect (no email, no browser). Your app will continue trying but is not successful.
At such a time if I manually drop the data connection (via Touch X action screen, for example) the connection can be re-established within 15-30 seconds of an app trying for data. It is not immediate - some app will have to ask for a data connection and it takes some 15+ seconds before it can successfully continue.
What I am wondering is how your app is trying to do this and how is the data disconnect of Touch X different. I hope I explain it clearly.
.
ny_limited said:
Hello Dani,
It has been some time since you posted here. Are you still supporting or working on this app? If you are I would like to ask a question or two having tried the app on a TMOUS HD2 recently.
A lot of the time the app works exactly as you intended - perhaps 50% or better improvement. But sometimes it is not able to disconnect and re-establish the connection for some reason. I find that it will end up in a near permanent KO result loop.
At these times the data connection is established (H or 3G) but no app can successfully connect (no email, no browser). Your app will continue trying but is not successful.
At such a time if I manually drop the data connection (via Touch X action screen, for example) the connection can be re-established within 15-30 seconds of an app trying for data. It is not immediate - some app will have to ask for a data connection and it takes some 15+ seconds before it can successfully continue.
What I am wondering is how your app is trying to do this and how is the data disconnect of Touch X different. I hope I explain it clearly.
.
Click to expand...
Click to collapse
Hi
Let me took a look at this

[Q] Is there a way to turn wifi on every xx minutes when phone sleeps (to sync)

Hey everyone. I was wondering if there is a way to set the phone to turn wifi on when the phone sleeps every 20 minutes (for a 2 minute period) so the phone can sync with google voice/ other services (we don't have a data plan).
Here is why I ask. I got a android phone for my wife and she is on a prepaid plan with no data. She is around wifi most of the time. We wanted to cut out carrier texting by using google voice as her texting platform. Currently, If I text her google voice number, she will not see the SMS until she turns her phone on because wifi is set to turn off when the screen is off. I can also change the wifi setting to keep wifi running even when the screen is off, but that seems like overkill (and probably negatively affects the battery life)....So I was looking for a way/app so the phone can turn wifi on every 20 min (for 2 min) so if she has recieved any SMS, the google voice app can sync and alert her that a SMS has arrived.
Thanks in advance.
If you don't mind dishing out £3.99 ($6USD) then 'Tasker' on the market is a great app to control your phones functions. For example, you can have it turn on airplane mode between 00:00-07:00 but have it flip off for a few minutes every hour to sync and recieve texts/calls etc. I use it and it also helps save battery life!
https://market.android.com/details?id=net.dinglisch.android.taskerm&feature=search_result
You can modify build.prop file. I'm not sure is that for syncing or scanning networks.
Sent from my IDEOS S7 Slim using XDA App
try ultimate juice, you can make it so that wifi turns on every 5/15/30 minutes for 1 minute to sync.

[Q] Lock Time Blocker

Hello,
i configured Direct Push for my company email account.
With the first connection the keylock is set to 15 min. and is greyed (so it can't be switched off) : This is because of security regulation in the company.
The problem shows with tomtom. after 15 minutes the HD2 gets locked. So to see tomtom again i have to unlock the HD2.
Is there any registry key where to set the time?
so i can override the registry changes?
(I think i have to do this every time after connection with the mailserver, or a least when i want to use tomtom)
thanks for your help
esip

Tasker (Need a little help please)

Hi,
Whilst help with the profiles would be great, i'd much prefer help with understanding the "why" so i can learn it for future use.
Scenario:
I want to send a text to my wife when i arrive at work.
The most accurate way is when my phone connects to the work wifi. Now, i'm in and of the office all day so only want it to happen once.
So i did:
State > Net > Wifi Connected > SSID work > if %SMSKEV = 0
+ wait 1 second
+ variable set %SMSKEV = 1
So it will only fire 1 text off, then change the variable so it cant happen again. And then:
A separate profile that at midnight (using start and end time 0:00)
Variable set > %SMSKEV = 0
in order to reset it for the next day.
in my head this all sounds right. the tasks run fine (my wife gets the text) BUT the first task is still running now, not sending texts or anything, but the task is green in tasker so is ACTIVE. i only want it to run once when appropriate and then stop, but because i'm saying "when connected" to the work wifi, hours later i am still meeting the criteria of being connected to the work wifi so the profile is still active all the time later.
does this make ANY sense to anyone? what am i doing wrong?
many thanks for your help
Further:
"Events are a little different to other contexts because they are instantaneous whereas other contexts usually have a duration." from the user guide.
I think this is my problem, I need an event that says when i connect to the wifi, not a state. But there is no event for connecting to wifi...
kevmeister46 said:
Hi,
Whilst help with the profiles would be great, i'd much prefer help with understanding the "why" so i can learn it for future use.
Scenario:
I want to send a text to my wife when i arrive at work.
The most accurate way is when my phone connects to the work wifi. Now, i'm in and of the office all day so only want it to happen once.
So i did:
State > Net > Wifi Connected > SSID work > if %SMSKEV = 0
+ wait 1 second
+ variable set %SMSKEV = 1
So it will only fire 1 text off, then change the variable so it cant happen again. And then:
A separate profile that at midnight (using start and end time 0:00)
Variable set > %SMSKEV = 0
in order to reset it for the next day.
in my head this all sounds right. the tasks run fine (my wife gets the text) BUT the first task is still running now, not sending texts or anything, but the task is green in tasker so is ACTIVE. i only want it to run once when appropriate and then stop, but because i'm saying "when connected" to the work wifi, hours later i am still meeting the criteria of being connected to the work wifi so the profile is still active all the time later.
does this make ANY sense to anyone? what am i doing wrong?
many thanks for your help
Further:
"Events are a little different to other contexts because they are instantaneous whereas other contexts usually have a duration." from the user guide.
I think this is my problem, I need an event that says when i connect to the wifi, not a state. But there is no event for connecting to wifi...
Click to expand...
Click to collapse
I understand your problem. =)
I dont realy know how to solve it the way you tried to, but i think there is another way...
If you arrive at work every day at the same time you may find a way to connect a several time (for instance 10:15 am ) to your wifes text message.
Hope i could help yoou or even keep you mind walking on =)
I wanted to do exactly the same thing, perform a task once per day when connected to home wifi, only initiate a sync using FolderSycn, as opposed to send anSMS. I thought abut setting the variable, then resetting it at midnight just like you did.
But what I tried was to just set a simple profile:
when state = wifi connected to home wifi ssid, perform sync.
As you said, it still shows the profile as active as long as the wifi is connected, but it doesn't affect anything. As soon as you leave the wifi network and connect again, it will perform it again.
I guess in your case this might not be enough, just in case you lose wifi or leave your work for ome reason then return.
thank you both for replying. i think ive worked out a slightly better way of doing it.
As jiffer1991 said i used a time context but as a second context.
so i set it all up as i previously described with the Wifi Connected being the first context, then added a second time context from 7:40 to 8:10.
I always arrive within this period and have allowed a little extra. But it also means the task isn't active through out the day.
I know it probably "could" stay active and be completely harmless, i'm just thinking that maybe active tasks contribute to battery drain ??
Anyway thats how i've solved it for now.
thanks again for your replies and help.
:O)
You could also add as first context if %SMSKEV = 0
This way it won't be active the rest of the day and the sms will be send if you arrive a bit late
Cheers

Categories

Resources