문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top