SlideShare a Scribd company logo
Developing Ionic Apps for Android and iOS
Introduction
Apache Cordova is an open-source mobile development framework. It allows you to use standard
web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding
each mobile platforms’ native development language. Applications execute within wrappers targeted
to each platform, and rely on standards-compliant API bindings to access each device’s sensors, data,
and network status. Currently there are 1300 apps in app store.
What You Will Learn:
• How to create and build (compile and package) a ionic project using the CLI (Command Line
Interface). Using Chrome Developer tools
• How to use different data storage strategies.
• How to use several Cordova APIs such as Geolocation, Contacts, and Camera.
• How to handle specific mobile challenges such as touch events, scrolling, styling, page transitions,
etc.
• How to build an application using a single-page architecture and HTML templates. Use AngularJS,
HTML and CSS for making Rich, Faster and responsive UIs
Requirements
• To complete this workshop, all you need is a code editor, a modern browser, and a connection to the
Internet.
• A working knowledge of HTML and JavaScript is assumed, but you don’t need to be a JavaScript
guru.
Course Contents
1. Ionic – Powered by AngularJS
Understanding the separation of concerns
AngularJS components
AngularJS directives
AngularJS services
AngularJS resources
2. Welcome to Ionic
Mobile Hybrid Architecture
What is Apache Cordova?
What is Ionic?
Software setup
Install Node.js
Install Git
Install Bower
Install Gulp
Install Sublime Text
Install Cordova and Ionic CLI
The platform guide
Hello Ionic
The browser developer tools setup
Google Chrome
Mozilla Firefox
The Ionic project structure
The config.xml file
The www folder
Scaffolding the tabs template
Scaffolding the side menu template
generator-ionic
Installing generator-ionic
3. Ionic CSS Components and Navigation
Ionic CSS components
The Ionic grid system
The page structure
Buttons
Lists
Cards
Ionicons
Form elements
Integrating Ionic CSS components with AngularJS
The Ionic router
A simple two-page app
4. Ionic and SCSS
What is Sass?
Setting up SCSS in our Ionic project
The manual setup
The Ionic CLI task
Working with Ionic SCSS
Basic swatch
Understanding the Ionic SCSS setup
Using variables and mixins
The SCSS workflow
Building a swatch
5. Ionic Directives and Services
Ionic directives and services
The Ionic Platform service
registerBackButtonAction
The on method
Headers and footers
Content
ion-content
ion-scroll
ion-refresher
ion-infinite-scroll
$ionicScrollDelegate
Navigation
ion-view
Ionic view events
ion-nav-bar
ion-nav-buttons
$ionicNavBarDelegate
$ionicHistory
Tabs and side menu
Ionic loading
The Action Sheet service
Popover and Popup services
$ionicPopup
The ion-list and ion-item directives
Gesture directives and services
Utilities
6. Building a sample App
An introduction to the sample application
The architecture of the app
The server architecture
The server-side API documentation
The client architecture
Code on GitHub
A demo of the sample app
The development flow
Setting up the server
Building the application
Step 1 – Scaffolding the side menu template
Step 2 – Refactoring the template
Refactoring the menu
Refactoring the module name
Adding a run method and modifying routes
Refactoring templates
Step 3 – Building authentication, localStorage, and
the REST API factory
The Ionic loading factory
The localStorage factory
The Authentication factory
The REST API factory
Step 4 – Creating controllers for each route and
integrating with the factory
The application controller
The browse controller
The book controller
The cart controller
The purchase controller
Step 5 – Creating templates and integrating with
the controller data
The Login template
The Browse template
The Product item template
The Shopping Cart template
The Purchase template
7. Cordova and ngCordova
Setting up a platform-specific SDK
The Android setup
The iOS setup
Testing the setup
Testing for Android
Testing for iOS
Getting started with Cordova plugins
The Ionic plugin API
Add a plugin
Remove a plugin
List added plugins
Search plugins
The Cordova whitelist plugin
ngCordova
Setting up ngCordova
Legend
$cordovaToast
$cordovaDialogs
$cordovaFlashlight
$cordovaLocalNotification
$cordovaGeolocation
8. Releasing the Ionic App
Preparing the app for distribution
Setting up icons and splash screens
Updating the config.xml file
The PhoneGap service
Generating installers using the Cordova CLI
Android installer
iOS installer
The Ionic package
Uploading the project to Ionic cloud
Generating the required keys

