webOS Nation Forums >  webOS apps and software >  webOS development > Seperate SMS Tones for Each Contact
Seperate SMS Tones for Each Contact

  Reply
 
LinkBack Thread Tools Display Modes
Old 08/28/2009, 01:39 AM   #1 (permalink)
Member
 
Join Date: Aug 2009
Posts: 292
Likes Received: 0
Thanks: 2
Thanked 38 Times in 15 Posts
Default Seperate SMS Tones for Each Contact

I have corrected the issue with the phone screen being off and no tones coming in. If you previously had the patch installed, please do the following to update.

Code:
mount -o remount,rw /
cd /
quilt pop -a -f
quilt delete /opt/src/patches/contacttone.patch
quilt delete /opt/src/patches/contact-multitone.patch
cd /opt/src/modifications
git pull
cd /
quilt import /opt/src/modifications/messaging/contact-multitone.patch
quilt import /opt/src/modifications/contacts/contacttone.patch
quilt push -a -f
reboot


The patch adds and additional field to all of your contacts. It is a MsgTone field. Once this field is set, it will play that tone when any SMS message comes in from that contact. If the contact doesn't have a MsgTone set, it will go to the global default message tone set in Sounds and Alerts. If there isn't one there, it will just play the alert tone like stock.

If you have the messaging-sounds.patch installed, you must remove this first. To do this, you do the following:

Code:
cd /
quilt pop -a -f
quilt delete /opt/src/patches/messaging-sounds.patch
If you plan on using the message forwarding patch, it must be installed AFTER these patches. As long as you install it after, they both can co-exist. The easiest way to do this is:

Code:
cd /
quilt pop -a -f
cd /opt/src/modifications
git pull
cd /
quilt import /opt/src/modifications/messaging/message-forwarding.patch
quilt push -a -f
quilt pop -a -f
Then you can run my patches with no issues.

If you don't have that installed, please do the following:

Code:
cd /
quilt pop -a -f
cd /opt/src/modifications
git pull
cd /
quilt delete /opt/src/patches/contact-multitone.patch
quilt import /opt/src/modifications/messaging/contact-multitone.patch
quilt import /opt/src/modifications/soundsandalerts/message-tone-sounds-and-alerts.patch
quilt import /opt/src/modifications/contacts/contacttone.patch
quilt push -a -f

initctl stop LunaSysMgr && initctl start LunaSysMgr
That should install the patches that you need. I will post screenshots of the contact changes as soon as I get some together.

*** Reporting Issues / Errors ***
Please send me the following in a PM and PM only:

Code:
cat /var/log/messages |grep com.palm.app.messaging

**** If you are not familiar with patching, please read this link and think twice about installing beta/alpha applications ****

Applying Patches


Last edited by Ikyo; 08/31/2009 at 06:55 PM.
Ikyo is offline   Reply With Quote
Old 08/28/2009, 01:48 AM   #2 (permalink)
Member
 
Join Date: Nov 2007
Location: Bradenton, FL
Posts: 22
Likes Received: 0
Thanks: 2
Thanked 1 Time in 1 Post
Default

Awesome work! I was hopin' someone would do this...I haven't rooted my phone yet but I'm gonna be up all night doin' it. Thanks...will test later.
__________________
Check out my buddy's music on MySpace!

http://www.myspace.com/rstboys
Lil Caz is offline   Reply With Quote
Old 08/28/2009, 01:48 AM   #3 (permalink)
Member
 
Join Date: Aug 2009
Posts: 131
Likes Received: 0
Thanks: 10
Thanked 27 Times in 19 Posts
Default

cool feature. thx.
SundayDuffer is offline   Reply With Quote
Old 08/28/2009, 01:54 AM   #4 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

great job Ikyo
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Old 08/28/2009, 01:58 AM   #5 (permalink)
Member
 
Veritas06's Avatar
 
Join Date: Oct 2007
Location: Northport, NY
Posts: 610
Likes Received: 4
Thanks: 448
Thanked 133 Times in 89 Posts
Default

Looks great, can't wait to give it a try =]
Veritas06 is offline   Reply With Quote
Old 08/28/2009, 02:00 AM   #6 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

