Page 5 of 8 FirstFirst ... 34567 ... LastLast
Results 81 to 100 of 143

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


Thread: [APP RELEASE] SMS Notify (vibrates)

  1. #81
    chico_can - I don't know why, as it works for me. Maybe the daemon stops for some reason? Nate would be more qualified to answer this one. Sorry man.

    I would love for Nate to wrap this up in a nice GUI with settings like: vibrate on/off, daemon on/off, choose different sound to use for missed call & SMS.

    I think he is very busy at the moment though with the new 113 release in hand...

  2. #82
    The daemon does suspend once the device enters 'deep sleep'. This has been talked about a LOT, you can check it out here...

    http://www.modmyi.com/forums/showthr...t=24438&page=2

    But for now, the ONLY solution is setup the iPhone to check email every x minutes and then when it does it wakes up enough for your script to run again and do its thing. Yes, not great, ... but its better then nothing.

  3. #83
    Quote Originally Posted by IvanRaide View Post
    The daemon does suspend once the device enters 'deep sleep'. This has been talked about a LOT, you can check it out here...

    http://www.modmyi.com/forums/showthr...t=24438&page=2

    But for now, the ONLY solution is setup the iPhone to check email every x minutes and then when it does it wakes up enough for your script to run again and do its thing. Yes, not great, ... but its better then nothing.
    I don't have a data plan, if i set up an email account to check every so often and it tries to go through edge, it won't work. is that good enough to wake the phone?

  4. #84
    Thats an interesting question/idea.

    I would image you would setup some fake AP for Edge, (the phone is probably smart enough to NOT wakeup if no AP is defined), but setup a fake one ... and when the phone wakes up and tries to get EDGE access (which will take a while to fail-timeout your script should have the chance to run).

    It's easy enough to test, give it a try... but I would guess that it would work.

  5. #85
    Default SMSNotify not working in firmware 1.1.3
    After the upgrade and reinstall of SMSNotify its not detecting SMS using this query...

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

    AND the scw_missedcalls app now seems to always return a positive value even if there are NO missed calls?

    Anyone know what the new SMS query should be and/or what to do about the missed calls?

    Very sad this isn't working anymore?

  6. #86
    is it possible to tweak this to work for calendar notifications?

  7. #87
    Maybe the SDK will make this working agin... but until then we will have to stumble around to figure out the comands to access the correct info in the db. Also the fact that the phone now has 2 sleep modes that are now much more embeded really sends programs like this up the river.
    Last edited by boomersmech; 2008-02-02 at 10:19 AM. Reason: Automerged Doublepost

  8. #88
    It's not working on 1.1.3 , its there any fix for that?

  9. #89
    I figured out how to make it work again in 1.1.3. The problem "I think" is the sql queries are hardcoded to root and can't see the new mobile directory, to fix this do the following in putty

    ln -s /private/var/mobile/Library/SMS /private/var/root/Library

    You should now have build a symbolic like to the SMS database in root so that the smsnotify query can work. I image its a similar problem for the phone calls as well, I just don't know what directory that program reads yet. Any help would be, well, helpful....

    EDIT: Ok, its the CallHistory directory for calls, but I still can't get the program scw_missedcalls to work, only the older less sophisticated callhistory query seems to be working. If anyone knows how the scw_missedcalls does its thing, we can probably figure it out. to add a symbolick link for callhist do the following...

    ln -s /private/var/mobile/Library/CallHistory /private/var/root/Library

    EDIT: Obviously, you could just change the script as well to point to mobile directory that would be cleaner then the symbolic link, I just did it to see if the scw_missedcalls would work, (which it didn't)
    Last edited by IvanRaide; 2008-02-04 at 04:50 PM.

  10. #90
    For those using it - I updated scw_missedcalls to work correctly on 1.1.3 regardless of whether it executes as root or mobile. The problem is that missed calls data (last time viewed) are stored under mobile since all apps run as mobile, but if you setup the script to run as root, it reads the last calls for root.

    Updated program attached.
    Attached Files Attached Files
    Starlight Computer Wizardry
    Pocket-sized Development
    Follow me on twitter: @NetMage

  11. The Following User Says Thank You to NetMage For This Useful Post:

    eyeandi (2008-02-19)

  12. #91
    Green Apple
    Join Date
    Nov 2007
    Location
    Olympia, WA
    Posts
    46
    Thanks
    18
    Thanked 2 Times in 2 Posts

    when is it possible to get this thru installer?

    THANKS!

  13. #92
    Can some one make detail step to get it working? There lot of people that post something to make it work, but which one is good??

  14. #93
    Is there any way I can get this to work with 1.1.3???? This "app" was very useful and I would like to have it working again.

    Why didn't Apple make this apart of the iPhone software? What is wrong with them? The most basic phones have missed call/sms notification.

  15. #94
    If you look back on page 6 I talk about how to get it running on 1.1.3 in 2 different methods.

    Plus if you use the new version of NetMage's app (scw_missedcalls) you can get the missed calls to work as well.

  16. #95
    Yea I've looked at it since and I got SMS to work.

    I don't understand how to get the scw_missedcalls thing to work?

  17. #96
    assuming you placed the scw_missedcalls in the /usr/local/smsnotify dir, (and set permission to 755)

    add these lines....

    missedcalls=$smsnpath/scw_missedcalls

    d=`$missedcalls`;

    and change the condition to something like this

    if [ "$n" -gt 0 -o "$d" -gt 0 ]


    I've included my script but I don't recommend you just copy it, since it might not do what you want, its just here for reference

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


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

    if [ "$n" -gt 0 -o "$d" -gt 0 ]
    then

    $vibrate &
    $playaudio $audiofile &

    fi

    sleep 30
    done

    ----------------------------------------------------------------------

  18. The Following 2 Users Say Thank You to IvanRaide For This Useful Post:

    ABT4 (2008-02-20), krayzie303 (2008-03-03)

  19. #97
    Thanks a lot. Worked perfectly.

    Now, can you figure out how to make it not sound while in vibrate mode? haha

    You have been thanked.

  20. #98
    Thanks for the thanks ...


    If Erica or someone made an app it would be easy to add to the script, I just don't know of an app, but that doesn't mean there isn't one. If anyone finds one tell us and we could add that easily enough.

    If Nate or anyone else is interested in getting this script/app waking up on its own apparently someone posted something they say works...

    http://www.modmyi.com/forums/showpos...2&postcount=23

    http://iphonedevdocs.com/forum/showp...93&postcount=9
    Last edited by IvanRaide; 2008-02-21 at 05:38 AM. Reason: Automerged Doublepost

  21. #99
    iPhone? More like MyPhone doogee's Avatar
    Join Date
    Oct 2007
    Location
    Ontario, Canada
    Posts
    153
    Thanks
    4
    Thanked 8 Times in 8 Posts

    Kills the battery though. Kind of scared of wearing out the vibrating device too.

  22. #100
    You could change the script to increment a counter and if it has attempted to notify you 10 times, to stop (and reset the counter whenever the condition is NOT true)....

    I myself don't really see the need because, unfortunately, the app can't wake itself up so it only updates on your email interval which is probably like 15 minutes or so, so a small update every 15 minutes or so should not hurt anything, and if you are using the device, well, answer your SMS

    But, seriously the counter should work if you want to add that functionality
    Last edited by IvanRaide; 2008-02-21 at 10:47 PM.

Page 5 of 8 FirstFirst ... 34567 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •