SlideShare a Scribd company logo
Cross Platform Mobile App
Development
With Jakir Hossain
Some Cross Platform Mobile App
Development Tools
• RhoMobile
• Appcelerator
• WidgetPad
• PhoneGap
• MoSync
• Sencha
• Webapp-net
• MotherApp
• Marmalade
• Volantis mobility server
• Web approach using hybrid model (Combines native
development with web technology.)
• HTML 5, CSS 3, JavaScript running on a mobile browser
embedded in a native app wrapper.
• Device capabilities accessed through device-
independent JavaScript API.
• Simple ‘drop-in libraires’ concept makes it easier to
develop.
PhoneGap
•Two ways of creating
• ‘Drop-in libraires’
• Comand Line Interface
New PhoneGap Project
• Create an android project
• File -> New -> Android Project
• In the root directory of the project, create two new directories
• /libs and /assets/www
• Copy phonegap.js from your PhoneGap download earlier to
/assets/www
• Create an index.html file in /assets/www
• Copy cordova.jar from your PhoneGap download to /libs
• Copy xml folder from your PhoneGap download to /res
PhoneGap Project – Drop-in Library
• Make a few adjustments to the project's main Java file
• Change the class's extend from Activity to DroidGap
• Replace the setContentView() line with
super.loadUrl(Config.getStartUrl());
• Add import com.phonegap.*
• Remove import android.app.Activity
New PhoneGap Project (cont.)
Hello World PhoneGap
• Lets make our "Hello World, PhoneGap!" application
• Till now we have an empty PhoneGap project
• All we need to do is to edit the index.html file
• Created by us
• Located in /assets/www
• This is the Entry point of our Application
Hello World PhoneGap
Hello World PhoneGap – Example
 Hello World, PhoneGap!
• Open the index.html and copy the following
<!Doctype html>
<html>
<head>
<title> First PhoneGap Application </title>
<head>
<body>
<h1>Hello PhoneGap</h1>
</body>
</html>
 Go to Build -> Run as Android Application
 The emulator should start
 And the app run!
LIVE DEMO
Hello World PhoneGap
• Creating a Project:
$cordova create hello com.example.hello “HelloWorld”
• Add Platform:
$cordova platform add android
• Build / Run
$cordova build
PhoneGap Comanline Interface
• http://tech.jakir.me/1395
PhoneGap Comanline Interface Setup
• Jqwidgets
• Kendo UI
• jQuery Mobile
• webix
User Interface for HTML5 App
• WebGL (OpenGL ES 2.0 for the Web)
http://www.chromeexperiments.com/webgl/
• Quintus
http://html5quintus.com/
• ImpactJS
http://impactjs.com/
• LimeJS
http://www.limejs.com/
• melonJS
http://melonjs.org/
• cocoonjs
Want to develop Games?
Need to know JavaScript
Questions?

More Related Content

PDF
Building mobile apps with PhoneGap and Backbone
PDF
«Разрушаем Вавилонскую Башню WWW с помощью веб-компонент»​
PDF
«I knew there had to be a better way to build mobile app»​
PDF
«The Grail: React based Isomorph apps framework»​
PPTX
Hybrid app development frameworks
PDF
Automating PhoneGap Build
PDF
White Paper : ASP.NET Core AngularJs 2 and Prime
PPTX
SPSNL16 - Building Office 365 and SharePoint solutions using modern developer...
Building mobile apps with PhoneGap and Backbone
«Разрушаем Вавилонскую Башню WWW с помощью веб-компонент»​
«I knew there had to be a better way to build mobile app»​
«The Grail: React based Isomorph apps framework»​
Hybrid app development frameworks
Automating PhoneGap Build
White Paper : ASP.NET Core AngularJs 2 and Prime
SPSNL16 - Building Office 365 and SharePoint solutions using modern developer...

What's hot (20)

PDF
Introduction to React Native
PPTX
Kotlin db migration tool
KEY
Test+video+upload
PPT
Extending Piwik At R7.com
PDF
Joomla! multiplied - How to run Multi-Sites - JandBeyond 2014
PDF
How to Successfully Implement Headless Drupal
PDF
Finding the sweet spot - blending the best of native and web
PPTX
PPTX
Universal Windows Platform
PPTX
Phonegap Day 2016: Ember/JS & Hybrid Apps Tips
PDF
Brad wood - Integrating MVC Into Legacy [Into The Box 2020]
PPTX
Ionic framework
PDF
New Features in the Evoq CMS
 
PPTX
Rapid Application Development on Google App Engine for Java
PPTX
SharePoint Framework - Developer Preview
PPTX
Deep dive into React Portals
PDF
Front-end tower of Babylon
PDF
Cordova 3.x
PDF
Introduction to React Native & Rendering Charts / Graphs
Introduction to React Native
Kotlin db migration tool
Test+video+upload
Extending Piwik At R7.com
Joomla! multiplied - How to run Multi-Sites - JandBeyond 2014
How to Successfully Implement Headless Drupal
Finding the sweet spot - blending the best of native and web
Universal Windows Platform
Phonegap Day 2016: Ember/JS & Hybrid Apps Tips
Brad wood - Integrating MVC Into Legacy [Into The Box 2020]
Ionic framework
New Features in the Evoq CMS
 
