Question

I have an application that starts an ongoing notification and then completes a process. At the end of the process, the notification is terminated, but before that happens I want the Notification to make the system vibrate and play sound. I am not totally sure how to make it play sound a vibrate on command and would really like some help on this. I have already set up the notification.defaults |= Notification.DEFAULT_SOUND; and the notification.vibrate = pattern; Thank you in advance and if I wasn't clear enough, let me know.

Was it helpful?

Solution

You have to look Notification and Notification Manager for playing a sound in notification.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top