![]() |
Re: New Call logger widget
Quote:
If you need any help on testing i will do it with pleasure. |
Re: New Call logger widget
Ok, I've made some steps forward. I'm rewriting everything using QT and QCreator. By now, I've done a console-based version and if you want to help use your ssh-fu and try out the script to test it. In the meantime I'll check for a decent gui.
You can find the code and some more details here: http://leonardo.lilik.it/wordpress/2...ll-log-widget/ keep in mind that the script will not count the minutes before you apply the triggers.txt as explained, so the best to do is to apply the triggers, do some calls, try the script. ciao leonardo. |
Re: New Call logger widget
Hi Leonardo
Thanks again for restarting your work on this widget. I tried your call-log-terminal application and it worked ok. This was the xterm output: Code:
/home/user/MyDocs # call-log-terminal 2 2010 09 01 sent sms = 6 received sms = 4 ingoing calls = 12 (1 call with end_time=0) ingoing calls duration = 7min 15s outgoing calls = 28 (11 calls with end_time=0) outgoing calls duration = 7min 41s Comparing the real values with the output from call-log-terminal it seams ok. The program doesn't count the calls with end_time=0 which i think is correct. The call duration sum is truncated to the minute. This is a difficult issue as it should be evaluated according to the user plan. For instance my provider invoices 1 min if outgoing call duration is less or equal to 1min and rounds to the next half minute for durations greater than 1min. Later on i will try and post the above test with a larger database. Thanks Test results with a larger database: Quote:
sent sms = 12 received sms = 19 ingoing calls = 86 (with end_time>0) ingoing calls duration = 71min 3s outgoing calls = 125 (with end_time>0) outgoing calls duration = 108min 37s I think this proves that call-log-terminal is working well. I suggest that if possible the call time should be evaluated in time period units per call. For instance if the user time period is 30s a call with 1min 35s should be evaluated as: 1m35s= 95s -> int(95/30+0.9)=4 -> 4X30s=120 -> 120s= 2min and for a user time period of 1s the result would be 1m35s |
Re: New Call logger widget
I have to admit that the gui part is quite disappointing. I dowloaded the SDK, tried to use it, there is no documentation on how to make a desktop widget and the only example i found does not run on my n900...
still trying in my spare time. |
Re: New Call logger widget
If i may suggest an easier / faster way of creating a widget take a look at:
Queen Beacon Widget. and Queen_BeeCon_Widget WIKI If you agree i can also try to create a QBW widget using your script. |
All times are GMT. The time now is 15:21. |
vBulletin® Version 3.8.8