SlideShare une entreprise Scribd logo
1  sur  27
Demo on Mobile App Development using
Ionic Framework
Sayed Ahmed
Toronto, Canada
http://justetc.com
Anyway
This will be more hands on demo than powerpoint - still - i will create slides as I go
and wanna share…
The demo can be thought of
-Ionic Framework installation demo
-Creating mobile app using ionic : demo
-HTML 5, angularJS based Hybrid mobile app creation demo : can be thought as
-demo on how to create a mobile app to connect to a/an LMS and show contents
The LMS
That the mobile app will connect to or will show as a mobile app or the mobile app
that we will build will work as mobile version for: http://sitestree.com/training/
What will the mobile app look like….
This is how it will look like to start with
Let’s demo a bit ...
Anyway..this is how is the flow..
The mobile app only gives to the publicly open section of
Sure, now we will create the mobile app that can be deployed to Android store and
iOS store.
I will focus on Android though if we replace Android with ios in the ionic
commands that I will show - this will work fine for Ios as well
The guide that I will use
https://ionicframework.com/docs/v1/guide/installation.html
You can check https://ionicframework.com/docs/v1/guide/preface.html for some
background on IoNic…
The hands on work starts at
https://ionicframework.com/docs/v1/guide/installation.html
Now installation...
I have already installed ionic..still I will redo and go through the command
You will need nodejs to be installed before this demo can work for you..
I will not show nodejs installation
I am using Windows here
Will use Git Bash for windows also Git CMD for windows as well
Let’s do it
So node is already installed ; hence, npm will work
Ionic requires Cordova/Phonegap to make HTML5/AngularJS based app to
android native app...kinda..
Installing cordova..other git screen shows the last step to convert unsigned apk to
signed apk...we are developing mobile app - so assumed that you know apk and
what signed mean...
While cordova is being installed/re-ins
Some tools that we will need
---jdk (not only jre but jdk as well)
--Android Studio
--Ant build tool
--then we have to set some environment variables in Windows …. Kinda shell
variables in Linux/Mac
--cordova done
Let’s see the other stuff
As was told in the expanded view
Just showed you the jdk and ant that I downloaded and installed
Jdk got installed at:
C:Program FilesJavajdk1.8.0_161
Ant got installed at:
D:apache-ant-1.10.3-binapache-ant-1.10.3
Setting environment variables
JAVA_HOME to JDK-path
We can also put bin folder under JAVA_HOME in the PATH variable
Either System or User variable will work
You can put only in user to allow only current user..
I placed in both
C:Program FilesJavajdk1.8.0_161 is not required in path but
C:Program FilesJavajdk1.8.0_161bin is required in the path
Ant Builder Path
D:apache-ant-1.10.3-binapache-ant-1.10.3bin
Ant helps in the build process of applications (i.e. Java applications)
We will not write any Java code here..however, the framework will do many stuff
with Java in the back…
Now, you need android studio as well…
Note, you need path of android-sdk, not the installer path of Android Studio..
Android-sdk is more crucial and core than android studio..android studio will be of
great help
C:Program FilesAndroidAndroid Studio -- the studio path
The sdk path
D:Android
We need to set ANDROID_HOME=D:Android also need to point to tools and
build-tools and platform-tools in the PATH variable
Build-tools is not too important..
Let’s see
D:Androidplatform-tools
D:Androidtools
So you see them
For ANT - just download and extract…and point in the PATH variable
Re-installing ionic and -g is for global install...
Will create a demo and empty mobile app - ionic based..
Then we will bring code for our mobile app from another folder
We will need a github repo for this as well...let’s create in the meantime
Ionic pro sdk- we said yes
Will help in building, testing, deploying, debugging and monitoring applications -
though not a must…
I did quit - probably the linking was not right
Git bash - was having issues to select the project i.e. arrow key moves
Will use git cmd for windows
Basic files
├── 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.
Then we have to use
Git remote add url ….
Then git push to push the code to github
You might need to configure username and email for git/github
Anyway…
Pushing as well as set the upstream (default for push)
The code is there on github repo
Now, we have to add support for Android and/or IOS.
Will do for Android for now..ios all the same
Shortly we will test the basic app … in browser as well
Then we will bring code for sitestreemobile - html5/angular/ionic/moodle based
code. Will see how it looks..
Then we will build apk to deploy to android store
We will create unsigned apk first = debug
Then we will create a key pair then sign the unsigned and release apk
Then zipalign and compress the unsigned release to create the final apk to deploy
to android store
Let’s check the steps then we will do hands on
https://ionicframework.com/docs/v1/guide/starting.html: just bringing more content-
we will skip
Just finished platform add
To check we can use --livereload with prev command or ionic serve…
So you see the file opened in browser and - not deployable without….all that we
did..
The mobile app opened in browser : can be deployed to android store
--livereload was one option to test or: ionic serve: auto browser open
Will bring our code…
So we see the app though logged in
Just the app in Angular, HTML, CSS and related…
Anyway….nest we will build and sign and so ...
We already did for android
ionic cordova build ios
$ ionic cordova emulate ios
ionic cordova run android
Not much important now
With ionic pro sdk - you can test in your mobile as well...
We will just go for build i.e. publish step
Build as show on the page - just modifying code - not that important..we brought
enough code…
Removing
debug console plugin enabled,
so we should remove it before generating the release builds:
We see app-debug.apk - result of our tests so far
Now will create release build i.e. release .apk
ionic cordova build --release android
So we saw the release and unsigned apk
Will create a key now
Just brough the apk in the same folder for
Use the right alias
Now to zip and create the final signed apk for android store
Will use Git CMD
Git bash i.e. linux bash shell like approach ..showed little issues..
So we are done with creating APKs to deploy to Android Store..
Just create an app there and configure
This is an app...I can show where to upload the apk...
So you saw..just create a production or beta or alpha release and then upload the
apk
Configure other options like store presence, content rating
App availability...and publish…
I did not publish this app...will do soon…
Have fun…..
Any questions: sahmed@justetc.com
Bye bye...