More Related Content

PDF
Build Consumer Apps Using Mobile SDK and Ionic Framework
PPTX
Hybrid Mobile Apps - Meetup
PDF
Cordova, Angularjs & Ionic @ Codeaholics
PPTX
Mobile Applications with Angular 4 and Ionic 3
PDF
Cross Platform Mobile Apps with the Ionic Framework
PDF
Creating mobile apps - an introduction to Ionic (Engage 2016)
PDF
Intro Angular Ionic
PPTX
Ionic framework
Build Consumer Apps Using Mobile SDK and Ionic Framework
Hybrid Mobile Apps - Meetup
Cordova, Angularjs & Ionic @ Codeaholics
Mobile Applications with Angular 4 and Ionic 3
Cross Platform Mobile Apps with the Ionic Framework
Creating mobile apps - an introduction to Ionic (Engage 2016)
Intro Angular Ionic
Ionic framework

What's hot (20)

PPTX
Hybrid vs. Native app - Ionic Framework with AngularJS
PPT
Ionic Framework
PPTX
Building iOS app using meteor
PDF
AEM responsive
PDF
Cross Platform Mobile Development
PDF
Building Mobile Apps with Cordova , AngularJS and Ionic
PPTX
Asp.net mvc - Better User Experience with Kendo UI
PDF
Hybrid Apps with Angular & Ionic Framework
PPTX
Building mobile apps using meteorJS
PDF
Building data driven mobile apps with phone gap and webapi
PPTX
ASP.NEt MVC and Angular What a couple
PPTX
Building Cross Platform Mobile Apps
PDF
Ionic framework one day training
PPTX
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
PDF
Workshop Ionic Framework - CC FE & UX
PPTX
Developing Hybrid Applications with IONIC
PPTX
OCTO BOF - How to build Netvibes with AngularJS
PPTX
Hybrid App Development with PhoneGap
ODP
Use Ionic Framework to develop mobile application
Hybrid vs. Native app - Ionic Framework with AngularJS
Ionic Framework
Building iOS app using meteor
AEM responsive
Cross Platform Mobile Development
Building Mobile Apps with Cordova , AngularJS and Ionic
Asp.net mvc - Better User Experience with Kendo UI
Hybrid Apps with Angular & Ionic Framework
Building mobile apps using meteorJS
Building data driven mobile apps with phone gap and webapi
ASP.NEt MVC and Angular What a couple
Building Cross Platform Mobile Apps
Ionic framework one day training
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
Workshop Ionic Framework - CC FE & UX
Developing Hybrid Applications with IONIC
OCTO BOF - How to build Netvibes with AngularJS
Hybrid App Development with PhoneGap
Use Ionic Framework to develop mobile application
Ad

Similar to Developing ionic apps for android and ios (20)