so does it play the whole sound or does it only play the sound up to the point where the messaging app is opened?
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Old 08/28/2009, 02:02 AM   #7 (permalink)
Member
 
Join Date: Aug 2009
Posts: 292
Likes Received: 0
Thanks: 2
Thanked 38 Times in 15 Posts
Default

It plays the entire sound. So if you select a 30 minute mp3, have fun
__________________
Need different SMS tones for contacts? Well take a look here...
http://forums.precentral.net/web-os-...h-contact.html
Disable annoying notifications in calls....
http://forums.precentral.net/web-os-...ml#post1863116

Thanks are always appreciated or for a really big Thanks you can always:
Ikyo is offline   Reply With Quote
Old 08/28/2009, 02:19 AM   #8 (permalink)
Member
 
andyckr's Avatar
 
Join Date: Aug 2008
Posts: 167
Likes Received: 0
Thanks: 54
Thanked 3 Times in 3 Posts
Default

Thanks!!!
It worked!

Last edited by andyckr; 08/28/2009 at 02:34 AM.
andyckr is offline   Reply With Quote
Thanked By: raiderzx
Old 08/28/2009, 02:24 AM   #9 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

Quote:
Originally Posted by Ikyo View Post
It plays the entire sound. So if you select a 30 minute mp3, have fun
awesome ! i just set a 50 min. ringtone lol jk

i like this new feature! well done
at least now i know who is texting me when the tone is played
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Old 08/28/2009, 02:36 AM   #10 (permalink)
Member
 
hmagoo's Avatar
 
Join Date: Jun 2009
Location: Palm Desert, CA
Posts: 249
Likes Received: 1
Thanks: 38
Thanked 47 Times in 22 Posts
Default

what about the clean-messenger-timestamps patch?

what is the procedure if any for using that patch in conjunction with these?

thanks for your work.
edit: looks like they don't patch the same files so I'm going to try it out.

works awesome!! congrats on patching three different "apps"!!

Last edited by hmagoo; 08/28/2009 at 02:56 AM.
hmagoo is offline   Reply With Quote
Old 08/28/2009, 07:36 AM   #11 (permalink)
Member
 
Join Date: Aug 2009
Posts: 292
Likes Received: 0
Thanks: 2
Thanked 38 Times in 15 Posts
Default

I only did two, but wanted to include the third because it is such a great patch. I know that I hated not having a seperate SMS tone when I got the phone.
__________________
Need different SMS tones for contacts? Well take a look here...
http://forums.precentral.net/web-os-...h-contact.html
Disable annoying notifications in calls....
http://forums.precentral.net/web-os-...ml#post1863116

Thanks are always appreciated or for a really big Thanks you can always:
Ikyo is offline   Reply With Quote
Thanked by hbc0175, raiderzx
Old 08/28/2009, 08:19 AM   #12 (permalink)
Member
 
cdbillups's Avatar
 
Join Date: Oct 2008
Location: MO
Posts: 491
Likes Received: 1
Thanks: 32
Thanked 98 Times in 78 Posts
Default

How easy is this to undo when / if Palm ever adds this function?
__________________
cdbillups is offline   Reply With Quote
Thanked By: raiderzx
Old 08/28/2009, 08:56 AM   #13 (permalink)
Member
 
Join Date: Aug 2009
Posts: 292
Likes Received: 0
Thanks: 2
Thanked 38 Times in 15 Posts
Default

easy
__________________
Need different SMS tones for contacts? Well take a look here...
http://forums.precentral.net/web-os-...h-contact.html
Disable annoying notifications in calls....
http://forums.precentral.net/web-os-...ml#post1863116

Thanks are always appreciated or for a really big Thanks you can always:
Ikyo is offline   Reply With Quote
Thanked by qbhhs12, raiderzx
Old 08/28/2009, 08:59 AM   #14 (permalink)
Member
 
cdbillups's Avatar
 
Join Date: Oct 2008
Location: MO
Posts: 491
Likes Received: 1
Thanks: 32
Thanked 98 Times in 78 Posts
Default

