Page 1 of 5 12345 LastLast
Results 1 to 10 of 44
Discuss [Release] Unread SMS Notification at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; hey, unread sms notification release at http://cre.ations.net/blog/post/smsn...nread-sm:cool: I hate it when someone SMSes me, and ...
  1. #1
    Senior Professional Array Twisty iphoney's Avatar

    Join Date
    Oct 2007
    Posts
    492
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Cool [Release] Unread SMS Notification

    hey,
    unread sms notification release at http://cre.ations.net/blog/post/smsn...nread-sm:cool:

    I hate it when someone SMSes me, and I miss the vibration, and I go for hours without checking my phone. Thus I created SMSNotify, a script that vibrates your iPhone every 15 seconds when you have an unread SMS.

    The script is quite simple - it just queries the SMS database for unread SMSes, and if there are any, it calls the 'vibrator' utility that vibrates the phone for a short time.

    It's written in shell script so if you want it to do other things it's easy to modify.

    Now it's not perfect - when your phone is asleep it won't be every 15 seconds but will wait until the phone silently wakes up (to check your e-mail generally) before it can vibrate again. I'm working on that.

    Download it at http://devices.natetrue.com/iphone/smsnotify.zip or just wait for it to appear in Installer.app - my good friend Shaun Erickson is packaging it up. Note that if you manually install it you need to start it by running "launchctl load /System/Library/LaunchDaemons/net.ations.cre.smsnotify.plist" but if you use Installer that will be done automatically.

    Happy texting.
    thanks



  2. #2
    Advanced Array

    Join Date
    Oct 2007
    Posts
    36
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    does anyone know how to change the 15s to like 45s or so? I cant find a pref file anywhere...

  3. #3
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    406
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by c0caine View Post
    does anyone know how to change the 15s to like 45s or so? I cant find a pref file anywhere...

    Open / Edit smsnotify.sh:
    Code:
    #!/bin/sh
    smsnpath=/usr/bin/smsnotify
    sql=$smsnpath/sqlite3
    vibrate=$smsnpath/vibrator
    while test 1
    do
     n=`$sql /var/root/Library/SMS/sms.db 'select count(*) from message where flags=0'`;
     if [ "$n" -gt 0 ]
     then
      $vibrate
     fi
     sleep 15
    done
    Change the sleep 15 to sleep 45 : )


    Cheers,

    Mark
    O2 UK iPhone Tarrif
    1.1.4 Firmware Jailbroken / Unlocked

  4. #4
    peu
    peu is offline
    Respected Professional Array peu's Avatar

    Join Date
    Aug 2007
    Location
    Buenos Aires Argentina (I like ribs)
    Posts
    501
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Quote Originally Posted by iphonedev View Post
    Open / Edit smsnotify.sh:
    Code:
    #!/bin/sh
    smsnpath=/usr/bin/smsnotify
    sql=$smsnpath/sqlite3
    vibrate=$smsnpath/vibrator
    while test 1
    do
     n=`$sql /var/root/Library/SMS/sms.db 'select count(*) from message where flags=0'`;
     if [ "$n" -gt 0 ]
     then
      $vibrate
     fi
     sleep 15
    done
    Change the sleep 15 to sleep 45 : )


    Cheers,

    Mark
    Where is this file located? Installer put the files in a different place than the ones stored in the direct download zip.

    5>evaders>JB 6.12
    4S>5.01>>5.11>redsnow>JB 5.1.1
    4>Limera1n B1>4.3.2>IOS5 GM>redsnow>JB 5.0
    3GS>blackra1n RC3>3.1.2>Spirit>Unlock 3.1.2>Jailbreakme.com>Ultrasn0w 2.0>JB 4.01
    3G>redsn0w 0.72>ultrasn0w>Unlock 3.0>pwnage 3.14>JB 3.1.2
    2G>hardware unlock>elite-team virginizer>upgrade to 1.1.1>toc2rta JB>anysim 1.1>unlock 1.1.1>Restored to 1.1.3>Ziphone 2.2>Unlock 1.1.3>Modified Ziphone>iClarified unlock patch>Unlocked 1.1.4>QuickPWN>2.0.2>2.1>2.2>2.2.1>redsn0w 0.71>JB 3.0

  5. #5
    Professional Array

    Join Date
    Dec 2007
    Posts
    58
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    Better if got option to turn off. If someone sms at 3.00 am , just imaging how it will drain iphone battery.


  6. #6
    Senior Professional Array Nuttynutter123's Avatar

    Join Date
    Dec 2007
    Posts
    247
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    19

    Default

    to change it to 45sec's
    when you say open.. edit..
    open it with what? sorry i am a learning noob lol..

  7. #7
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    406
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by serpent View Post
    Better if got option to turn off. If someone sms at 3.00 am , just imaging how it will drain iphone battery.
    if the iPhone supports crontab then use a cron job : )
    O2 UK iPhone Tarrif
    1.1.4 Firmware Jailbroken / Unlocked

  8. #8
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    406
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by Nuttynutter123 View Post
    to change it to 45sec's
    when you say open.. edit..
    open it with what? sorry i am a learning noob lol..
    ONE WORD (EXCLUDING THESE) - MORON
    O2 UK iPhone Tarrif
    1.1.4 Firmware Jailbroken / Unlocked

  9. #9
    Senior Professional Array Nuttynutter123's Avatar

    Join Date
    Dec 2007
    Posts
    247
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    19

    Default

    Quote Originally Posted by iphonedev View Post
    ONE WORD (EXCLUDING THESE) - MORON
    thanks for the help

  10. #10
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    406
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by peu View Post
    Where is this file located? Installer put the files in a different place than the ones stored in the direct download zip.
    are you lot stupid?

    ssh the sodding phone and do:


    find / -name smsnotify.sh


    then you get the path....

    edit the file based on the path that is shown to you from the find command. christ it isnt rocket science! :/

    PS.

    Having a shit day dealing with crap like this all the time |:
    O2 UK iPhone Tarrif
    1.1.4 Firmware Jailbroken / Unlocked


 

 
Page 1 of 5 12345 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 07-26-2008, 11:19 AM
  2. [1.1.3] MobileSMS shows unread sms even if i read it!
    By onesrv in forum Free Toolchain Software (Cydia App's)
    Replies: 5
    Last Post: 03-10-2008, 10:05 AM
  3. Taskbar Notifier - Notifies of unread SMS messages
    By jaysea in forum Free Toolchain Software (Cydia App's)
    Replies: 88
    Last Post: 12-23-2007, 05:27 PM
  4. sms unread mail icon
    By grantsmith in forum iPhone "2G" (Rev. 1)
    Replies: 1
    Last Post: 11-07-2007, 01:21 AM
  5. Download only UNREAD mail in Gmail.
    By mikegp in forum General
    Replies: 5
    Last Post: 10-05-2007, 02:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 03:34 PM.
twitter, follow us!