Contenu connexe

Tendances

A tour of React Native
A tour of React NativeA tour of React Native
A tour of React NativeTadeu Zagallo
 
His162013 140529214456-phpapp01
His162013 140529214456-phpapp01His162013 140529214456-phpapp01
His162013 140529214456-phpapp01Getachew Ganfur
 
Type script for_java_dev_jul_2020
Type script for_java_dev_jul_2020Type script for_java_dev_jul_2020
Type script for_java_dev_jul_2020Yakov Fain
 
Build and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 MinsBuild and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 MinsJeff Hull
 
How the PVS-Studio Team Improved Unreal Engine's Code
How the PVS-Studio Team Improved Unreal Engine's CodeHow the PVS-Studio Team Improved Unreal Engine's Code
How the PVS-Studio Team Improved Unreal Engine's CodePVS-Studio
 
Web driver selenium simplified
Web driver selenium simplifiedWeb driver selenium simplified
Web driver selenium simplifiedVikas Singh
 
Angular elements - embed your angular components EVERYWHERE
Angular elements - embed your angular components EVERYWHEREAngular elements - embed your angular components EVERYWHERE
Angular elements - embed your angular components EVERYWHERENadav Mary
 
How to Implement Basic Angular Routing and Nested Routing With Params in Angu...
How to Implement Basic Angular Routing and Nested Routing With Params in Angu...How to Implement Basic Angular Routing and Nested Routing With Params in Angu...
How to Implement Basic Angular Routing and Nested Routing With Params in Angu...Katy Slemon
 
Creating books app with react native
Creating books app with react nativeCreating books app with react native
Creating books app with react nativeAli Sa'o
 
What's This React Native Thing I Keep Hearing About?
What's This React Native Thing I Keep Hearing About?What's This React Native Thing I Keep Hearing About?
What's This React Native Thing I Keep Hearing About?Evan Stone
 

Tendances (11)

A tour of React Native
A tour of React NativeA tour of React Native
A tour of React Native
 
AngularJS 101
AngularJS 101AngularJS 101
AngularJS 101
 
His162013 140529214456-phpapp01
His162013 140529214456-phpapp01His162013 140529214456-phpapp01
His162013 140529214456-phpapp01
 
Type script for_java_dev_jul_2020
Type script for_java_dev_jul_2020Type script for_java_dev_jul_2020
Type script for_java_dev_jul_2020
 
Build and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 MinsBuild and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 Mins
 
How the PVS-Studio Team Improved Unreal Engine's Code
How the PVS-Studio Team Improved Unreal Engine's CodeHow the PVS-Studio Team Improved Unreal Engine's Code
How the PVS-Studio Team Improved Unreal Engine's Code
 
