If your path starts with "/", java will look for your file in the root of your file system.
If this is in the root folder, first check if the file exists:
ls -l /data/sounds/ | grep "back.ogg"
If it does not exist or you do not have permissions, you have the answer.
If it exists, you can try another way to get its InputStream:
InputStream is = new FileInputStream("/data/sounds/back.ogg");
arutaku Sep 04 '12 at 11:13 2012-09-04 11:13
source share