This intensive training course covers both theoretical and technical aspects of mobile app development using Apache Cordova.

At the end of training, attendees will have solid understanding of how to create, test, and deploy mobile apps using Apache Cordova using HTML5, CSS3, and JavaScript in a platform-independent way using Cordova’s command line interface.

The training course is supplemented by hands-on labs that help attendees reinforce their theoretical knowledge of the learned material.


Cross-platform mobile development

Apache Cordova command line interface

Native mobile platforms


Web Designers and Developers


Attendees should have some experience with the front-end web development.


1 day

Lab Setup Guide

Outline for Apache Cordova From the Ground Up Training

Chapter 1. Introduction to Apache Cordova

  • What is Apache Cordova?
  • Cordova's History
  • The Cordova Architecture
  • The WebView Component
  • Supported Platforms
  • App Stores
  • Who uses Cordova?
  • Cordova Development Cycle
  • Installing Cordova
  • Getting Cordova CLI Help
  • Create a Cordova App
  • Cordova Directory Structure
  • Adding Platform-Specific Support
  • Cordova Plug-ins
  • Running Cordova Apps
  • The Run Command
  • Example: Running an App on the Android Platform Emulator
  • Cordova Development Paths
  • Cross-platform Workflow
  • Platform-centered Workflow
  • Dev Tools for Android
  • Dev Tools for iOS
  • Adobe PhoneGap Build
  • Summary

Chapter 2. Device and Contacts Information APIs

  • Cordova Device Info Object
  • Device Info Permissions
  • The cordova and uuid Properties
  • The platform and version Properties
  • The name Property
  • Contacts Database API
  • Contacts Database Helper Objects
  • Supported Platforms
  • Contacts API Permissions
  • Contact properties
  • Creating a New Contact
  • Saving a Contact
  • Deleting (Removing) a Contact
  • Finding Contact(s)
  • Find Contacts Example
  • Summary

Chapter 3. The Cordova File API

  • Accessing the Mobile File System with Cordova
  • File API Permissions
  • The Cordova File API
  • Accessing the Device File System
  • The requestFileSystem Method
  • The requestFileSystem Method Example
  • The File Object
  • The FileEntry Object
  • The FileEntry Object's Methods
  • The DirectoryEntry Object
  • The DirectoryEntry Object's Methods
  • The DirectoryReader Object
  • The DirectoryReader Object Example
  • The FileError Object
  • Writing Files with the FileWriter Object
  • Writing Files with the FileWriter Object (Cont'd)
  • Reading Files with the FileReader Object
  • Summary

Chapter 4. The Accelerometer

  • What is the Accelerometer?
  • Supported Platforms
  • Accelerometer Precision
  • Accelerometer Detection
  • Accelerometer Permissions
  • The Accelerometer API
  • The Acceleration Object
  • The getCurrentAcceleration Method
  • The watchAcceleration Method
  • The accelerometerSuccess Call-Back Function
  • The clearWatch Method
  • Accelerometer API in Action: Device Shake Tracking
  • Device Shake Tracking Application Code
  • Summary

Chapter 5. The Camera

  • Accessing the Camera with Cordova
  • Camera Permissions
  • The Cordova Camera API
  • The Camera Object
  • The getPicture Method
  • The Camera Call-Back Functions
  • The cameraSuccess Call-Back Function
  • The cameraError Call-Back Function
  • Camera Options
  • Cordova Camera API Example: Displaying an Image
  • The cleanup Method
  • Summary

Chapter 6. Best Practices

  • jQuery Mobile Benefits
  • Progressive Enhancement
  • Common UI Guidelines
  • Platform-specific UI Guidelines
  • Cordova Business Layer Initialization
  • Business Layer Best Practices
  • The online and offline Events
  • Cordova Domain Whitelist Guide
  • Background Tasks
  • When Applications are in Background ...
  • Cordova Background Task API
  • Summary

Lab Exercises

Lab 1. Installing Cordova and Getting Help
Lab 2. Creating a Cordova App Using CLI
Lab 3. Understanding the Android SDK CLI
Lab 4. Adding the Android Platform to a Cordova App
Lab 5. Device Information
Lab 6. The Cordova File API
Lab 7. The Camera

03/25/2024 - 03/25/2024
10:00 AM - 06:00 PM
Eastern Standard Time
Online Virtual Class
USD $620.00
05/06/2024 - 05/06/2024
10:00 AM - 06:00 PM
Eastern Standard Time
Online Virtual Class
USD $620.00