PPTX
Intro to Ionic for Building Hybrid Mobile Applications
PPTX
Workshop on Hybrid App Development with Ionic Framework
PDF
Mobile App Development With Ionic Crossplatform Apps With Ionic Angular And C...
PDF
Cross Platform Mobile Apps with the Ionic Framework
PDF
Hybrid app development with ionic
PDF
Mobile app development with Ionic cross platform apps with Ionic Angular and ...
PDF
Ionic2 First Lesson of Four
PDF
Ionic - Revolutionizing Hybrid Mobile Application Development
PPTX
Ionic Mobile Applications - Hybrid Mobile Applications Without Compromises
PDF
Ionic in Action Hybrid Mobile Apps with Ionic and AngularJS 1st Edition Jerem...
PPTX
Building an Ionic hybrid mobile app with TypeScript
PDF
Ionic in Action Hybrid Mobile Apps with Ionic and AngularJS 1st Edition Jerem...
PDF
Ionic Hybrid Mobile Application
PDF
Crash Course in AngularJS + Ionic (Deep dive)
PDF
Creating an hybrid app in minutes with Ionic Framework
PPTX
Building mobile app with Ionic Framework
PPTX
Introduction to Ionic framework
PPTX
Introduction To Ionic3
PDF
Building Cross-Platform Mobile Apps
Intro to Ionic for Building Hybrid Mobile Applications
Workshop on Hybrid App Development with Ionic Framework
Mobile App Development With Ionic Crossplatform Apps With Ionic Angular And C...
Cross Platform Mobile Apps with the Ionic Framework
Hybrid app development with ionic
Mobile app development with Ionic cross platform apps with Ionic Angular and ...
Ionic2 First Lesson of Four
Ionic - Revolutionizing Hybrid Mobile Application Development
Ionic Mobile Applications - Hybrid Mobile Applications Without Compromises
Ionic in Action Hybrid Mobile Apps with Ionic and AngularJS 1st Edition Jerem...
Building an Ionic hybrid mobile app with TypeScript
Ionic in Action Hybrid Mobile Apps with Ionic and AngularJS 1st Edition Jerem...
Ionic Hybrid Mobile Application
Crash Course in AngularJS + Ionic (Deep dive)
Creating an hybrid app in minutes with Ionic Framework
Building mobile app with Ionic Framework
Introduction to Ionic framework
Introduction To Ionic3
Building Cross-Platform Mobile Apps
Ad

Recently uploaded (20)

PDF
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
PDF
Cell Biology Basics: Cell Theory, Structure, Types, and Organelles | BS Level...
PPTX
Open Quiz Monsoon Mind Game Prelims.pptx
PPTX
Cardiovascular Pharmacology for pharmacy students.pptx
PDF
LDMMIA Reiki Yoga S2 L3 Vod Sample Preview
PPTX
Onica Farming 24rsclub profitable farm business
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Odoo 18 Sales_ Managing Quotation Validity
PPTX
Software Engineering BSC DS UNIT 1 .pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
DOCX
UPPER GASTRO INTESTINAL DISORDER.docx
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
Landforms and landscapes data surprise preview
PPTX
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
PDF
What Is Coercive Control? Understanding and Recognizing Hidden Abuse
PPTX
How to Manage Loyalty Points in Odoo 18 Sales
PPTX
Skill Development Program For Physiotherapy Students by SRY.pptx
PDF
UTS Health Student Promotional Representative_Position Description.pdf
PDF
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
PDF
Types of Literary Text: Poetry and Prose
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
Cell Biology Basics: Cell Theory, Structure, Types, and Organelles | BS Level...
Open Quiz Monsoon Mind Game Prelims.pptx
Cardiovascular Pharmacology for pharmacy students.pptx
LDMMIA Reiki Yoga S2 L3 Vod Sample Preview
Onica Farming 24rsclub profitable farm business
102 student loan defaulters named and shamed – Is someone you know on the list?
Odoo 18 Sales_ Managing Quotation Validity
Software Engineering BSC DS UNIT 1 .pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
UPPER GASTRO INTESTINAL DISORDER.docx
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Landforms and landscapes data surprise preview
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
What Is Coercive Control? Understanding and Recognizing Hidden Abuse
How to Manage Loyalty Points in Odoo 18 Sales
Skill Development Program For Physiotherapy Students by SRY.pptx
UTS Health Student Promotional Representative_Position Description.pdf
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
Types of Literary Text: Poetry and Prose