Web driver selenium simplified
Web driver selenium simplifiedWeb driver selenium simplified
Web driver selenium simplified
 
Angular elements - embed your angular components EVERYWHERE
Angular elements - embed your angular components EVERYWHEREAngular elements - embed your angular components EVERYWHERE
Angular elements - embed your angular components EVERYWHERE
 
How to Implement Basic Angular Routing and Nested Routing With Params in Angu...
How to Implement Basic Angular Routing and Nested Routing With Params in Angu...How to Implement Basic Angular Routing and Nested Routing With Params in Angu...
How to Implement Basic Angular Routing and Nested Routing With Params in Angu...
 
Creating books app with react native
Creating books app with react nativeCreating books app with react native
Creating books app with react native
 
What's This React Native Thing I Keep Hearing About?
What's This React Native Thing I Keep Hearing About?What's This React Native Thing I Keep Hearing About?
What's This React Native Thing I Keep Hearing About?
 

Similaire à [not edited] Demo on mobile app development using ionic framework

Step by step guide to build ionic hybrid app using cordova android
Step by step guide to build ionic hybrid app using cordova androidStep by step guide to build ionic hybrid app using cordova android
Step by step guide to build ionic hybrid app using cordova androidswagat parida
 
Hybrid Apps in a Snap
Hybrid Apps in a SnapHybrid Apps in a Snap
Hybrid Apps in a SnapPaulina Gallo
 
Ionic - Revolutionizing Hybrid Mobile Application Development
Ionic - Revolutionizing Hybrid Mobile Application DevelopmentIonic - Revolutionizing Hybrid Mobile Application Development
Ionic - Revolutionizing Hybrid Mobile Application DevelopmentJustin James
 
Creating an Uber Clone - Part XXXIII - Transcript.pdf
Creating an Uber Clone - Part XXXIII - Transcript.pdfCreating an Uber Clone - Part XXXIII - Transcript.pdf
Creating an Uber Clone - Part XXXIII - Transcript.pdfShaiAlmog1
 
Installing android sdk on net beans
Installing android sdk on net beansInstalling android sdk on net beans
Installing android sdk on net beansAravindharamanan S
 
Mobile development in 2020
Mobile development in 2020 Mobile development in 2020
Mobile development in 2020 Bogusz Jelinski
 
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...InnovationM
 
Tutorial: Develop Mobile Applications with AngularJS
Tutorial: Develop Mobile Applications with AngularJSTutorial: Develop Mobile Applications with AngularJS
Tutorial: Develop Mobile Applications with AngularJSPhilipp Burgmer
 
Cordova + Ionic + MobileFirst
Cordova + Ionic + MobileFirstCordova + Ionic + MobileFirst
Cordova + Ionic + MobileFirstRaymond Camden
 
How do I - Use Include Source to debug native code - Trasnscript.pdf
How do I - Use Include Source to debug native code - Trasnscript.pdfHow do I - Use Include Source to debug native code - Trasnscript.pdf
How do I - Use Include Source to debug native code - Trasnscript.pdfShaiAlmog1
 
Introduction To Android For Beginners.
Introduction To Android For Beginners.Introduction To Android For Beginners.
Introduction To Android For Beginners.Sandeep Londhe
 
Appium Overview - by Daniel Puterman
Appium Overview - by Daniel PutermanAppium Overview - by Daniel Puterman
Appium Overview - by Daniel PutermanApplitools
 

Similaire à [not edited] Demo on mobile app development using ionic framework (20)

Drupoid
DrupoidDrupoid
Drupoid
 
Step by step guide to build ionic hybrid app using cordova android
Step by step guide to build ionic hybrid app using cordova androidStep by step guide to build ionic hybrid app using cordova android
Step by step guide to build ionic hybrid app using cordova android
 
AHOY FB Hack Day 2017
AHOY FB Hack Day 2017AHOY FB Hack Day 2017
AHOY FB Hack Day 2017
 
Hybrid Apps in a Snap
Hybrid Apps in a SnapHybrid Apps in a Snap
Hybrid Apps in a Snap
 
Ionic - Revolutionizing Hybrid Mobile Application Development
Ionic - Revolutionizing Hybrid Mobile Application DevelopmentIonic - Revolutionizing Hybrid Mobile Application Development
Ionic - Revolutionizing Hybrid Mobile Application Development
 