Rapid Application Development on Google App Engine for Java
SharePoint Framework - Developer Preview
Deep dive into React Portals
Front-end tower of Babylon
Cordova 3.x
Introduction to React Native & Rendering Charts / Graphs
Ad

Similar to Cross Platform Mobile App Development (20)

PPTX
phonegap_101
PDF
Brian Le Roux Presentation Introducing Phone Gap
PPTX
Phone gap
PDF
PhoneGap/Cordova
PDF
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
KEY
Phone gap
PPTX
Seminar Android - Pengenalan PhoneGap
PDF
Getting started with PhoneGap
PDF
PhoneGap Talk @ Sencha Con 2010
KEY
Android development workshop
PDF
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSS
PDF
PhoneGap
PPTX
PDF
mobicon_paper
PPTX
PhoneGap Application Development - Santhi J Krishnan
PDF
So you want to Develop on Android....
PPTX
Phone gap development, testing, and debugging
PPTX
Intro to PhoneGap
PDF
Building Cross-Platform Mobile Apps
PDF
Cross-Platform Mobile Development with PhoneGap-Vince Bullinger
phonegap_101
Brian Le Roux Presentation Introducing Phone Gap
Phone gap
PhoneGap/Cordova
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Phone gap
Seminar Android - Pengenalan PhoneGap
Getting started with PhoneGap
PhoneGap Talk @ Sencha Con 2010
Android development workshop
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSS
PhoneGap
mobicon_paper
PhoneGap Application Development - Santhi J Krishnan
So you want to Develop on Android....
Phone gap development, testing, and debugging
Intro to PhoneGap
Building Cross-Platform Mobile Apps
Cross-Platform Mobile Development with PhoneGap-Vince Bullinger
Ad

Recently uploaded (20)

PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
1_English_Language_Set_2.pdf probationary
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
advance database management system book.pdf
PDF
Empowerment Technology for Senior High School Guide
PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
History, Philosophy and sociology of education (1).pptx
PPTX
Introduction to Building Materials
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
IGGE1 Understanding the Self1234567891011
LDMMIA Reiki Yoga Finals Review Spring Summer
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
A powerpoint presentation on the Revised K-10 Science Shaping Paper
1_English_Language_Set_2.pdf probationary
Chinmaya Tiranga quiz Grand Finale.pdf
UNIT III MENTAL HEALTH NURSING ASSESSMENT
advance database management system book.pdf
Empowerment Technology for Senior High School Guide
Digestion and Absorption of Carbohydrates, Proteina and Fats
Final Presentation General Medicine 03-08-2024.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Complications of Minimal Access Surgery at WLH
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
History, Philosophy and sociology of education (1).pptx
Introduction to Building Materials
Final Presentation General Medicine 03-08-2024.pptx
Orientation - ARALprogram of Deped to the Parents.pptx
IGGE1 Understanding the Self1234567891011

Cross Platform Mobile App Development

  • 1. Cross Platform Mobile App Development With Jakir Hossain
  • 2. Some Cross Platform Mobile App Development Tools • RhoMobile • Appcelerator • WidgetPad • PhoneGap • MoSync • Sencha • Webapp-net • MotherApp • Marmalade • Volantis mobility server
  • 3. • Web approach using hybrid model (Combines native development with web technology.) • HTML 5, CSS 3, JavaScript running on a mobile browser embedded in a native app wrapper. • Device capabilities accessed through device- independent JavaScript API. • Simple ‘drop-in libraires’ concept makes it easier to develop. PhoneGap
  • 4. •Two ways of creating • ‘Drop-in libraires’ • Comand Line Interface New PhoneGap Project
  • 5. • Create an android project • File -> New -> Android Project • In the root directory of the project, create two new directories • /libs and /assets/www • Copy phonegap.js from your PhoneGap download earlier to /assets/www • Create an index.html file in /assets/www • Copy cordova.jar from your PhoneGap download to /libs • Copy xml folder from your PhoneGap download to /res PhoneGap Project – Drop-in Library
  • 6. • Make a few adjustments to the project's main Java file • Change the class's extend from Activity to DroidGap • Replace the setContentView() line with super.loadUrl(Config.getStartUrl()); • Add import com.phonegap.* • Remove import android.app.Activity New PhoneGap Project (cont.)
  • 8. • Lets make our "Hello World, PhoneGap!" application • Till now we have an empty PhoneGap project • All we need to do is to edit the index.html file • Created by us • Located in /assets/www • This is the Entry point of our Application Hello World PhoneGap
  • 9. Hello World PhoneGap – Example  Hello World, PhoneGap! • Open the index.html and copy the following <!Doctype html> <html> <head> <title> First PhoneGap Application </title> <head> <body> <h1>Hello PhoneGap</h1> </body> </html>  Go to Build -> Run as Android Application  The emulator should start  And the app run!
  • 11. • Creating a Project: $cordova create hello com.example.hello “HelloWorld” • Add Platform: $cordova platform add android • Build / Run $cordova build PhoneGap Comanline Interface
  • 13. • Jqwidgets • Kendo UI • jQuery Mobile • webix User Interface for HTML5 App
  • 14. • WebGL (OpenGL ES 2.0 for the Web) http://www.chromeexperiments.com/webgl/ • Quintus http://html5quintus.com/ • ImpactJS http://impactjs.com/ • LimeJS http://www.limejs.com/ • melonJS http://melonjs.org/ • cocoonjs Want to develop Games?
  • 15. Need to know JavaScript