Why are you adding them to: : C:\MotorolaRhoMobileSuite4.1.1\ruby\lib\ruby\gems\1.9.1\gems\rhoelements-4.1.11\libs\rhoelementsext\ext\android\adds\res\raw?
How are you trying to access them once the APK is installed?
You should consider adding them to the project www folder and then using the Rho.Application helper APIs
var appFolder = Rho.Application.appBundleFolder; var appsBundleFolder = Rho.Application.appsBundleFolder; var databaseBlobFolder = Rho.Application.databaseBlobFolder; var publicFolder = Rho.Application.publicFolder; var userFolder = Rho.Application.userFolder;
It was the only place where I saw files that I found back on the device, so I was hoping that adding other files there would also be placed on the device.
Where can I find the www folder? Please note that I'm using Rho 4.1.1 and have very little experience with RhoStudio itself; I mainly use commandline at the moment.
Thanks in advance!
Thanks for that suggestion to the paths. It made me wonder if the files were just not showing on the sdcard when I connected the device to my pc - and that seems to be the case.
I added the soundfiles to the /public folder and I can just call them by using the Rho.Application.publicFolder + /filename
Something new every day!