Skip to content

Instantly share code, notes, and snippets.

@rjlutz rjlutz/steps
Last active Jan 30, 2018

Embed
What would you like to do?
Steps to import Wargo's 14.1 Media Player Example
download or clone https://github.com/johnwargo/apache-cordova-api-cookbook-code
cordova create ...
cordova platform add android
graft content from
~/Downloads/apache-cordova-api-cookbook-code-master/chapter14-media/Ex14.1 (your downloads, of course)
cordova plugin add cordova-plugin-media
cordova plugin add cordova-plugin-device
cordova plugin add cordova-plugin-dialogs
cordova plugin add cordova-plugin-file
$cordova plugin ls
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-dialogs 1.3.3 "Notification"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-media 2.4.1 "Media"
cordova-plugin-whitelist 1.3.2 "Whitelist"
cordova run android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.