Skip to content

AbrahamArun/cordova-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

cordova-tutorial

A quick intro into cordova

  1. What is it?
  1. Why is it needed?
  • Painful to maintain platform specific code
  • Time consuming to write in native code
  1. How does cordova work?
  • Wraps a Web View within native app and provides an interface between javascript and the native layer
  1. How to get started?

Pre-requisites

  • Basic HTML, CSS and Javscript knowledge
  • Install: node, cordova cli, platform sdk's (android, ios etc.), emulator/simulator

Example Hello Worlld App:

  • cordova create foo com.example.foo Foo
  • cordova platform add android --save
  • cordova build android
  • cordova run android
  • Similarly above 3 steps for iOS
  • Example showing a basic UI element and interaction?
  • Directory structure? Open individual platform specific code to dive into the core implementation
  1. Plugins?
  1. Distributions
  • Phone Gap
  • Ionic - Has a lot of standard controls that mimics native controls and it comes with Angular
  1. Advanced:

About

A quick intro into cordova

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published