OP Junior Member
Join Date:Joined: Sep 2013
I have fully completed the logic for an app that will calculate the minutes from the beginning and to the end of the current billing cycle. With this info and the data usage statistics being collected (thanks to bdanders from Google groups for the file locations.)
I am calculating the estimated usage by the end of the billing cycle based on the current usage (using the naive forecasting method). With this I am toggling a bit that represents if I am using two much data at this point in my billing cycle, based on a data usage setpoint. Currently this bit is used to change the color of a zooper widget icon from green to red, telling me I need to back off of the data. This bit could also be used to turn off cellular data or any other thing and be pretty reliable as it will be re analyzed every two minutes.
I have tested this logic pretty well and it works through whatever I throw at it. All profiles are running on two minute intervals except for one handling reboots(which I plan to migrate to the two minute method also).
I am making this work with nested if statements and some latching bits to prevent running certain logic more than once when called. I will be releasing this program soon as I am still taking some time to look for bugs.
Please send any ideas or requests as the hard work is now done. I would love to further develop this program.
Last edited by Lancaster84; 1st October 2014 at 07:10 AM.