Hi,
I would like to return the number of days since the 12th of the current month up until the 11th of the following month, e.g.
I had the following conditional statement:
$(#Dd#-11<0)?(#Dd#-11+#DI#)#Dd#-11)$
It works up until (#Dd#-11) is greater than zero but then it fails when it's the following month.
It doesnt seem possible to add #Dd# and #DI#?
Any help appreciated,
Garret
Does this example get what you are after? It shows approximate # days since 25th (assumes 31 days per month, I think):
$#Dd#<26?#Dd#+6:#Dd#-25$
Related
I was just wondering if anyone had come across an app that will record all the data usage from date x to date y and give me a running total.
Basically I have a 30Mb a month data package which resets back to 30Mb allowance on my billing date every month.
What would be great is if I could have an app where I can set the counter to 0 (or 30mb) on whatever day of the month I want and it would show me my usage and alert me when I get within 5 or 10% of the amount I select.
This would then stop me from going over my data package allowance and incurring large bandwidth costs which I don't find out about until my next bill or unless I ring my provider (Orange).
Is it a good idea and does it already exist?
Starfury said:
I was just wondering if anyone had come across an app that will record all the data usage from date x to date y and give me a running total.
Basically I have a 30Mb a month data package which resets back to 30Mb allowance on my billing date every month.
What would be great is if I could have an app where I can set the counter to 0 (or 30mb) on whatever day of the month I want and it would show me my usage and alert me when I get within 5 or 10% of the amount I select.
This would then stop me from going over my data package allowance and incurring large bandwidth costs which I don't find out about until my next bill or unless I ring my provider (Orange).
Is it a good idea and does it already exist?
Click to expand...
Click to collapse
Yes, exist...
http://www.efficasoft.com/gprsmonitor.html
or
http://www.spbsoftwarehouse.com/products/gprsmonitor/?es
Personally use the first one...
Regards.
Thanks a lot...
The first one is loaded and running.
Starfury said:
Thanks a lot...
The first one is loaded and running.
Click to expand...
Click to collapse
Glad to help you
Is there any that are freeware? The "first" one died after 30 days and I am too cheap to register it
Starfury said:
Is there any that are freeware? The "first" one died after 30 days and I am too cheap to register it
Click to expand...
Click to collapse
BatteryStatus have data transfer counter, give it a try...
I have a relatively new SG2 on T-Mo and just had a scary incident last week related to my data usage.
Firstly, understand that I've been an Android user for two years on Sprint and know from that experience that my data usage has always averaged 300-500MB/mo, i.e., I am not a heavy user. I've also been completely satisfied with my new SG2 (battery etc) as well as the T-Mo network.
Last Friday, however, my phone unexpectedly died in the late afternoon. I plugged it in and powered-up, then got a warning that I was about to exceed my 2GB data-plan. I was only 3 days into the current billing-cycle! I called T-Mo and they said, "We can see your data-usage running as we speak." I said that was ridiculous, there was nothing running on the phone and I had just restarted it. There was no visible sign of any app or activity on the phone. Eventually, though, I realized what was happening:
Earlier that same day I had tried to email myself a large attachment. (I'm only running my work email-account which is on Exchange.) The email never came through and I realized I had probably exceeded the maximum size allowed by my email server. Apparently the phone did not gracefully give-up the outbox message! Instead it went berserk and tried/failed repeatedly to send the email, killing both my battery and my 2GB data-allotment in just a few hours.
T-Mo tech support had the good suggestion to remove (then re-add) my work email account, and that fixed the problem.
Conclusion: there's a bug in the Samsung Mail app where it does not recognize/accept an 'undeliverable' response from email servers, at least not the 'too big' response from Exchange servers.
___________
New issue:
So now I was paranoid and installed a data-usage widget to monitor my connection. In the next week my phone averaged ~45MB/day?! This was still insane, since I knew from experience I typically used 10MB/day. I called T-Mo to complain that one of their apps must be wasting my data-plan and they played dumb. They also said they had 'no control' over the crapware they'd force-installed on the phone. I not-so-politely told the rep that was a load of crap and asked that she record a note on my account that I was concerned my data-plan was being 'wasted' by their apps, in case I called-back later to dispute my charges.
Now, from reviewing this forum, I see lots of complaints about the T-Mo 'My Account' app. Is that known to waste data-usage?
P.S. I'm currently running an experiment wherein I uninstalled the Google+ app. This was the one new app I'm running (relative to the previous 2 years' experience). So far the problem seems to be fixed? I'm surprised, though, that Google+ would use that much data as I'm only linked to a handful of people (immediate family) and none of us are posting anything.
no...the my account app does not waste my data...i have had this phone for a week and a half and also used the app on my samsung vibrant...have never had any weird data usage cycles...my billing cycle just ended on the 14th...my data counting widget shows 27.5MB used...its 5:30 eastern...so over a day and a half and only at 27.5mb...nothing even remotely close to your 50MB/day
I want to create two side by side bars to show my exact position in my monthly billing cycle and my data used to give me an accurate idea of how well I am doing data-usage wise. I have tried a bunch of stuff but I cant get it and was hoping somebody here could help me out. This is what I have tried so far.
My billing cycle restarts on the 7th.
My first attempt was to get the number of days since last months 7th and today and subtract the number of days since this months 6th using "#D...Td#" to get the number of days in the last billing cycle but the strings ended up really long and I couldnt figure out how to subtract one from the other.
My next try was using the number of days in this month if it is after the 6th and use the number of days in last month if it is before the 6th. This is what I came up with.
Code:
[B]#$0$# [/B]#D$#DM#=1?[B]2014[/B]:#Dy#$$#DM#>1&&#DM#<11?0$$#DM#=1?12:[B]7[/B]$010000l#
This is the logic I use to get a datetime stamp of last month:
If this month equals 1 then append last year else append this year
if this month is greater than 1 and less than 11 then last month is a single digit so append a 0
if this month is 1 append 12 else append this month minus 1
append 01 for the first day
append 0000 for HHMM
I use the generated string in #D...l# to get the number of days in last month. Doing this I ran into two(maybe three?) major problems. The one is that i dont know how to perform an operation inside the if/else without breaking the containing "#D...l#" call. The second was that while I was testing things out (I had a few different strings to try and get last months days or the cycle day count) I removed all of the stuff I wasnt using it broke the working one. I trimmed as much as I could without breaking the semi-working string. if I remove the (useless) "#$0$# " from the beginning the second half stops working again.
The last problem is that I am not completely sure how to use this once I get it. I was going to set the progress bar to start at 1 and end at the number of days in this cycle but then I would have to do a bunch of checks on the current day of the month to find out which day in the cycle it is.
So... Is there an easier way to do all of this? Either way I would like to see how to make the line I quoted above work.
Thanks!
Wrong thread
You should also keep in mind that the data usage info that Zooper displays resets when you reboot (I believe it also resets if you wipe the app cache).
Wrong thread
Mokum020 said:
For me it doesn't reset when I reboot, only when I wipe app cache.
Oh and I forgot to mention, you can use this as value for the data usage progress bar: #NTMTMM7#
Click to expand...
Click to collapse
It looks like it maintains across restarts for me too (using an S5).
I actually came up with another solution which I *think* is completely accurate for cycle time and I was leaving it go to make sure the numbers always looked right. About half way through the billing cycle my data usage broke 1GB and #NTMTMM7# started reporting in GB rounded down to one decimal place. Is there any way to force it to display in MB or, if not, make it display two decimal places? With two I could just check if usage is < 3 and if so, assume GB and multiply by 1024, else assume MB and multiply by 1. It won't be accurate for the first 3MB but that will pass quickly enough.
Looks like I was using the wrong string here after all. I switched it to #NTMTMM6# (#NTMTMM7# seems to be way off, 6 is closer but still like 12MB off...)
The strings I am using to get the min and max values for my day progress bar are....
Min: -$#Dd#>6?(#Dd#-7)$$#Dd#<7?#D$$#Dd#<7&&#DM#>1?#Dy#$$#Dd#<7&&#DM#=1?(#Dy#-1)1207$$#Dd#<7&&#DM#<9?0$$#Dd#<7&&#DM#>1?(#DM#-1)$$#Dd#<7?070000Td#$
and
Max: $#Dd#<7?(7-#Dd#)$$#Dd#>6?#D$$#Dd#>6&&#DM#<12?#Dy#$$#Dd#>6&&#DM#=12?(#Dy#+1)0108$$#Dd#>6&&#DM#<9?0$$#Dd#>6&&#DM#<12?(1+#DM#)$$#Dd#>6?090000Td#$
Which shows -23 (days since 7th of last month) to 8 (days until 6th of next month) right now. I just set Value to 0.
I tried setting min to 0, Value to my current Min, and max to my current Min + my current max but I don't know how to get them to add together. I don't plan on having numbers once I figure out how to make this accurate so that isnt an issue. I just need to test them for another week or two to make sure the cycle end/starts are correct and test them for December/January to make sure the month/year corrections are right. Of course all of this is for nothing if I can't figure out how to get the data accurately.
Mokum020 said:
I think this is what you're looking for, from exactly a year ago http://forum.xda-developers.com/showthread.php?t=2679504
Click to expand...
Click to collapse
I saw that before I posted but I was hoping to come up with something more accurate. I guess I don't know how Sprint works internally but the data used in my account and if I am charged an over usage fee seems to be based on 7th-6th cycles, not 30 day cycles.
Edit:
I finally tested my script with a few different days and made some changes. It looks like it works pretty well. If anybody else needs it...
Day of Cycle (replace all (0)6s with the last day of your billing cycle, add a - sign to use as the min value for a progress bar)
$#Dd#>6?(#Dd#-6)$$#Dd#<=6?#D$$#Dd#<=6&&#DM#>1?#Dy#$$#Dd#<=6&&#DM#=1?(#Dy#-1)$$#Dd#<=6&&#DM#=1?12$$#Dd#<=6&&#DM#>1&&#DM#<10?0$$#Dd#<=6&&#DM#>1?(#DM#-1)$$#Dd#<=6?060000Td#$
Days left (replace all (0)7s with the first day of your billing cycle)
$#Dd#<7?(7-1-#Dd#)$$#Dd#>=7?#D$$#Dd#>=7&&#DM#<12?#Dy#$$#Dd#>=7&&#DM#=12?(1+#Dy#)$$#Dd#>=7&&#DM#=12?01$$#Dd#>=7&&#DM#<9?0$$#Dd#>=7&&#DM#<12?(1+#DM#)$$#Dd#>=7?070000Td#$
Last night I got 5mb update I don't know what it update. Only one thing which I notice is UI is more speedy other thing I did not notice. May be after one day I use and see the battery status. I am on .185 firmware. Any other got this update.
It's been out for quite a while. Central Europe received it yesterday, while the first region it reached was a month ago.
any ideas how to make the first day of the week on the watch to be Monday instead of Sunday? It applies to all my metrics and they end on Saturdays but I haven't been able to find a way to change it anywhere
kostas90 said:
any ideas how to make the first day of the week on the watch to be Monday instead of Sunday? It applies to all my metrics and they end on Saturdays but I haven't been able to find a way to change it anywhere
Click to expand...
Click to collapse
I believe it takes it from the Time zone of the Phone where it syncs to.