Creating an Uber Clone - Part XXXIII - Transcript.pdf
Creating an Uber Clone - Part XXXIII - Transcript.pdfCreating an Uber Clone - Part XXXIII - Transcript.pdf
Creating an Uber Clone - Part XXXIII - Transcript.pdf
 
Android programming-basics
Android programming-basicsAndroid programming-basics
Android programming-basics
 
Installing android sdk on net beans
Installing android sdk on net beansInstalling android sdk on net beans
Installing android sdk on net beans
 
Appium- part 1
Appium- part 1Appium- part 1
Appium- part 1
 
Mobile development in 2020
Mobile development in 2020 Mobile development in 2020
Mobile development in 2020
 
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
 
Tutorial: Develop Mobile Applications with AngularJS
Tutorial: Develop Mobile Applications with AngularJSTutorial: Develop Mobile Applications with AngularJS
Tutorial: Develop Mobile Applications with AngularJS
 
Cordova + Ionic + MobileFirst
Cordova + Ionic + MobileFirstCordova + Ionic + MobileFirst
Cordova + Ionic + MobileFirst
 
Ionic
IonicIonic
Ionic
 
Ionic2 First Lesson of Four
Ionic2 First Lesson of FourIonic2 First Lesson of Four
Ionic2 First Lesson of Four
 
How do I - Use Include Source to debug native code - Trasnscript.pdf
How do I - Use Include Source to debug native code - Trasnscript.pdfHow do I - Use Include Source to debug native code - Trasnscript.pdf
How do I - Use Include Source to debug native code - Trasnscript.pdf
 
Appium_set_up
Appium_set_upAppium_set_up
Appium_set_up
 
Introduction To Android For Beginners.
Introduction To Android For Beginners.Introduction To Android For Beginners.
Introduction To Android For Beginners.
 
How to setup ionic 2
How to setup ionic 2How to setup ionic 2
How to setup ionic 2
 
Appium Overview - by Daniel Puterman
Appium Overview - by Daniel PutermanAppium Overview - by Daniel Puterman
Appium Overview - by Daniel Puterman
 

Plus de Sayed Ahmed

Workplace, Data Analytics, and Ethics
Workplace, Data Analytics, and EthicsWorkplace, Data Analytics, and Ethics
Workplace, Data Analytics, and EthicsSayed Ahmed
 
Python py charm anaconda jupyter installation and basic commands
Python py charm anaconda jupyter   installation and basic commandsPython py charm anaconda jupyter   installation and basic commands
Python py charm anaconda jupyter installation and basic commandsSayed Ahmed
 
Sap hana-ide-overview-nodev
Sap hana-ide-overview-nodevSap hana-ide-overview-nodev
Sap hana-ide-overview-nodevSayed Ahmed
 
Will be an introduction to
Will be an introduction toWill be an introduction to
Will be an introduction toSayed Ahmed
 
Whm and cpanel overview hosting control panel overview
Whm and cpanel overview   hosting control panel overviewWhm and cpanel overview   hosting control panel overview
Whm and cpanel overview hosting control panel overviewSayed Ahmed
 
Web application development using zend framework
Web application development using zend frameworkWeb application development using zend framework
Web application development using zend frameworkSayed Ahmed
 
Web design and_html_part_3
Web design and_html_part_3Web design and_html_part_3
Web design and_html_part_3Sayed Ahmed
 
Web design and_html_part_2
Web design and_html_part_2Web design and_html_part_2
Web design and_html_part_2Sayed Ahmed
 
Web design and_html
Web design and_htmlWeb design and_html
Web design and_htmlSayed Ahmed
 
Visual studio ide shortcuts
Visual studio ide shortcutsVisual studio ide shortcuts
Visual studio ide shortcutsSayed Ahmed
 
Unit tests in_symfony
Unit tests in_symfonyUnit tests in_symfony
Unit tests in_symfonySayed Ahmed
 
Telerik this is sayed
Telerik this is sayedTelerik this is sayed
Telerik this is sayedSayed Ahmed
 
System analysis and_design
System analysis and_designSystem analysis and_design
System analysis and_designSayed Ahmed
 
Story telling and_narrative
Story telling and_narrativeStory telling and_narrative
Story telling and_narrativeSayed Ahmed
 
