Tuesday, February 14, 2012

Simon Mac Donald: Using the Media Class in PhoneGap

Simon Mac Donald: Using the Media Class in PhoneGap: "myMedia = new Media("/android_asset/www/test.mp3");
The second way to create a media object is by referencing a file on your devices file system. Say for instance, you have a file at "/sdcard/test.mp3" of your device you would create the media object by doing:
myMedia = new Media("test.mp3");"

'via Blog this'