webOS Nation Forums >  Homebrew >  webOS patches > [REQUEST] Facebook notification sound
[REQUEST] Facebook notification sound

  Reply
Like Tree1Likes
  • 1 Post By JTH182

 
LinkBack Thread Tools Display Modes
Old 12/10/2011, 02:31 PM   #1 (permalink)
Member
 
Join Date: Aug 2007
Posts: 238
Likes Received: 2
Thanks: 16
Thanked 12 Times in 9 Posts
Default [REQUEST] Facebook notification sound

Is it possible to have the Pre make a sound when you receive a Facebook notification? I'd like to be able to customize it separate from my texts and e-mails if possible.
JTH182 is offline   Reply With Quote
Liked by delacro likes this.
Old 12/10/2011, 09:18 PM   #2 (permalink)
Member
 
Saijin_Naib's Avatar
 
Join Date: Apr 2011
Posts: 199
Likes Received: 4
Thanks: 48
Thanked 13 Times in 12 Posts
Default

Great patch idea. I really like this
Saijin_Naib is offline   Reply With Quote
Thanked By: JTH182
Old 12/11/2011, 04:40 AM   #3 (permalink)
Member
 
Loiter's Avatar
 
Join Date: Mar 2011
Location: E.U.
Posts: 546
Likes Received: 21
Thanks: 112
Thanked 51 Times in 42 Posts
Default

Yes, I would like that too. I find it weird that not many people ask for it.
Loiter is offline   Reply With Quote
Old 12/11/2011, 12:47 PM   #4 (permalink)
Member
 
Saijin_Naib's Avatar
 
Join Date: Apr 2011
Posts: 199
Likes Received: 4
Thanks: 48
Thanked 13 Times in 12 Posts
Default

To be fair, it is a functionality that already should ship with the HP Facebook app, just like how the (fairly amazing) 3rd party foursquare app has its own notification tone.
Saijin_Naib is offline   Reply With Quote
Old 12/11/2011, 03:07 PM   #5 (permalink)
Member
 
Loiter's Avatar
 
Join Date: Mar 2011
Location: E.U.
Posts: 546
Likes Received: 21
Thanks: 112
Thanked 51 Times in 42 Posts
Default

Quote:
Originally Posted by Saijin_Naib View Post
To be fair, it is a functionality that already should ship with the HP Facebook app, just like how the (fairly amazing) 3rd party foursquare app has its own notification tone.
Exactly. Foursquare app is excellent and it is "home-made".
Loiter is offline   Reply With Quote
Old 01/06/2012, 12:25 AM   #6 (permalink)
Member
 
Join Date: Aug 2007
Posts: 238
Likes Received: 2
Thanks: 16
Thanked 12 Times in 9 Posts
Default

So is this even possible?
JTH182 is offline   Reply With Quote
Old 01/06/2012, 02:14 AM   #7 (permalink)
Member
 
Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 167 Times in 66 Posts
Default

I've created a patch that suppose to do it, but since I'm not an active Facebook user I can't tell whether it works or not, so please try it and tell me if it works.
It's for the 1.5.6x version of the phones Facebook app. Won't patch earlier versions.

EDIT: It's working. I will submit it to Preware.
EDIT2: As I thought, app specific patches cannot be submitted to Preware through the patches portal. Well, that meant that you'll have to install it manually.
Attached Files
File Type: patch facebook-notification-sound.patch (381.9 KB, 14 views) Email Attachment
__________________
TouchPad vKBD patches with working arrow keys
iOS-like browser scrollbars for webOS 2.x
Disable video pause when minimized for webOS 2.2.x
[Ongoing Project] webOS Scrollbars

Like my work? Want to support it? Want to thank me?

Last edited by isagar2004; 01/07/2012 at 04:18 PM.
isagar2004 is offline   Reply With Quote
Old 01/09/2012, 05:19 AM   #8 (permalink)
Member
 
Loiter's Avatar
 
