SlideShare a Scribd company logo
Mobile App Development using PhoneGap  - A Comprehensive Walk-through Gomathi Viswanathan  & Vijesh K V Unimity Solutions Chennai
Lets Checkout an App!
Lets Checkout an App!  What do Apps typically accomplish? Images Courtesy various Internet Sources Present Information Transmit Data to remote servers Access device APIs Capture and Save Information Handle Notifications
A Sample App - Meetup Updater Here is an App that will help you be updated with the Meetups of your preferred groups in & around your place It fetches Meetup Details from a remote server Has a local data store for your preferences Send Data to Server - Register for an Event Encompasses the typical navigational and user interaction elements
What is behind the scenes?   PhoneGap
  PhoneGap Is a Cross Platform Native Mobile App development framework Leverages HTML, CSS and Javascript  Supports – Android, iOS, Blackberry, Symbian, Windows, WebOS, Bada and Palm Has APIs for sensors and data  Was recently acquired by Adobe and the current code base is to be submitted to Apache Software Foundation
PhoneGap Build PhoneGap Build an Online service to compile code blocks in HTML, CSS, JS to native apps without the need for the developer to work with the respective APIs Without PhoneGap build, you need to download and work using different SDKs and builds. Beta is free
Want to know how to get all this done?
Gearing Up for Development Since the App is compiled as a Native application, respective SDKs for each platform needs to be installed. Mac 10.6 OS computer  Xcode Windows (or) Mac   computer Android SDK AVD Eclipse and  ADT   plugin Windows Computer Apache Ant  Sun JDK BB WebWorks SDK
The Nuts & Bolts
Getting Started PhoneGap is open web-standards based, which means you can run and test and test your App on any Webkit based Browser (Chrome, Safari)  The application creation is very similar to that of web pages creation, except for the installation and deployment stages. HTML, CSS and Javascript is all that you need from a programming perspective. You can use Browser based debugging tools that are available as addons. Eg. FireBug
The Add-Ons Use popular JS plugin like JQuery (mobile version), mobile specific like jQTouch, Sencha. Use Webkit specific pre-release implementation of certain CSS properties. Use Local Storages Cookies for session maintenance PhoneGap API – Web SQL database HTML5 local Storage API is a breeze  Indexed storage option Indexed DB is upcoming Structure App in a MVC model
 
Environment Views Switching to IDE view (will be removed from slides)
Looking Inward – PhoneGap API Images Courtesy various Internet Sources
Looking Inward – PhoneGap API Accelerometer – Device motion sensor Geolocation – GPS Sensor Compass Capture – audio, video and image capture capabilities Camera  Media- Allows Record and Playback of Audio Contacts database File Connection type Device  Notification – Audio Visual and Tactile
Deviceready Pause and Resume Online and Offline Menubutton  Searchbutton Startcallbutton and endcallbutton Volumedownbutton and volumeupbutton   Core Events
Looking Outward - Linking to Remote Servers PhoneGap Applications can communicate with Remote web servers Remote servers can be public (meetup, twitter etc) (or) proprietary, eg. Any business app say a CRM APP may contact a central proprietary web server of the company. Services can be RESTful API based (or) SOAP based The response can be XML (or) JSON The client can use XHR (Ajax HTTP request)  WebSockets are an emerging trend
The Demo
Flow of Building and Deploying Courtesy www.phonegap.com
Code Aside – The design elements, best practices and testing
Visual Design User experience is enhanced when the App is Consistent in design and behavior with Native device. Eg. The menu style, notifications style. This means some of the core design components and their consistency need to be maintained.  Fonts and Sizes Icon Styles Device Sizes and Resolutions Notifications Screen Navigation
Data display Running Text Categorized Text  Images and Media Scroll - Slide, with Thumbnail Design Elements Images Courtesy various Internet Sources
Data capture options Text Boxes Select Fields Multi-Select Design Elements Images Courtesy various Internet Sources
Testing your App The features testing at a unit level, needs to be done not only on the emulator, also at the device level. Apart from testing for the functionality, pre-market submission checklists need to be applied  Testing of the Installation Process, Upgrades Workflow and Application fire-up are also equally critical The response to external events like incoming calls and application state maintenance is at the outset taken care of by PhoneGap
References Looking for Support IRC Channel for JS, JQuery Google PhoneGap group iOS, Android communities on Social Networking Sites References made in this presentations http://www.meetup.com http://www.phonegap.com http://www.patternsofdesign.co.uk http://developer.android.com Images from various internet sources
Thank you.

More Related Content