I assume I'd just do something like this but substitute the name of the 3 patches in there.
Quote:
cd /
quilt pop -a -f
quilt delete /opt/src/patches/messaging-sounds.patch
Implemented the patches. Now you wouldn't happen to have a way to set individual tones for each of my email accounts would you?
__________________
cdbillups is offline   Reply With Quote
Thanked By: raiderzx
Old 08/28/2009, 09:30 AM   #15 (permalink)
Member
 
Join Date: Aug 2009
Posts: 292
Likes Received: 0
Thanks: 2
Thanked 38 Times in 15 Posts
Default

Not yet, but I will take a look at it and see what can be done.
__________________
Need different SMS tones for contacts? Well take a look here...
http://forums.precentral.net/web-os-...h-contact.html
Disable annoying notifications in calls....
http://forums.precentral.net/web-os-...ml#post1863116

Thanks are always appreciated or for a really big Thanks you can always:
Ikyo is offline   Reply With Quote
Thanked By: cdbillups
Old 08/28/2009, 09:39 AM   #16 (permalink)
Member
 
Join Date: Aug 2009
Posts: 292
Likes Received: 0
Thanks: 2
Thanked 38 Times in 15 Posts
Default

It won't be that easy to do because their is a field that could be used, but it is set as an integer. I wouldn't want to change it because it could effect a lot of other things. I will do some more digging on it later on.
__________________
Need different SMS tones for contacts? Well take a look here...
http://forums.precentral.net/web-os-...h-contact.html
Disable annoying notifications in calls....
http://forums.precentral.net/web-os-...ml#post1863116

Thanks are always appreciated or for a really big Thanks you can always:
Ikyo is offline   Reply With Quote
Old 08/28/2009, 09:59 AM   #17 (permalink)
Member
 
cdbillups's Avatar
 
Join Date: Oct 2008
Location: MO
Posts: 491
Likes Received: 1
Thanks: 32
Thanked 98 Times in 78 Posts
Default

If separate sounds for each email account is too hard, is just a different sound for emails do-able? Like the messaging sound?
__________________
cdbillups is offline   Reply With Quote
Old 08/28/2009, 11:38 AM   #18 (permalink)
Member
 
Join Date: Aug 2009
Posts: 292
Likes Received: 0
Thanks: 2
Thanked 38 Times in 15 Posts
Default

I will see what I can get worked up. Finishing up a readall/deleteall function for email now.
__________________
Need different SMS tones for contacts? Well take a look here...
http://forums.precentral.net/web-os-...h-contact.html
Disable annoying notifications in calls....
http://forums.precentral.net/web-os-...ml#post1863116

Thanks are always appreciated or for a really big Thanks you can always:
Ikyo is offline   Reply With Quote
Old 08/28/2009, 01:46 PM   #19 (permalink)
Member
 
cdbillups's Avatar
 
Join Date: Oct 2008
Location: MO
Posts: 491
Likes Received: 1
Thanks: 32
Thanked 98 Times in 78 Posts
Default

I installed the patches but something isn't working right. On the Sound preferences page there's an option for the messages sound. I've set that. I didn't set any of the users messaging sounds thinking that if they weren't set they'd use the default. I've missed 3 text messages so far. I get no sound and no vibrate when a text is received. What did I do wrong? Is there a way to reset everything and try again?
__________________
cdbillups is offline   Reply With Quote
Thanked By: raiderzx
Old 08/28/2009, 01:53 PM   #20 (permalink)
Member
 
Join Date: Aug 2009
Posts: 292
Likes Received: 0
Thanks: 2
Thanked 38 Times in 15 Posts
Default

You can pop the patches you installed. Did you set it to something short? Don't install the contacttone patch. Just install the sound and multitone. See if you get alerts with it.
__________________
Need different SMS tones for contacts? Well take a look here...
http://forums.precentral.net/web-os-...h-contact.html
Disable annoying notifications in calls....
http://forums.precentral.net/web-os-...ml#post1863116

Thanks are always appreciated or for a really big Thanks you can always:
Ikyo is offline   Reply With Quote
Reply

 

Tags
notification, sms, tone, contacts

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0