maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   SMS counter for N900? (https://talk.maemo.org/showthread.php?t=38364)

StocChr 2010-08-10 05:24

Re: SMS counter for N900?
 
no ideas? need urgently help

mdv 2010-08-18 17:59

Re: SMS counter for N900?
 
Quote:

Originally Posted by hartti (Post 511213)
If you get any error messages (for example if you have not installed any python applications or python desktop widgets before) try to fix the dependencies with
apt-get -f install

Hi harti,
i installed your ap on my nokia n900, and i got the error message. with the details; you need python... and python...
what do i have to do now? i haven't got a clue.. i don't know what apt-get-f install is. also, the language of my device is dutch, so i hope it's still possible than..

MDV

colchaodemola 2010-08-21 16:40

Re: SMS counter for N900?
 
1 Attachment(s)
Replace the sms_counter_widget.py with the attached one.
I rewrote the script to account ONLY the sent SMS , since these are what i really pay for :)
I hardcoded the reset date to day 10 , so if you want another day , change the variable resetdate inside the script.
Hope it helps someone.

it only works with PR1.2

nick11 2010-09-03 17:15

Re: SMS counter for N900?
 
Quote:

Originally Posted by colchaodemola (Post 794133)
Replace the sms_counter_widget.py with the attached one.
I rewrote the script to account ONLY the sent SMS , since these are what i really pay for :)
I hardcoded the reset date to day 10 , so if you want another day , change the variable resetdate inside the script.
Hope it helps someone.

it only works with PR1.2

thanks for the script , its working!
i want to ask a thing.. i don't know use python and i want to know how i can put the reset count of sms every day..
like to get a daily count of SMS then ended the day the count will reset and restart . It is possible? :D :D :D

colchaodemola 2010-09-03 20:57

Re: SMS counter for N900?
 
actually i tried to do that , but i was having toi much trouble with the timezone ... so i gave up. Actually you will see the counter be reseted on the UTC time , and not the localtime. And i have no idea how to fix this. I am no python programmer.
For me the monthly sms even with this timezone problem is enough.
Lets hope the real developer fix the black box.

nick11 2010-09-04 04:17

Re: SMS counter for N900?
 
Quote:

Originally Posted by colchaodemola (Post 806620)
actually i tried to do that , but i was having toi much trouble with the timezone ... so i gave up. Actually you will see the counter be reseted on the UTC time , and not the localtime. And i have no idea how to fix this. I am no python programmer.
For me the monthly sms even with this timezone problem is enough.
Lets hope the real developer fix the black box.

ok ok , thanks!!

Berserk 2010-09-30 10:20

Re: SMS counter for N900?
 
Quote:

Originally Posted by colchaodemola (Post 794133)
Replace the sms_counter_widget.py with the attached one.
I rewrote the script to account ONLY the sent SMS , since these are what i really pay for :)
I hardcoded the reset date to day 10 , so if you want another day , change the variable resetdate inside the script.
Hope it helps someone.

it only works with PR1.2

Thanks a lot! I've been missing this very much :D

First I thought I changed the wrong variable, "resetdate=17", because it said "Sent SMSs: 554", but I guess I've just been sending a few..
The script had "resetdate=23", you said it was on 10? Maybe I've got the wrong variable, but it seems to be the right one.

colchaodemola 2010-09-30 16:00

Re: SMS counter for N900?
 
sorry , i changed my resetdate to 23 and updated the script :)
It is the right one...

Berserk 2010-09-30 17:32

Re: SMS counter for N900?
 
Nice, thanks again ;)

I think I've set a new personal record, 554 sms's in 14 days, and today is still counting, I might reach a historical 560! :p I'm glad I have a 1000 sms per month deal :D I would have to request a mortgage without it..

pincy 2010-10-27 21:40

Re: SMS counter for N900?
 
im now working on getting the script to work, i think of the original one...
my problem atm is, that i dont know how i import 2 .db files (cause i've got 3 .db files, but the el.db is with 0kb, so i think i dont need to load it.)
the two others are the
el-v1.db and
el-v1-before-restore.db
.
Would be nice if someone who knows how to text the syntax exactly could help me, to now ive tried something like
rtcom_database = rtcom1 * rtcom2
rtcom1= ...el-v1.db
rtcom2= ...el-v1-before-restore.db
*ive tried it with +, &, &&
nothing worked...
or isnt there a possibility to load 2 dbs with one connect argument?


All times are GMT. The time now is 11:33.

vBulletin® Version 3.8.8