I have created the push notification application, I\'m getting the message from GCM services but push notification sound is not working. I need to play sound when I\'m getting n
mBuilder.setDefaults(Notification.DEFAULT_SOUND)
This worked for me, though the setDefaults()
method does overwrite any vibration or LED light settings, so if you are wanting those as well you might have to set the sound directly. If default lights and/or vibration is fine you can bitwise OR the other static constants in Notification