PPTX
HTML5 and web technology update
PDF
Building Desktop RIAs with PHP, HTML & Javascript in AIR
PDF
Building Cross-Platform Mobile Apps
PDF
Building data driven mobile apps with phone gap and webapi
PDF
Introduction to HTML5
ZIP
Looking into HTML5
PDF
PhoneGap: Building Mobile Applications with HTML/JS
PPT
HTML 5 Overview
HTML5 and web technology update
Building Desktop RIAs with PHP, HTML & Javascript in AIR
Building Cross-Platform Mobile Apps
Building data driven mobile apps with phone gap and webapi
Introduction to HTML5
Looking into HTML5
PhoneGap: Building Mobile Applications with HTML/JS
HTML 5 Overview

What's hot (20)

PDF
HTML5 for PHP Developers - IPC
PDF
Dreamweaver CS6, jQuery, PhoneGap, mobile design
PDF
Taiwan Web Standards Talk 2011
PPTX
Mobile applications for SharePoint using HTML5
PPTX
Html5 Basics
PPT
Developing Java Web Applications
PPTX
SharePoint 2010 Web Standards & Accessibility
PPTX
HTML5: An Overview
PPT
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
PDF
HTML5 New Features and Resources
PPTX
Edge of the Web
PPT
Decoding the Web
PPTX
Developing Enterprise-Grade Mobile Applications
PDF
Top Web Development Frameworks Comparison: All You Need To Know
ODP
PPTX
Making HTML5 Work Everywhere
PDF
The road to professional web development
PDF
Mobile applications development - why should you start learning it right now?
PPT
Web II - 01 - Introduction to server-side development
PPTX
Aeternity Blockchain - Ecosystem & Devtools [2019]
HTML5 for PHP Developers - IPC
Dreamweaver CS6, jQuery, PhoneGap, mobile design
Taiwan Web Standards Talk 2011
Mobile applications for SharePoint using HTML5
Html5 Basics
Developing Java Web Applications
SharePoint 2010 Web Standards & Accessibility
HTML5: An Overview
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
HTML5 New Features and Resources
Edge of the Web
Decoding the Web
Developing Enterprise-Grade Mobile Applications
Top Web Development Frameworks Comparison: All You Need To Know
Making HTML5 Work Everywhere
The road to professional web development
Mobile applications development - why should you start learning it right now?
Web II - 01 - Introduction to server-side development
Aeternity Blockchain - Ecosystem & Devtools [2019]
Ad

Viewers also liked (10)

PDF
Unwritten laws of Engineering
PPTX
Unwritten Laws of Engineering - SCT Institute of Technology
PPTX
Android Development Made Easy - With Sample Project
PPTX
Android development orientation for starters v2
PPTX
Android Development Training for Beginners - Activity
PDF
Android development basics
PPT
Android development orientation for starters v4 seminar
PPTX
Android Development for Beginners with Sample Project - Day 1
KEY
Android Development: The Basics
PPT
Unwritten laws of Engineering
Unwritten Laws of Engineering - SCT Institute of Technology
Android Development Made Easy - With Sample Project
Android development orientation for starters v2
Android Development Training for Beginners - Activity
Android development basics
Android development orientation for starters v4 seminar
Android Development for Beginners with Sample Project - Day 1
Android Development: The Basics
Ad

Similar to Mobile app development using PhoneGap - A comprehensive walkthrough - Touch Tour Chennai (20)

PPT
Phonegap android
PPTX
Phone gap development, testing, and debugging
PDF
Creating and Distributing Mobile Web Applications with PhoneGap
PPTX
Phonegap - An Introduction
PDF
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
KEY
Android development workshop
PDF
PhoneGap Day - IBM, PhoneGap and the Enterprise
KEY
Intro to PhoneGap
PPTX
Mobile Apps with PhoneGap and jQuery Mobile
PPTX
phonegap_101
PDF
Building Native Mobile Applications with PhoneGap
PPSX
Developing Downloadable Mobile Apps Using HTML5 and PhoneGap
PDF
Learning the Fundamentals of App Development: Nickey Khem at SMECC - 20140205
PDF
Building Cross Platform Mobile Web Apps
PPT
Hybrid App Development using PhoneGap/Cordova
KEY
Philly ete-2011
PDF
Building cross platform mobile web apps
KEY
Future of Mobile
PDF
PhoneGap Talk @ Sencha Con 2010
PDF
PhoneGap mobile development
Phonegap android
Phone gap development, testing, and debugging
Creating and Distributing Mobile Web Applications with PhoneGap
Phonegap - An Introduction
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Android development workshop
PhoneGap Day - IBM, PhoneGap and the Enterprise
Intro to PhoneGap
Mobile Apps with PhoneGap and jQuery Mobile
phonegap_101
Building Native Mobile Applications with PhoneGap
Developing Downloadable Mobile Apps Using HTML5 and PhoneGap
Learning the Fundamentals of App Development: Nickey Khem at SMECC - 20140205
Building Cross Platform Mobile Web Apps
Hybrid App Development using PhoneGap/Cordova
Philly ete-2011
Building cross platform mobile web apps
Future of Mobile
PhoneGap Talk @ Sencha Con 2010
PhoneGap mobile development

