I am using the raw folder contain notification.wav file. When the notification comes in the phone it will be alert of sound notification.wav file.
I am using this code:
Uri path = Uri.parse("android.resource://" + getPackageName() + "/notification.wav");
notification.sound = path;
Please help.
1 Answer