+ Reply
Page 8 of 8 FirstFirst ... 678
Results 141 to 143 of 143

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: [APP RELEASE] SMS Notify (vibrates)

is a discussion within the

Native iPhone / iPod Touch App Launches

forums, a part of the

3rd Party Apps For iPhone | iPod Touch

section;
If you read backwards through the posts you will see your question/problem answered/solved several times...
...
  1. #141
    iPhone? More like MyPhone
    Join Date
    Oct 2007
    Posts
    102
    Thanks
    1
    Thanked 12 Times in 10 Posts

    If you read backwards through the posts you will see your question/problem answered/solved several times...

  2. #142
    Green Apple boomersmech's Avatar
    Join Date
    Oct 2007
    Location
    San Diego
    Posts
    35
    Thanks
    1
    Thanked 7 Times in 3 Posts

    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!

  3. #143
    iPhone? More like MyPhone
    Join Date
    Oct 2007
    Posts
    102
    Thanks
    1
    Thanked 12 Times in 10 Posts

    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; 07-31-2008 at 11:01 AM. Reason: Automerged Doublepost

+ Reply
Page 8 of 8 FirstFirst ... 678
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts