Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Phonegap & Ludei - Build HTML5 CSS & JS Apps
Rating: 4.1 out of 5(141 ratings)
1,133 students

Phonegap & Ludei - Build HTML5 CSS & JS Apps

Learn the basic Phonegap/Cordova API's and get an insight into Ludei's CocoonJS canvas+ view for accelerated graphics!
Created byLawrence Turton
Last updated 1/2016
English

What you'll learn

  • Understand the hybrid app architecture
  • Have a better perspective and outlook of app development
  • Setup Phonegap / Cordova on Mac, GNU and Windows
  • Setup wifi testing
  • Setup iOS simulation (Mac only!)
  • Setup Android emulation on Mac, GNU and Windows
  • Understand all the basic Cordova API's; Battery Status, Camera, Contacts, Device Info, Network Info, Status Bar, Accelerometer, Compass, Vibration, InAppBrowser, Dialogs (notification), Geolocation, Globalization, Media Capture, File System, File Transfer, Whitelist
  • Understand how to debug and review returned content from Cordova
  • Installing third party plugins
  • General app store guidelines and principles
  • Understand basic security and privacy guidelines
  • Learn the different aspects of the Android and iOS platform's
  • Understand the CocoonJS canvas+ view for accelerated graphics
  • Compile Cordova app's locally and on the cloud
  • Compile CocoonJS app's
  • Have a general understanding of iOS and Android app store submission process

Course content

4 sections52 lectures9h 32m total length
  • Introduction to Hybrid Architecture6:06

    This first lecture will involve the fundamental understanding required to get the necessary knowledge of how hybrid apps work. We'll also discuss the pros and cons of hybrid verses native apps.

  • Installing Phonegap OSX, GNU & Windows PDF30:00

    This document will give a simplified overview of how to install Phonegap and Cordova CLI on Mac OS, GNU and Windows. All of these instructions will be covered in more detail and demonstrated in next three video lectures.

  • Phonegap Testing3:36

    This lecture will demonstrate how Phonegap Wifi testing works over a network, no matter the operating system. Allowing us to display our app's on any iOS, Windows Phone or Android 4.1 and above device's.

  • OSX Wifi Testing5:21

    Phonegap on OSX is the most popular setup as it allows for iOS development without using any third party service's. Firstly I'll show you how to test your app's through your local network on a physical device that will auto refresh upon any source code change. However if you're unable to obtain a physical device compatible with the Phonegap developer app then the next best thing is iOS simulation and Android emulation. This involves more setup, is less intuitive and by far more complex than wifi testing. It is however beneficial to learn both types of setups for any eventuality and there are other pro's to emulation as well.

  • OSX iOS Simulation8:34

    Next for the OSX installation I'll show you how to setup the iOS simulator. The iOS simulator is a free tool that comes with Xcode and gives you the ability to test your app on a plethora of iOS devices.

  • OSX Android Emulation14:39

    Android is the most popular device platform to date, so testing to make sure your app works properly on this device is important. To do this I'll show you how to install the Android SDK, Android emulator and setting it up for the best performance on OSX.

  • GNU Wifi Testing6:35

    The GNU installation of Phonegap will involve testing your Phonegap app's on actual devices through your network connection. Then we swiftly move on to installing Cordova and the Android SDK to test your app's locally on the Android emulator.

  • GNU Android Emulation14:49

    This lecture will cover installing the Java JRE and JDK, Android SDK Manager, setting up Android virtual device's or AVD's for short and Cordova. We'll then add a new Android project to our Cordova app, next compile the APK file and run it on the newly created AVD.

  • Windows Wifi Testing5:52

    Wifi testing will allow you to test Phonegap app's on iOS, Windows Phone or an Android 4.1 and above device's. This process of wifi testing gives you more flexibility without lethargic build process; so you can concentrate on your app's development.

  • Windows Android Emulation12:58

    Wifi testing is recommended, however you will need to install the Android SDK to compile your app's for Android. Also you will be able to emulate a plethora of Android device's with differing screen and hardware configurations.

  • Phonegap or Cordova?2:12

    It's time to get rid of any confusion or misconceptions between what Phonegap is and what Cordova is, before I begin instructing you on how to code.

  • Best Practices7:07

    Best practices are crucial in app development; especially since most students will be coming from a very liberal web background where there is no guidelines for UI or UX. However becoming an app developer is far more restrained where your app's must meet high expectation's; which the average web developer is not typically exposed to. This lecture will bring some perspective on developing app's from a web developers point of view.

  • Phonegap Project9:05

    Phonegap has a simple and flexible project base; but unless you've really delved into how a Phonegap project compile's then your automatically at a disadvantage! So let's review the entire project and get a general overview.

    Basic config XML documentation:
    http://docs.phonegap.com/en/edge/config_ref_index.md.html#The%20config.xml%20File

    Config preference's documentation:
    http://docs.build.phonegap.com/en_US/2.9.0/configuring_preferences.md.html#Preferences

  • Building our App Interface10:10

    Building an app interface is not as easy as one would think. It does take time and effort; this course is centred around app development so we'll be using a prebuilt mobile UI called Ratchet. I've also provided the source file's to get you setup quickly so we can start learning the Phonegap API's ASAP. I'll also show you how to use the Chrome and Safari developer tool's giving us access to the console for debugging, inspecting, editing and styling the DOM in real time.

    Ratchet UI:
    (Please download the source file's provided, nonetheless here's the links for the Ratchet UI...)
    http://goratchet.com/

Requirements

  • Have a good understanding of HTML, CSS and especially Javascript

Description

This course will cover all standard Cordova API’s in a clear, well structured way. Each lecture will guide you through how the hybrid app model works so you really get to understand what’s going off under the hood. You’ll be learning the most advanced API’s, also I tell you what an API is, such as the file system API that can be complex. However I’ll break every single API down and go into detail about how each API works. On top of that I’ll give you some general understanding of the hardware sensors such as the accelerometer, compass and geolocation sensor’s.

All in all this course is here to take you from a web developer and give you the skills to develop hybrid app’s. Also this course is not only giving you understanding of the API’s we go further than that! As an app developer I know what it’s like coming from a web developer background. Most people have to gain certain experience whilst they become an app developer. This course gives you real world knowledge of what you should and shouldn’t do; it gives you the correct perspective of UI and UX principles and finally gives you general understanding of security and privacy. The revolution of Edward Snowden and many scare stories makes understanding privacy and security and how to deal with your user’s is most important for any app developer today.

On top of all this you’ll learn how to use the CocoonJS platform which allows acceleration of HTML5’s 2D canvas element and WebGL for 3D graphics. This is impressive and really goes to show how developing in the hybrid app market is going to change rapidly. The future truly is bright for us hybrid app developers.

In short this course is an all rounder and will give you a massive leg up. Not just showing code and giving a general overview, but teaching you how your code is executed and how Cordova and the hybrid app model works under the hood. On top of all that you’ll get some real life experience! Not just coding but principles, guidelines and best practices for security or otherwise.

Who this course is for:

  • You must have good knowledge of Javascript before taking this course
  • You must understand HTML and CSS
  • You should take this course if you want to transfer your existing HTML, CSS and Javascript skill's to the hybrid app development world