Working With Apache Cordova

Working With Apache Cordova
=====

—–
Course Id: MOBI-CORD
Duration: 24 Hours

Overview
—–
* This course is designed to help you build cross-platform mobile applications using Apache Cordova
* This course provides a solid and stable foundation for Android Development
* This course is designed with a lot of hands-on projects to speed up the learning experience
* Standard web technologies can be used to develop mobile apps in Cordova

Pre-Requisites
——-
* No programming experience is required
* Keen Interest to learn android app development

Training Objectives
——
All participants learn to:
* Build and deploy mobile apps using Cordova
* Work with cross-platform mobile development with HTML5,CSS3 and JavaScript
* Use the Apache Cordova command line interface
* Implement best practices

Course Structure
—–
* We provide more focus on hands-on in our technical courses (typically 80% hands-on/20% theory)
* Students get the capability to apply the material they learn to real-world problems

Materials Provided
—–
* All participants receive
* PDF of slides
* PDF of handson
* Access to instance with lab environment

Software Requirements
—–
Any of the following
* Any current internet browser
* vnc client
* rdp client

Hardware Requirements
—–
* Processor: 1.2 GHz+
* RAM: 512 MB+
* Disk space: 1 GB+
* Network Connection with low latency (<250ms) to Internet

## Daywise Course Outline
—–
## Day 1
—–
* Unit 1 : Introduction To Apache Cordova
* Unit 2 : Cordova Development Cycle
* Unit 3 : Cordova Development Paths

## Day 2
—–
* Unit 4 : Device APIs
* Unit 5 : Contacts Database API
* Unit 6 : The Cordova File API

## Day 3
—–
* Unit 7 : Working With The Accelerometer
* Unit 8 : Using The Camera
* Unit 9 : Best Practices For Cordova

## Detailed Outline
—–
Unit 1 : Introduction To Apache Cordova
* What is Apache Cordova?
* Cordova’s History
* Cordova Architecture
* WebView Component
* Supported Platforms
* App Stores
* Who uses Cordova?

Unit 2 : 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

Unit 3 : Cordova Development Paths
* Cross-platform Workflow
* Platform-centered Workflow
* Dev Tools for Android
* Dev Tools for iOS
* Adobe PhoneGap Build

Unit 4 : Device APIs
* Cordova Device Info Object
* Device Info Permissions
* The cordova and uuid Properties
* The platform and version Properties
* The name Property

Unit 5 : 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

Unit 6 : 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

Unit 7 : Working With 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

Unit 8 : Using 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

Unit 9 : Best Practices For Cordova
* 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

Scroll to top