I am developing an android application in which I have to play an alarm and set the reminder.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Android AlarmManager doesn’t actually ring an audible alarm. If you schedule an alarm the alarm manager will notify your app at the set alarm time by starting the
PendingIntentyou’ve provided (in your case the AlarmService). It doesn’t do anything more. If you want sound, your AlarmService should play that when the service is started. You can use the android mediaplayer for this.