Some skills required to be a computer hardware engineer professional
Some skills required to be a computer hardware engineer professionalSome skills required to be a computer hardware engineer professional
Some skills required to be a computer hardware engineer professionalSayed Ahmed
 

Plus de Sayed Ahmed (20)

Workplace, Data Analytics, and Ethics
Workplace, Data Analytics, and EthicsWorkplace, Data Analytics, and Ethics
Workplace, Data Analytics, and Ethics
 
Python py charm anaconda jupyter installation and basic commands
Python py charm anaconda jupyter   installation and basic commandsPython py charm anaconda jupyter   installation and basic commands
Python py charm anaconda jupyter installation and basic commands
 
Sap hana-ide-overview-nodev
Sap hana-ide-overview-nodevSap hana-ide-overview-nodev
Sap hana-ide-overview-nodev
 
Invest wisely
Invest wiselyInvest wisely
Invest wisely
 
Will be an introduction to
Will be an introduction toWill be an introduction to
Will be an introduction to
 
Whm and cpanel overview hosting control panel overview
Whm and cpanel overview   hosting control panel overviewWhm and cpanel overview   hosting control panel overview
Whm and cpanel overview hosting control panel overview
 
Web application development using zend framework
Web application development using zend frameworkWeb application development using zend framework
Web application development using zend framework
 
Web design and_html_part_3
Web design and_html_part_3Web design and_html_part_3
Web design and_html_part_3
 
Web design and_html_part_2
Web design and_html_part_2Web design and_html_part_2
Web design and_html_part_2
 
Web design and_html
Web design and_htmlWeb design and_html
Web design and_html
 
Visual studio ide shortcuts
Visual studio ide shortcutsVisual studio ide shortcuts
Visual studio ide shortcuts
 
Virtualization
VirtualizationVirtualization
Virtualization
 
User interfaces
User interfacesUser interfaces
User interfaces
 
Unreal
UnrealUnreal
Unreal
 
Unit tests in_symfony
Unit tests in_symfonyUnit tests in_symfony
Unit tests in_symfony
 
Telerik this is sayed
Telerik this is sayedTelerik this is sayed
Telerik this is sayed
 
System analysis and_design
System analysis and_designSystem analysis and_design
System analysis and_design
 
Symfony 2
Symfony 2Symfony 2
Symfony 2
 
Story telling and_narrative
Story telling and_narrativeStory telling and_narrative
Story telling and_narrative
 
Some skills required to be a computer hardware engineer professional
Some skills required to be a computer hardware engineer professionalSome skills required to be a computer hardware engineer professional
Some skills required to be a computer hardware engineer professional
 

Dernier

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 

Dernier (20)

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 

