In this workshop you will learn how to create a mobile app that interacts with the Spotify Web API using PhoneGap. Some best practices and performance techniques will be taught along the way and you will be introduced to useful plugins to add additional functionality that will enhance the app and provide a more native experience.
The sample app project is located on my associated GitHub repo here. The slides that I used in the workshop at PhoneGap Day US can be found here.
We will be using PhoneGap, Framework7 and the Font Awesome Icon Font library to help us build this app. The following plugins are also used in the final version.
<plugin name="cordova-plugin-whitelist" spec="~1.2.0" />
<plugin name="cordova-plugin-statusbar" spec="~1.0.1" />
<plugin name="cordova-plugin-media" spec="~1.0.1" />
<plugin name="cordova-plugin-console" spec="~1.0.1" />
<plugin name="cordova-plugin-x-socialsharing" spec="~5.0.9"/>
To complete this workshop, all you need is a code editor, a modern browser, and a connection to the Internet.
A working knowledge of HTML and JavaScript is assumed, but you don’t need to be a JavaScript guru.
A mobile device or a Mobile SDK is not a requirement for this tutorial. You will able to test your application in the browser or with the PhoneGap Developer App with some limitations. If you want the full support of the native APIs then you will need the mobile SDK for that platform (iOS SDK, Android SDK, etc.) installed on your system.
Please create an issue here if you run into any problems or if you have feedback.
You can also use the Comments section at the bottom of each module to ask a question or report a problem.
You can contact me on Twitter: