I am using the Notification Builder Library developed by @barx to handle the incoming notifications to my device. I am however having a problem with the CustomSound functionality. When I directly copy a 'notification.ogg' file to the 'Notifications' folder on my device, it works fine when I use the code Notification2.CustomSound = "file:///sdcard/notifications/notification.ogg"
However, when I copy the 'notification.ogg' file to the File.DirDefaultExternal folder, I cannot seem to play it from that folder. I've tried several paths (using file:///) but I just can't seem to get it to play. Will it not work from the File.DirDefaultExternal folder? I've posted the question in the Notification Builder forum, but @barx also doesn't seem to know if it would work or not. Anyone have any ideas for me?
Regards
However, when I copy the 'notification.ogg' file to the File.DirDefaultExternal folder, I cannot seem to play it from that folder. I've tried several paths (using file:///) but I just can't seem to get it to play. Will it not work from the File.DirDefaultExternal folder? I've posted the question in the Notification Builder forum, but @barx also doesn't seem to know if it would work or not. Anyone have any ideas for me?
Regards