Hey all,
I read through the PhoneGap documentation and got the code working. I also managed to get it to play local files. I have a few questions though.
Can PhoneGap's media function be made so that local audio files can be played using the relative directory:
new Media("sounds/Shuffle.wav").play();
Instead of:
new Media("/android_asset/www/sounds/Shuffle.wav").play();
Also, can the PhoneGap documentation on Media be updated to show what extensions are supported? Or at least the major ones (unless all formats are supported).
The "full examples" should probably also be updated with ones that are more specific to the sections they are in (e.g. the "media.release()" section has a full example with no release() call.
Since this is still Beta, I don't expect any of these to be done since it states it will change. Just suggestions!
I read through the PhoneGap documentation and got the code working. I also managed to get it to play local files. I have a few questions though.
Can PhoneGap's media function be made so that local audio files can be played using the relative directory:
new Media("sounds/Shuffle.wav").play();
Instead of:
new Media("/android_asset/www/sounds/Shuffle.wav").play();
Also, can the PhoneGap documentation on Media be updated to show what extensions are supported? Or at least the major ones (unless all formats are supported).
The "full examples" should probably also be updated with ones that are more specific to the sections they are in (e.g. the "media.release()" section has a full example with no release() call.
Since this is still Beta, I don't expect any of these to be done since it states it will change. Just suggestions!

