Hi, I have an idea for a usefull app, a standalone application for counting call duration. I will use an example on myself. I have a 100 free minutes voice plan from my provider, also 1GB data traffic. The app could have settings to set up the desired minutes amount and it would decrease it by the amount of outgoing calls, and a data transfer counter. Something like Phone Dashboard but not as a Today plugin but standalone program. (LCminute is way too complicated)
I found that US T-mobile has done something similar, called My Account, but where I live there's no such service from T-mobile.
It's just an idea, but i bet many ppl would appreciate it and I bet theres a bunch of ppl here who could do it
yeah something like that would be handy, an application that counts call duration, sms/mms and data usage.
I too would like to see this, any ideas anyone?
Edit: There is a program like this for Nokia users, be great to see something like this for us!
http://dailymobile.se/2008/04/06/symbian-application-freiminmon-free-sms-and-call-counter/
Look for batterystatus, search using the link in my sign.
It give you sms, call time and stuff like that. But it is a today plugin.
cd993: Good though with the sms/mms counter
ai6908: Well as i wrote in the first post, it should be standalone, because i dont wannt to disable TF3D to view the usage, I like the TF3D enviroment (the overkill would be if it could be a separate tab)
no one interested to make such an app? thats a pity
Bump!
Surprised this isn't already out there somewhere. Hate having to run SecondToday or Manila Today Plugin just to run HomeScreen ++, but need to monitor my usage...
My Account
Your best be might be to see if you can modify the T-Mobile My Account app.
I think it is, I used this a while back - see what you think
http://forum.xda-developers.com/showthread.php?t=354103
It's fairly easy to do using Mortscript. I've used one in the past on my Wizard and I've recently been tweaking it to work on this phone. This current iteration is much less complicated/sophisticated than the original version (which I did not write), because I don't want data minutes combined with voice minutes, and I don't care to have my minutes broken down to days and hours for me. And since I have unlimited data I don't need to know how much usage I'm accumulating.
Here's a link to the original thread and script I believe. At any rate it's where I first learned about it 3 years ago. As you'll see the version I've included below is quite different from that one. Between the two of them you just might find what you're after, or perhaps have a good time making one that suits you perfectly.
http://forum.xda-developers.com/showthread.php?t=258960&page=1
Here's what I'm using now. It's written for Mortscript 3.1, which is quite different from his most recent version. Version 4.2 may be backward compatible enough to run this, or it may not. The program allows you to reset your current counters, so if you run it on the day your bill cycle starts fresh and choose Yes to reset it can help you to keep track of where you are for the month.
call getstats
If question {%stats% & "Reset Current?"},"Call Timers"
RegWriteDWord HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0,AllCurrent,0
RegWriteDWord HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0,AllCurrentNumCalls,0
RegWriteDWord HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0,IncomingVoiceCurrent,0
RegWriteDWord HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0,IncomingVoiceCurrentNumCalls,0
RegWriteDWord HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0,OutgoingVoiceCurrent,0
RegWriteDWord HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0,OutgoingVoiceCurrentNumCalls,0
call getstats
Message %stats%,"Call Timers"
else
exit
endif
sub getstats
RegReadDword HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0, \
IncomingVoiceCurrent,minsOnly
call realMinutes
%AllCurrentIncomingMins% = %realMins%
RegReadDword HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0, \
OutgoingVoiceCurrent,minsOnly
call realMinutes
%AllCurrentOutgoingMins% = %realMins%
call getRealCurrentMins
%RealCurrentMins% = %returnRealCurrentMins%
###
RegReadDword HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0, \
IncomingVoicePhoneLifeTime,minsOnly
call realMinutes
%AllLifetimeIncomingMins% = %realMins%
RegReadDword HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0, \
OutgoingVoicePhoneLifeTime,minsOnly
call realMinutes
%AllLifetimeOutgoingMins% = %realMins%
call getRealLifetimeMins
%RealLifetimeMins% = %returnRealLifetimeMins%
###
RegReadDword HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0, \
IncomingVoicePhoneLifeTimeNumCalls,numCalls
call tallyCalls
%InVoPhLiTiNumCalls% = %callCount%
RegReadDword HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0, \
OutgoingVoicePhoneLifeTimeNumCalls,numCalls
call tallyCalls
%OutVoPhLiTiNumCalls% = %callCount%
call getTotalLifeTimeCalls
%TotalLifeTimeCalls% = %returnTotalLifeTimeCalls%
###
RegReadDword HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0, \
IncomingVoiceCurrentNumCalls,numCalls
call tallyCalls
%InVoPhCurrNumCalls% = %callCount%
RegReadDword HKLM,Software\Microsoft\Shell\CumulativeCallTimers\Line_0, \
OutgoingVoiceCurrentNumCalls,numCalls
call tallyCalls
%OutVoPhCurrNumCalls% = %callCount%
call getTotalCurrentCalls
%TotalCurrentCalls% = %returnTotalCurrentCalls%
# There can be no blank lines in the code in the stats section.
%stats% = \
"-->Current Info<--^CR^" & \
"Minutes: " & %RealCurrentMins% & " Rnd'd Up^CR^" & \
" (" & %TotalCurrentCalls% & ") Calls^CR^" & \
"^CR^" & \
"-->Phone Lifetime<--^CR^" & \
"Minutes: " & %RealLifetimeMins% & " Rnd'd Up^CR^" & \
" (" & %TotalLifeTimeCalls% & ") Calls^CR^" & \
"^CR^"
endsub
sub getTotalCurrentCalls
%returnTotalCurrentCalls% = %InVoPhCurrNumCalls% + %OutVoPhCurrNumCalls%
endsub
sub getTotalLifeTimeCalls
%returnTotalLifeTimeCalls% = %InVoPhLiTiNumCalls% + %OutVoPhLiTiNumCalls%
endsub
sub realMinutes
if expression (%minsOnly% = 0)
%realMins% = (%minsOnly%/60)
else
%realMins% = (%minsOnly%/60) +1
EndIf
endsub
sub getRealCurrentMins
%returnRealCurrentMins% = %AllCurrentIncomingMins% + %AllCurrentOutgoingMins%
endsub
sub getRealLifetimeMins
%returnRealLifeTimeMins% = %AllLifetimeIncomingMins% + %AllLifetimeOutgoingMins%
endsub
sub tallyCalls
# Just a way of setting the var to use above.
%callCount% = %numCalls% + 0
endsub
m4xx0rz said:
Your best be might be to see if you can modify the T-Mobile My Account app.
Click to expand...
Click to collapse
My Account is a server based solution, there is no way it would work for any operator other than t-Mo
Need data usage monitoring
Tref said:
It's fairly easy to do using Mortscript. I've used one in the past on my Wizard and I've recently been tweaking it to work on this phone. This current iteration is much less complicated/sophisticated than the original version (which I did not write), because I don't want data minutes combined with voice minutes, and I don't care to have my minutes broken down to days and hours for me. And since I have unlimited data I don't need to know how much usage I'm accumulating.
Here's a link to the original thread and script I believe. At any rate it's where I first learned about it 3 years ago. As you'll see the version I've included below is quite different from that one. Between the two of them you just might find what you're after, or perhaps have a good time making one that suits you perfectly.
http://forum.xda-developers.com/showthread.php?t=258960&page=1
Here's what I'm using now. It's written for Mortscript 3.1, which is quite different from his most recent version. Version 4.2 may be backward compatible enough to run this, or it may not. The program allows you to reset your current counters, so if you run it on the day your bill cycle starts fresh and choose Yes to reset it can help you to keep track of where you are for the month.
Click to expand...
Click to collapse
Yes, I've seen those registry keys and MortScripts to access/reset them to monitor incoming/outgoing minutes used, however what I haven't seen is a way of doing the same thing for data usage, which is what I'm really after. One of the scripts in that thread you referenced allegedly tracks data usage, but uses registry keys that are not present on my device, so obviously that solution doesn't work for me on my Sprint Touch Pro.
Other than monitoring the connections and keeping track of the packets going in and out on that connection, how can I see how much data traffic my phone is using and be able to keep track and reset a counter for monitoring it so I don't go over my 5GB cap?
Sounds like an idea... but I also thought this already existed... Apparently not.
So what would you be looking for?
- Keep track of minutes usage
- Keep track of cellular data usage
- Keep track of your limits and warn if approaching
- Automatic monthly (date configurable) + minutes + data, with optional carry-over ?
Just thinking... anyways, if I would pick up on this project it'd probably have a free beta but end up in the appstore for a few bucks. If
What keys does your phone have in HKLM,Software\Microsoft\Shell\CumulativeCallTimers? If there are none there which appear to be data related, have you searched your Registry for strings containing the word data? I have no idea how Sprint implements their version of WinMo, but it would seen that the registry would have to be employed in one step or another. My Wizard was a Cingular device running WM5, my TP2 an unbranded one and I'm running 6.1. The call timer dwords on both are identical. Why your Sprint is apparently different I have no idea.
Chainfire said:
Sounds like an idea... but I also thought this already existed... Apparently not.
So what would you be looking for?
- Keep track of minutes usage
- Keep track of cellular data usage
- Keep track of your limits and warn if approaching
- Automatic monthly (date configurable) + minutes + data, with optional carry-over ?
Just thinking... anyways, if I would pick up on this project it'd probably have a free beta but end up in the appstore for a few bucks. If
Click to expand...
Click to collapse
I was thinking the morning that it would be nice if I went back into the code I'm running and modify it to ignore nights and weekend minutes/calls and to subtract them from the registry's lifetime entries too. But unless I actually wrote this as a daemon I'd be forced to activate the code after receiving a call under those conditions. Something to think about perhaps....
Yes, please develop this!
Chainfire said:
Sounds like an idea... but I also thought this already existed... Apparently not.
So what would you be looking for?
- Keep track of minutes usage
- Keep track of cellular data usage
- Keep track of your limits and warn if approaching
- Automatic monthly (date configurable) + minutes + data, with optional carry-over ?
Just thinking... anyways, if I would pick up on this project it'd probably have a free beta but end up in the appstore for a few bucks. If
Click to expand...
Click to collapse
Actually, what I'd like is something along the lines of the built in iPhone usage information (see screenshots). Something that shows the cellular network data sent/received (including tethering), the number of SMS in/out and the number of voice minutes used (in categories, e.g., night/weekend, incoming, outgoing, etc., with the ability to select night/weekend hours since they may vary) and the ability to manually or automatically reset the counters at a specific time. Charting or otherwise keeping track of past usage would also be nice.
At the same time, I'm trying out various things to improve my battery usage, so I'd also like to be able to track time phone has been used, time since last full charge, etc., as the iPhone does. Note that I'm not an apple fanboy, I just like this particular app they have that groups together all this info and want something similar for my WM phone!
Really love my Touch Pro, but it's frustrating that getting basic usage info like this is not possible or is difficult to get at the moment. I'd gladly help beta such an app and purchase it once it's ready for release on the WM Marketplace. Had thought of this for my first WM app, but I know others out there could get it done in probably less than 1% of the time it'd take me.
Tref said:
What keys does your phone have in HKLM,Software\Microsoft\Shell\CumulativeCallTimers? If there are none there which appear to be data related, have you searched your Registry for strings containing the word data? I have no idea how Sprint implements their version of WinMo, but it would seen that the registry would have to be employed in one step or another. My Wizard was a Cingular device running WM5, my TP2 an unbranded one and I'm running 6.1. The call timer dwords on both are identical. Why your Sprint is apparently different I have no idea.
Click to expand...
Click to collapse
Not a surprise that Sprint does it differently, just to be difficult!
Here's an export of my Line_0 key:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\CumulativeCallTimers\Line_0]
"IncomingVoiceCurrentNumCalls"=dword:00000058
"IncomingVoicePhoneLifeTimeNumCalls"=dword:00000058
"IncomingVoiceCurrent"=dword:00003FB8
"IncomingVoicePhoneLifeTime"=dword:00003FB8
"AllCurrentNumCalls"=dword:000000DA
"AllPhoneLifeTimeNumCalls"=dword:000000DA
"AllCurrent"=dword:00008A55
"AllPhoneLifeTime"=dword:00008A55
"LastCallDuration"=dword:0000007F
"OutgoingVoiceCurrentNumCalls"=dword:00000082
"OutgoingVoicePhoneLifeTimeNumCalls"=dword:00000082
"OutgoingVoiceCurrent"=dword:00004A9D
"OutgoingVoicePhoneLifeTime"=dword:00004A9D
"OutgoingDataCustom"=hex:0A,00,00,00,38,93,56,01,F0,54,6E,06,00,00,00,00,01,12,D9,02,00,00,00,\
00,0C,4F,F1,03,00,00,00,00,A9,B5,92,02,00,00,00,00,CE,68,7F,03,00,00,00,00,\
58,5C,46,00,00,00,00,00,3E,E6,71,00,00,00,00,00
"OutgoingSMSCustomIn"=dword:00000013
"OutgoingVoiceCurrentCustom"=dword:0000041E
"OutgoingSMSCustom"=dword:0000000E
"OutgoingSMSCustomFTLow"=dword:13A53080
"OutgoingSMSCustomFTHigh"=dword:01CA697A
"IncomingVoiceDayCustom"=dword:00000135
"OutgoingVoiceDayCustom"=dword:000002B6
"IncomingVoiceCurrentCustom"=dword:00000135
"RoamingCurrentNumCalls"=dword:00000001
"RoamingPhoneLifeTimeNumCalls"=dword:00000001
"RoamingCurrent"=dword:0000002C
"RoamingPhoneLifeTime"=dword:0000002C
Unlike some other devices that have individual keys for incoming/outgoing data, it looks like all that data (no pun intended) is crammed within the OutgoingDataCustom key. Problem is figuring out how to extract it from that key...
You're right on both counts. That is probably the key, and finding out what it means is going to be a problem. Of course Sprint's customer care wouldn't be likely to have a clue. If the folks here don't know, and there is no Sprint TP2-centric forum out there somewhere, then a Sprint Engineer would be the only hope.
I am constantly amazed though at what some of the folks on this board come up with, especially in regards to the registry. How they figure out that tweaking some of these values, which have no apparent similarity to the problem they are trying to fix, will do so is beyond me. So I wouldn't give up hope, and you might just try searching the registry if you haven't already.
Barring a non-Sprint solution, do they have a #611 type number you can call to get a text message back concerning your data usage to date? It's not as handy of course, and nowhere near as cool as an onboard program, but it could save some nasty overage costs.
Something else you might try is to record the values of that key before and after doing some very specific data downloading. It might shed some light on what is happening, especially if you're careful to record the exact amount of time it takes to download a specific amount of data.
Good luck!
App development VB .net
Fellow XDA members,
Im currently busy trying to build a (basic) Minute monitor, based on your personal input in free minutes in a textbox. The output works, but i've yet to get the results from the register.
Only problem is that my programming skills are super basic, so IF it works, it'll work for the Touch Pro 2 (maybe more phone, it should work as long a WM creates the registry values we need).
But any help would be appreciated.
My idea is to make it a free program once ready and working.
So is there anybody who wants/could lend a hand?
For someone with more experience in programming it would be easier.
Hello,
I have been transmitting values from my Arduino to my Android using the BlueSerial app. It's great so far, however, I'm only able to read values. Ideally, I want to read these values displayed, and convert them to a variable so I can use them for calculations. I have not altered the Blue Serial app, and the code can be found here (I'm unable to post links due to being a new member): github*com/plastygrove/BlueSerial
As I said, I would like to convert the strings to something useful in order to do calculations. Can anyone provide some guidance?
Thanks.
Isn't it easy enough to make Integer.parseInt(receivedMessageString); ??
panwrona said:
Isn't it easy enough to make Integer.parseInt(receivedMessageString); ??
Click to expand...
Click to collapse
Yeah! Actually, I managed to use that and got it working. But now I want to transmit multiple values and store them as a variable. How can I go about doing that? Over serial, I can transmit them any way (whichever way is easiest), such as:
HTML:
Voltage = 25
Current = 10
Speed = 5
Or without text if necessary like:
HTML:
25
10
5
Or on a line separated by commas, such as:
HTML:
25,10,5
How can I make my android app "know" that there are three separate values being sent, and store each of these into a variable?
Maybe send string values like 'speed: 25', then extract integer from string and turn into value? That's just first idea that came to my mind. What kind of device are you reading from?
panwrona said:
Maybe send string values like 'speed: 25', then extract integer from string and turn into value? That's just first idea that came to my mind. What kind of device are you reading from?
Click to expand...
Click to collapse
That's actually what I managed to do. I used integer.parseint() for the one value. However, wouldn't this change when I'm sending more than one value? I'm trying to figure out how I can individually read each of the three values and store them. The integer.parseint() is working for the one so far though, so that's a start.
I'm sending data from my Arduino Mega to a self-made Android App via bluetooth. The data sends perfectly. And using integer.parseint(), I was able to even do calculations with the incoming number. But when I try to transmit several values, it gets tricky.
Maybe a HashMap <String, Integer> could work?
Sent from my HTC One using Tapatalk