More from RIA RUI Society (20)

PPT
User experience - Why the mobile space is important
PPTX
Introduction to google cloud messaging in android
PPT
Entering the world of Samsung developer ecosystem
PPTX
App monetization - 5 secrets of success
PPT
Socialize and Gaming on the move
PDF
Indian design and the art of story telling
PPSX
Design of the indian rupee symbol
PDF
Creating delightful experiences
PDF
Typographic history, systems and perception
PDF
Understanding Design and Brand Communication Workshop Content - Design Camp I...
PPTX
Bug deBug Chennai 2012 Talk - Driving innovation using pattern based thinking...
PDF
Bug deBug Chennai 2012 Talk - Trimming those flabs designing lightweight test...
PPT
Bug deBug Chennai 2012 Talk - Web application usability by Parimala Hariprasad
PPTX
Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
PPTX
Bug deBug Chennai 2012 Talk - Future of testing impact of mobile devices by S...
PPT
Bug deBug Chennai 2012 Talk - Effective test management with triple t tools,...
PPTX
Bug deBug Chennai 2012 Talk - Business value articulation in software project...
PPTX
Bug deBug Chennai 2012 Talk - Test automation support systems layered archite...
PPTX
Usability testing for mobile apps - Touch Tour Chennai
PDF
Introduction to Android OS - Touch Tour Chennai
User experience - Why the mobile space is important
Introduction to google cloud messaging in android
Entering the world of Samsung developer ecosystem
App monetization - 5 secrets of success
Socialize and Gaming on the move
Indian design and the art of story telling
Design of the indian rupee symbol
Creating delightful experiences
Typographic history, systems and perception
Understanding Design and Brand Communication Workshop Content - Design Camp I...
Bug deBug Chennai 2012 Talk - Driving innovation using pattern based thinking...
Bug deBug Chennai 2012 Talk - Trimming those flabs designing lightweight test...
Bug deBug Chennai 2012 Talk - Web application usability by Parimala Hariprasad
Bug deBug Chennai 2012 Talk - V3 analysis an approach for estimating software...
Bug deBug Chennai 2012 Talk - Future of testing impact of mobile devices by S...
Bug deBug Chennai 2012 Talk - Effective test management with triple t tools,...
Bug deBug Chennai 2012 Talk - Business value articulation in software project...
Bug deBug Chennai 2012 Talk - Test automation support systems layered archite...
Usability testing for mobile apps - Touch Tour Chennai
Introduction to Android OS - Touch Tour Chennai

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Electronic commerce courselecture one. Pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Encapsulation theory and applications.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
Teaching material agriculture food technology
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Empathic Computing: Creating Shared Understanding
Electronic commerce courselecture one. Pdf
Understanding_Digital_Forensics_Presentation.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation_ Review paper, used for researhc scholars
Per capita expenditure prediction using model stacking based on satellite ima...
Digital-Transformation-Roadmap-for-Companies.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Encapsulation theory and applications.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
MYSQL Presentation for SQL database connectivity
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
NewMind AI Weekly Chronicles - August'25 Week I

