1. IvanRaide's Avatar
    If you read backwards through the posts you will see your question/problem answered/solved several times...
    2008-07-17 03:45 AM
  2. boomersmech's Avatar
    This awsome app didnt work in 2.0..

    BUT!!

    You can get the sound part to work with a little bit of a tweak..

    In Cydia get Erica Utilities snd SQLite3.. then

    then you can use this script in the SMSNotify.sh


    #!/bin/sh
    smsnpath=/usr/local/smsnotify
    sql=/usr/bin/sqlite3
    vibrate=$smsnpath/vibrator
    playaudio=/usr/bin/play
    audiofile=$smsnpath/alarm.aiff

    while test 1
    do
    n=`$sql /var/mobile/Library/SMS/sms.db 'select count(*) from message where flags=0'`;

    if [ "$n" -gt 0 ]
    then

    $playaudio $audiofile &

    fi

    sleep 120
    done


    I'm trying to find away to find NetMage to see if we can get him to write another SCW_Missedcalls binary... or at the least port over the original.. And I hope somone can release the vibrate binary again...

    Thanks Boomers Mech!
    2008-07-21 06:32 AM
  3. IvanRaide's Avatar
    boomersmech: I have almost the exact same article over here,
    http://www.modmyi.com/forums/3rd-par...larm-wm-2.html
    (wish I had seen this first , would have saved myself some time )

    So I also got play working but the query is not triggering the IF condition. I have 2 SMS's unread and if I run the following command in putty it returns 2...

    sqlite3 /private/var/mobile/Library/SMS/sms.db 'select count(*) from message where flags=0'

    but when I have the condition if [ "$n" -gt 0 ] it never triggers, is the condition triggering for you? Can you post your current script, cause I can't figure out why mine isn't working.

    I got it to work. The sqlite3 is also incompatible with FW2.0, but Erica has an update for it as well... I have more detail over here...

    http://www.modmyi.com/forums/3rd-par...larm-wm-3.html

    Now, just to get a vibrate that works
    Last edited by IvanRaide; 2008-07-31 at 07:01 PM. Reason: Automerged Doublepost
    2008-07-31 07:01 PM
143 ... 678
LINK TO POST COPIED TO CLIPBOARD