Ionic Walk-through

Hybrid Front-end Mobile SDK

Speaker: Li-Wei, Lu

What is hybrid app

Cordova v.s. PhoneGap

Text

PhoneGap is a distribution of Apache Cordova. You can think of Apache  Cordova as the engine that powers PhoneGap, similar to how WebKit is  the engine that powers Chrome or Safari.

Ionic Framework

  • whatever Web View API is available to native apps on a given platform
  • Support Platform:
    • We support iOS 6+, and Android 4.0+ (though 2.3 should work).

Installation - iOS

Installation - Android

Installation - Android

 

  • Steps

    • Change Path

      • vim ~/.bash_profile
      • export PATH=${PATH}:/Applications/Android\ Studio.app/sdk/platform-tools:/Applications/Android\ Studio.app/sdk/tools
        export JAVA_HOME=$(/usr/libexec/java_home)
        export PATH=${JAVA_HOME}/bin:$PATH
        export PATH=/usr/local/bin:$PATH
    • install Genymotion - for emulation

Start a New Project

 

Structure Overview

── bower.json     // bower dependencies
── config.xml      // cordova configuration

── gulpfile.js       // gulp tasks
── hooks             // custom cordova hooks to execute on specific        commands
── ionic.project  // ionic configuration
── package.json // node dependencies
── platforms       // iOS/Android specific builds will reside here
── plugins           // where your cordova/ionic plugins will be installed
── scss                // scss code, which will output to www/css/
── www              // application - JS code and libs, CSS, images, etc.

Testing

 

Publish Your App

MoreTips

Thank you!

Made with Slides.com