Presentation is loading. Please wait.

Presentation is loading. Please wait.

Accessing the device native APIs

Similar presentations


Presentation on theme: "Accessing the device native APIs"— Presentation transcript:

1 Accessing the device native APIs
Cordova APIs Accessing the device native APIs Doncho Minkov Senior Technical Trainer Telerik Software Academy

2 Table of Contents Using Cordova APIs Cordova APIs
Accessing native device APIs Cordova APIs Hardware APIs Software APIs

3 Cordova APIs

4 Cordova APIs Apache Cordova provides access to native device APIs
Wrapped into global JavaScript objects They can be divided into two categories: Software APIs Access to the OS features Contacts, File system, etc… Hardware APIs Accesss to the device features Camera, Geolocation, Compass, etc…

5 Cordova Software APIs

6 Cordova Software APIs Cordova provides access to most of the APIs of the operating system Capture (capture audio, images and/or video) Connection (network state and type) Contacts (Phone book) Device (device information) Events model (native events) File system (save, load and remove files)

7 Cordova Software APIs (2)
Cordova provides access to most of the APIs of the operating system Globalization (different representation depending on location) InAppBrowser Media (work with images, audio and video) Notifications (message boxes, sounds, etc…) Storage (use the device’s native data storage)

8 Software Cordova APIs Live Demo

9 Cordova APIs

10 Homework Research the following Cordova APIs: Camera Capture Events
File Media Storage Contacts

11 Homework (2) Create a demo application for the following Cordova APIs:
Camera Capture Events File Media Storage Contacts


Download ppt "Accessing the device native APIs"

Similar presentations


Ads by Google