SymbiSoft / dataquota

Automatically exported from code.google.com/p/dataquota
0 stars 0 forks source link

No automatic reset at the beginning of the period #30

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The app is really nice, but it's cumbersome to remember to reset manually the 
data count on the device each time. Most of the time I forget. Plus, some 
people might want to keep statistics from their data usage.

Original issue reported on code.google.com by thied...@gmail.com on 18 Mar 2010 at 8:19

GoogleCodeExporter commented 8 years ago
To clear the log needs extra capabilities, and that requires signing.

It could check and reset the log at launch, but then if you don't run it for a 
few 
days after the month change it's going to clear some usage that's already 
counted 
towards your quota, and you'll probably exceed your quota.

The proper way would be to have a background process that's autostarted and is 
always running, and that should reset the quota each month. Again, this needs 
signing, and is quite a bit of extra work and testing. An always running 
process 
shouldn't fail either, or the logs won't be cleared and again you might exceed 
your 
quota.

But I've got unlimited data now so I'm not actually using the application 
myself, 
and it's not too tricky to reset it each month, and I wanted to keep the 
application 
very simple.

Anyway, Data Quota is open source so I'm happy to accept contributions :)

Original comment by hugovk@gmail.com on 18 Mar 2010 at 10:47

GoogleCodeExporter commented 8 years ago
Instead of having to reset the log, could you record the data on some day, then
display the difference between that number and the current number?  This would 
avoid
having to sign the app, and you could implement the daily thing too (like 
mentioned
in another issue).  Perhaps it's time I learned Symbian programming...

Original comment by athe...@gmail.com on 26 Mar 2010 at 12:20

GoogleCodeExporter commented 8 years ago
To record the data on some given day, you would have to guarantee the 
application (or 
a process) is running on that day, or it'll miss the data and you'll end up 
going over 
your quota.

Original comment by hugovk@gmail.com on 26 Mar 2010 at 1:00

GoogleCodeExporter commented 8 years ago
please tell me the file i need to delete in the hidden folders to clear the 
log, i 
tried everything and the data wont refresh at zero, my billing day is at the 
23, i even 
tried signin it

Original comment by liviurev...@gmail.com on 24 Apr 2010 at 9:34

GoogleCodeExporter commented 8 years ago
Liviurevenger, you need to reset it from the Logs application. For example, you 
might 
find it under Tools -> Log -> Packet data -> Options -> Clear counters.

Original comment by hugovk@gmail.com on 26 Apr 2010 at 9:37

GoogleCodeExporter commented 8 years ago
Hugovk, why do you wandt to clear the log? The log entries contains a timestamp 
which can be evaluated. I have done that in python to count sent sms and 
calling 
time. Would be great if dataquota could also do it this way.

Original comment by kaiwin...@gmail.com on 20 May 2010 at 10:48

GoogleCodeExporter commented 8 years ago
kaiwinter, good idea. Do you know which native Symbian API can be used to get 
log 
entries and timestamps?

Data Quota currently looks up the total sent and received bytes of the Logs 
application from central repository (KLogsGPRSSentCounter and 
KLogsGPRSReceivedCounter 
from KCRUidDCLLogs), so you need to clear that each month for it to be useful.

Original comment by hugovk@gmail.com on 20 May 2010 at 11:30

GoogleCodeExporter commented 8 years ago
Please consider releasing two versions in the future: 1. that does not require 
signing and 2. one that has the extra features but must be signed (or installed 
on a phone that does not require signing for extra permissions)

I know that these features are not trivial to code nor easy to test, but it 
would make the application much more useful for the many people for who an 
unlimited plan sounds like a joke, currently getting charged $2000 per GB.

I am not sure of the Symbian API for it, but I think it might be possible to 
write a timer-like hook, which is like the scheduler in Windows so you can tell 
the app to start at a certain time (that time being the change of billing 
period day).

Thanks for the work thus far though, I know how hard it is to develop anything 
for Symbian.

Original comment by adman.com@gmail.com on 8 Jun 2010 at 2:22