I am new to android development . I tried to create an application, everything went smooth. The only problem i encountered was with a notification sound. I tried with Ringtone manager, MediaPlayer, NotificationManager etc nothing worked.
I tried to put an alert sound(alert.mp3) in the "raw" folder under "res" but the resource is not accessible in the "R.raw.alert". i just created a folder "raw" in the res and copied the audio file into it.
Can anyone help me to play a simple alert, i dont need any notification in the status bar or anything.
I just need a beep sound or any default system sound.
Thanks in advance.