Developing ionic apps for android and ios

  • 1. Developing Ionic Apps for Android and iOS Introduction Apache Cordova is an open-source mobile development framework. It allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding each mobile platforms’ native development language. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device’s sensors, data, and network status. Currently there are 1300 apps in app store. What You Will Learn: • How to create and build (compile and package) a ionic project using the CLI (Command Line Interface). Using Chrome Developer tools • How to use different data storage strategies. • How to use several Cordova APIs such as Geolocation, Contacts, and Camera. • How to handle specific mobile challenges such as touch events, scrolling, styling, page transitions, etc. • How to build an application using a single-page architecture and HTML templates. Use AngularJS, HTML and CSS for making Rich, Faster and responsive UIs Requirements • To complete this workshop, all you need is a code editor, a modern browser, and a connection to the Internet. • A working knowledge of HTML and JavaScript is assumed, but you don’t need to be a JavaScript guru. Course Contents 1. Ionic – Powered by AngularJS Understanding the separation of concerns AngularJS components AngularJS directives AngularJS services AngularJS resources 2. Welcome to Ionic Mobile Hybrid Architecture What is Apache Cordova? What is Ionic? Software setup Install Node.js Install Git Install Bower Install Gulp Install Sublime Text Install Cordova and Ionic CLI The platform guide Hello Ionic The browser developer tools setup Google Chrome Mozilla Firefox The Ionic project structure The config.xml file The www folder Scaffolding the tabs template Scaffolding the side menu template generator-ionic Installing generator-ionic 3. Ionic CSS Components and Navigation Ionic CSS components The Ionic grid system The page structure Buttons Lists Cards Ionicons Form elements Integrating Ionic CSS components with AngularJS The Ionic router A simple two-page app 4. Ionic and SCSS What is Sass? Setting up SCSS in our Ionic project The manual setup The Ionic CLI task Working with Ionic SCSS Basic swatch
  • 2. Understanding the Ionic SCSS setup Using variables and mixins The SCSS workflow Building a swatch 5. Ionic Directives and Services Ionic directives and services The Ionic Platform service registerBackButtonAction The on method Headers and footers Content ion-content ion-scroll ion-refresher ion-infinite-scroll $ionicScrollDelegate Navigation ion-view Ionic view events ion-nav-bar ion-nav-buttons $ionicNavBarDelegate $ionicHistory Tabs and side menu Ionic loading The Action Sheet service Popover and Popup services $ionicPopup The ion-list and ion-item directives Gesture directives and services Utilities 6. Building a sample App An introduction to the sample application The architecture of the app The server architecture The server-side API documentation The client architecture Code on GitHub A demo of the sample app The development flow Setting up the server Building the application Step 1 – Scaffolding the side menu template Step 2 – Refactoring the template Refactoring the menu Refactoring the module name Adding a run method and modifying routes Refactoring templates Step 3 – Building authentication, localStorage, and the REST API factory The Ionic loading factory The localStorage factory The Authentication factory The REST API factory Step 4 – Creating controllers for each route and integrating with the factory The application controller The browse controller The book controller The cart controller The purchase controller Step 5 – Creating templates and integrating with the controller data The Login template The Browse template The Product item template The Shopping Cart template The Purchase template 7. Cordova and ngCordova Setting up a platform-specific SDK The Android setup The iOS setup Testing the setup Testing for Android Testing for iOS Getting started with Cordova plugins The Ionic plugin API Add a plugin Remove a plugin List added plugins Search plugins The Cordova whitelist plugin ngCordova Setting up ngCordova Legend $cordovaToast $cordovaDialogs $cordovaFlashlight $cordovaLocalNotification $cordovaGeolocation 8. Releasing the Ionic App Preparing the app for distribution Setting up icons and splash screens Updating the config.xml file The PhoneGap service Generating installers using the Cordova CLI Android installer iOS installer The Ionic package Uploading the project to Ionic cloud Generating the required keys