Join Date: Mar 2011
Location: E.U.
Posts: 546
Likes Received: 21
Thanks: 112
Thanked 51 Times in 42 Posts
Default

Just installed it and it works. Thanks a lot isagar !
Is there any way to change the sound or only the defaut system sound can be applied?

Last edited by Loiter; 01/09/2012 at 05:40 AM.
Loiter is offline   Reply With Quote
Old 01/09/2012, 06:24 AM   #9 (permalink)
Member
 
Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 167 Times in 66 Posts
Default

Quote:
Originally Posted by Loiter View Post
Just installed it and it works. Thanks a lot isagar !
Is there any way to change the sound or only the defaut system sound can be applied?
You can replace the soundClass: 'notifications' in the patch with soundFile: filepath (replace filepath with the full path of some sound file on the device. For ex: "/media/internal/music/song.mp3") and then reapply the patch.
__________________
TouchPad vKBD patches with working arrow keys
iOS-like browser scrollbars for webOS 2.x
Disable video pause when minimized for webOS 2.2.x
[Ongoing Project] webOS Scrollbars

Like my work? Want to support it? Want to thank me?

Last edited by isagar2004; 01/09/2012 at 07:19 AM.
isagar2004 is offline   Reply With Quote
Thanked By: Loiter
Old 01/09/2012, 06:48 AM   #10 (permalink)
Member
 
Join Date: Apr 2010
Location: Raleigh, NC
Posts: 91
Likes Received: 5
Thanks: 8
Thanked 17 Times in 12 Posts
Default

Great patch!! Have you thought about using Tweaks to set the notification sound? Rather than having to manually change the file location after applying the patch, you could use Tweaks with a filepicker variable so that all anyone needs to do is select the sound file within Tweaks and have it applied through your patch. Might make it even more user friendly =)

-- Sent from my Palm Pre3 using Forums
__________________
If you like my patches or have found them to be helpful to you, please consider donating here for the time I put into making them.
- All my programming is done in my spare time, so any donations help motivate me to spend more of my limited time on webOS.
anseld1986 is offline   Reply With Quote
Old 01/09/2012, 07:38 AM   #11 (permalink)
Member
 
Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 167 Times in 66 Posts
Default

Quote:
Originally Posted by anseld1986 View Post
Great patch!! Have you thought about using Tweaks to set the notification sound? Rather than having to manually change the file location after applying the patch, you could use Tweaks with a filepicker variable so that all anyone needs to do is select the sound file within Tweaks and have it applied through your patch. Might make it even more user friendly =)

-- Sent from my Palm Pre3 using Forums
It's a good idea, but it'll require packing the patch in an IPK, and I don't want to do that. I want the user to see what he is installing (or install from a trusted source like Preware).
__________________
TouchPad vKBD patches with working arrow keys
iOS-like browser scrollbars for webOS 2.x
Disable video pause when minimized for webOS 2.2.x
[Ongoing Project] webOS Scrollbars

Like my work? Want to support it? Want to thank me?
isagar2004 is offline   Reply With Quote
Old 01/10/2012, 01:22 PM   #12 (permalink)
Member
 
Loiter's Avatar
 
Join Date: Mar 2011
Location: E.U.
Posts: 546
Likes Received: 21
Thanks: 112
Thanked 51 Times in 42 Posts
Default

Tried the changes in the patch, isagar said and now I have my custom sound for the notifications.

However, please have in mind something.
If you install the patch and for some reason you want to remove it, the FB app is not launching anymore.
You have to uninstall the app and then install it again from the App Catalog. Then you will have again your FB app and you can patch it again if you like.
It's a procedure that takes 1-2 minutes, so it's not that a big deal.
isagar explained to me the reason for it.
So if you want to install the patch and maybe later make your own sound or something, have it in mind.
Loiter is offline   Reply With Quote
Old 04/27/2012, 03:11 PM   #13 (permalink)
Member
 
Join Date: Oct 2011
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the patch!
brbrbrian is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0