Mobile app development using PhoneGap - A comprehensive walkthrough - Touch Tour Chennai

  • 1. Mobile App Development using PhoneGap - A Comprehensive Walk-through Gomathi Viswanathan & Vijesh K V Unimity Solutions Chennai
  • 3. Lets Checkout an App! What do Apps typically accomplish? Images Courtesy various Internet Sources Present Information Transmit Data to remote servers Access device APIs Capture and Save Information Handle Notifications
  • 4. A Sample App - Meetup Updater Here is an App that will help you be updated with the Meetups of your preferred groups in & around your place It fetches Meetup Details from a remote server Has a local data store for your preferences Send Data to Server - Register for an Event Encompasses the typical navigational and user interaction elements
  • 5. What is behind the scenes?  PhoneGap
  • 6.   PhoneGap Is a Cross Platform Native Mobile App development framework Leverages HTML, CSS and Javascript Supports – Android, iOS, Blackberry, Symbian, Windows, WebOS, Bada and Palm Has APIs for sensors and data  Was recently acquired by Adobe and the current code base is to be submitted to Apache Software Foundation
  • 7. PhoneGap Build PhoneGap Build an Online service to compile code blocks in HTML, CSS, JS to native apps without the need for the developer to work with the respective APIs Without PhoneGap build, you need to download and work using different SDKs and builds. Beta is free
  • 8. Want to know how to get all this done?
  • 9. Gearing Up for Development Since the App is compiled as a Native application, respective SDKs for each platform needs to be installed. Mac 10.6 OS computer Xcode Windows (or) Mac computer Android SDK AVD Eclipse and ADT plugin Windows Computer Apache Ant Sun JDK BB WebWorks SDK
  • 10. The Nuts & Bolts
  • 11. Getting Started PhoneGap is open web-standards based, which means you can run and test and test your App on any Webkit based Browser (Chrome, Safari) The application creation is very similar to that of web pages creation, except for the installation and deployment stages. HTML, CSS and Javascript is all that you need from a programming perspective. You can use Browser based debugging tools that are available as addons. Eg. FireBug
  • 12. The Add-Ons Use popular JS plugin like JQuery (mobile version), mobile specific like jQTouch, Sencha. Use Webkit specific pre-release implementation of certain CSS properties. Use Local Storages Cookies for session maintenance PhoneGap API – Web SQL database HTML5 local Storage API is a breeze Indexed storage option Indexed DB is upcoming Structure App in a MVC model
  • 13.  
  • 14. Environment Views Switching to IDE view (will be removed from slides)
  • 15. Looking Inward – PhoneGap API Images Courtesy various Internet Sources
  • 16. Looking Inward – PhoneGap API Accelerometer – Device motion sensor Geolocation – GPS Sensor Compass Capture – audio, video and image capture capabilities Camera Media- Allows Record and Playback of Audio Contacts database File Connection type Device Notification – Audio Visual and Tactile
  • 17. Deviceready Pause and Resume Online and Offline Menubutton Searchbutton Startcallbutton and endcallbutton Volumedownbutton and volumeupbutton Core Events
  • 18. Looking Outward - Linking to Remote Servers PhoneGap Applications can communicate with Remote web servers Remote servers can be public (meetup, twitter etc) (or) proprietary, eg. Any business app say a CRM APP may contact a central proprietary web server of the company. Services can be RESTful API based (or) SOAP based The response can be XML (or) JSON The client can use XHR (Ajax HTTP request) WebSockets are an emerging trend
  • 20. Flow of Building and Deploying Courtesy www.phonegap.com
  • 21. Code Aside – The design elements, best practices and testing
  • 22. Visual Design User experience is enhanced when the App is Consistent in design and behavior with Native device. Eg. The menu style, notifications style. This means some of the core design components and their consistency need to be maintained.  Fonts and Sizes Icon Styles Device Sizes and Resolutions Notifications Screen Navigation
  • 23. Data display Running Text Categorized Text  Images and Media Scroll - Slide, with Thumbnail Design Elements Images Courtesy various Internet Sources
  • 24. Data capture options Text Boxes Select Fields Multi-Select Design Elements Images Courtesy various Internet Sources
  • 25. Testing your App The features testing at a unit level, needs to be done not only on the emulator, also at the device level. Apart from testing for the functionality, pre-market submission checklists need to be applied Testing of the Installation Process, Upgrades Workflow and Application fire-up are also equally critical The response to external events like incoming calls and application state maintenance is at the outset taken care of by PhoneGap
  • 26. References Looking for Support IRC Channel for JS, JQuery Google PhoneGap group iOS, Android communities on Social Networking Sites References made in this presentations http://www.meetup.com http://www.phonegap.com http://www.patternsofdesign.co.uk http://developer.android.com Images from various internet sources

Editor's Notes

  • #15: Any SDK, preferred is eclipse with ADT plugin The SDK and AVD need to be installed PhoneGap Lib (links code to Webview) and DroidGap (for creating and deploying, Ruby based) assets/ www folder android manifest  - global setting
  • #20: Create the page blocks for each page (Switch to IDE to show Code each function wise) Home screen My Preferences List Meetups Register Run in emulator (Switch to Emulator) Run on device  About Distribution
  • #22: Audience Interaction - Get to know what apart from the functionality would they expect to enjoy using an App as Users
  • #23: Audience Interaction - Get to know what apart from the functionality would they expect to enjoy using an App as Users