[not edited] Demo on mobile app development using ionic framework

  • 1. Demo on Mobile App Development using Ionic Framework Sayed Ahmed Toronto, Canada http://justetc.com
  • 2. Anyway This will be more hands on demo than powerpoint - still - i will create slides as I go and wanna share… The demo can be thought of -Ionic Framework installation demo -Creating mobile app using ionic : demo -HTML 5, angularJS based Hybrid mobile app creation demo : can be thought as -demo on how to create a mobile app to connect to a/an LMS and show contents
  • 3. The LMS That the mobile app will connect to or will show as a mobile app or the mobile app that we will build will work as mobile version for: http://sitestree.com/training/ What will the mobile app look like….
  • 4. This is how it will look like to start with
  • 5. Let’s demo a bit ... Anyway..this is how is the flow.. The mobile app only gives to the publicly open section of Sure, now we will create the mobile app that can be deployed to Android store and iOS store. I will focus on Android though if we replace Android with ios in the ionic commands that I will show - this will work fine for Ios as well
  • 6. The guide that I will use https://ionicframework.com/docs/v1/guide/installation.html You can check https://ionicframework.com/docs/v1/guide/preface.html for some background on IoNic… The hands on work starts at https://ionicframework.com/docs/v1/guide/installation.html
  • 7. Now installation... I have already installed ionic..still I will redo and go through the command You will need nodejs to be installed before this demo can work for you.. I will not show nodejs installation I am using Windows here Will use Git Bash for windows also Git CMD for windows as well
  • 8. Let’s do it So node is already installed ; hence, npm will work Ionic requires Cordova/Phonegap to make HTML5/AngularJS based app to android native app...kinda.. Installing cordova..other git screen shows the last step to convert unsigned apk to signed apk...we are developing mobile app - so assumed that you know apk and what signed mean...
  • 9. While cordova is being installed/re-ins Some tools that we will need ---jdk (not only jre but jdk as well) --Android Studio --Ant build tool --then we have to set some environment variables in Windows …. Kinda shell variables in Linux/Mac --cordova done
  • 10. Let’s see the other stuff As was told in the expanded view Just showed you the jdk and ant that I downloaded and installed Jdk got installed at: C:Program FilesJavajdk1.8.0_161 Ant got installed at: D:apache-ant-1.10.3-binapache-ant-1.10.3
  • 11. Setting environment variables JAVA_HOME to JDK-path We can also put bin folder under JAVA_HOME in the PATH variable Either System or User variable will work You can put only in user to allow only current user.. I placed in both C:Program FilesJavajdk1.8.0_161 is not required in path but C:Program FilesJavajdk1.8.0_161bin is required in the path
  • 12. Ant Builder Path D:apache-ant-1.10.3-binapache-ant-1.10.3bin Ant helps in the build process of applications (i.e. Java applications) We will not write any Java code here..however, the framework will do many stuff with Java in the back… Now, you need android studio as well… Note, you need path of android-sdk, not the installer path of Android Studio.. Android-sdk is more crucial and core than android studio..android studio will be of great help
  • 13. C:Program FilesAndroidAndroid Studio -- the studio path The sdk path D:Android We need to set ANDROID_HOME=D:Android also need to point to tools and build-tools and platform-tools in the PATH variable Build-tools is not too important.. Let’s see
  • 14. D:Androidplatform-tools D:Androidtools So you see them For ANT - just download and extract…and point in the PATH variable Re-installing ionic and -g is for global install...
  • 15. Will create a demo and empty mobile app - ionic based.. Then we will bring code for our mobile app from another folder We will need a github repo for this as well...let’s create in the meantime Ionic pro sdk- we said yes Will help in building, testing, deploying, debugging and monitoring applications - though not a must… I did quit - probably the linking was not right
  • 16. Git bash - was having issues to select the project i.e. arrow key moves Will use git cmd for windows
  • 17. Basic files ├── 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.
  • 18. Then we have to use Git remote add url …. Then git push to push the code to github You might need to configure username and email for git/github Anyway… Pushing as well as set the upstream (default for push)
  • 19. The code is there on github repo Now, we have to add support for Android and/or IOS. Will do for Android for now..ios all the same Shortly we will test the basic app … in browser as well Then we will bring code for sitestreemobile - html5/angular/ionic/moodle based code. Will see how it looks.. Then we will build apk to deploy to android store
  • 20. We will create unsigned apk first = debug Then we will create a key pair then sign the unsigned and release apk Then zipalign and compress the unsigned release to create the final apk to deploy to android store Let’s check the steps then we will do hands on https://ionicframework.com/docs/v1/guide/starting.html: just bringing more content- we will skip
  • 21. Just finished platform add To check we can use --livereload with prev command or ionic serve… So you see the file opened in browser and - not deployable without….all that we did.. The mobile app opened in browser : can be deployed to android store --livereload was one option to test or: ionic serve: auto browser open
  • 22. Will bring our code… So we see the app though logged in Just the app in Angular, HTML, CSS and related… Anyway….nest we will build and sign and so ...
  • 23. We already did for android ionic cordova build ios $ ionic cordova emulate ios ionic cordova run android Not much important now With ionic pro sdk - you can test in your mobile as well...
  • 24. We will just go for build i.e. publish step Build as show on the page - just modifying code - not that important..we brought enough code… Removing debug console plugin enabled, so we should remove it before generating the release builds:
  • 25. We see app-debug.apk - result of our tests so far Now will create release build i.e. release .apk ionic cordova build --release android So we saw the release and unsigned apk Will create a key now Just brough the apk in the same folder for Use the right alias
  • 26. Now to zip and create the final signed apk for android store Will use Git CMD Git bash i.e. linux bash shell like approach ..showed little issues.. So we are done with creating APKs to deploy to Android Store.. Just create an app there and configure This is an app...I can show where to upload the apk...
  • 27. So you saw..just create a production or beta or alpha release and then upload the apk Configure other options like store presence, content rating App availability...and publish… I did not publish this app...will do soon… Have fun….. Any questions: sahmed@justetc.com Bye bye...