SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Building Android Using
PhoneGap




         By – Mr.Prajyot Mainkar (@prajyotm)
SO WHAT’s IN PLATE
KEY TOPICS

            Topics            Time Duration
         Introduction            15 mins
    About PhoneGap and Libs      30 mins
       PhoneGap Demo             30 mins
About Me

                                                       C.E.O & Founder
                                                   SPM Softwares & Designers


                             Project Management
                                 Professional               Mentor,
                                                     Google Developer Group




                                                         Head Maven,
Head, Startup Saturday Goa   Developer Advocate,    Goa Android User Group
                                Androcid.com
About Me
TYPES OF APPS
CHOOSE WHICH SUITS
  NATIVE APPLICATION                           MOBILE WEB
  App Designed Using Local Resources           Integrating app functionality
                                               APPLICATION                     with web
  and is mobile os centric                     development techniques




  CROSS PLATFORM DEV TOOLS                     NATIVE & WEB APPLICATION
  Using the respective model to create cross   Writing minimal native UI and loading web
  native apps that works on all intended       services for data transmission over server
  targets
Native Apps Are PRESENT
But Hybrid Apps are The Future

                 Native App   Web App   Hybrid App
Cross Platform
Linkable
Discoverable
Device API
What is PhoneGap?
•An Open Source Platform to
create native apps using web
technologies

•A JavaScript library/wrapper

•A Native Library for every
platform ( Multi Platform
Support)

•Compilation helper/builder
API’s In PhoneGap
Case Study Apps - PhoneGap
WHAT CAN YOU DO WITH PHONEGAP?
              Moby is designed by GPS and
              location-based services applications
              expert Contigo. It’s a private location-
              sharing app for the people who matter
              most to you. The mobile app, built
              using the PhoneGap framework,
              answers the question, "Where are
              you?" by sharing users' coordinates
              with family and friends. Unlike similar
              services, Moby only shares your
              location with the people you choose,
              for the length of time you want. Moby
              also acts as a personal safety app
              allowing users to request help from
              family and friends at the touch of a
              button.
WHAT CAN YOU DO WITH PHONEGAP?
              HealthTap is the best way to quickly find,
              trusted, reputable doctor answers to
              health questions anytime, anywhere for
              free!

              ✓ Get fast, free, trustworthy health
              answers on any symptom, condition,
              medication or health concern from over
              14,000 of the best U.S. doctors

              ✓ Connect with doctors by starting
              private conversations in a safe, HIPAA-
              secure environment
Titanium V/s PhoneGap
•JavaScript API that provides access to Native Functions
•Supports HTML5/CSS3
•Supports Web Standards & Re-use Across Enterprise Apps
•Supports DOM based JavaScript Libraries/Frameworks
•Supports the most platforms




•JavaScript API that provides access to Native Functions
•Compiles to Native Code
•Could provide better performance.
A Simple Hybrid Application
 •Take advantage of the strengths of PhoneGap.
 •Support multiple platforms.
 •Works Together.
 •Easy Compilation.
 •Smart Share among your network.
And yes!
There would be
codes
Getting Started with Android
Step 1 : Create a New Project
Step 2 : PhoneGap Processing
In the root directory of your project, create two new directories:

1./libs
2.assets/www

•Copy cordova-2.0.0.js from your Cordova download earlier to assets/www
•Copy cordova-2.0.0.jar from your Cordova download earlier to /libs
•Copy xml folder from your Cordova download earlier to /res

•Verify that cordova-2.0.0.jar is listed in the Build Path for your project.
•Right click on the /libs folder and go to Build Paths/ > Configure Build Path.
•Then, in the Libraries tab, add cordova-2.0.0.jar to the project.
•Refresh the project
Step 2 : PhoneGap Processing
Step 3 : Class File Processing
Edit your project's main Java file found in the src folder in Eclipse:

1.Add import org.apache.cordova.*;
2.Change the class's extend from Activity to DroidGap
3.Replace the setContentView() line with super.loadUrl("file:///android_asset/www/index.html");
Step 4: Android Manifest
Use the following permissions between the <uses-sdk.../>
and <application.../> tags.




android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
Step 5 : Hello World
Create and open a new file named index.html in the
assets/www directory. Paste the following code:




                Deploy and Run the Code
Extending Power of PhoneGap
Plugins in PhoneGap

Adobe® PhoneGap™ Build
supports a curated selection
of PhoneGap Plugins, to
extend the native
functionality exposed by the
PhoneGap native-app
container.



        https://github.com/phonegap/phonegap-plugins
What Tools Are Available?
What Libraries Are Available ?
Debugging PhoneGap
http:// Debug.phonegap.com




    What about Device API'? using WebView, Line-by-Line
                 Debugging could be pain

Weinre lets us to debug and manipulate the DOM from our PCs
Challenges in PhoneGap
1. How safe is it to use embedded
   Webview?
2. HTMl5 and CSS3 support
3. Debugging and profiling
4. Performance and Memory Usage
5. Screen Sizes and Orientation
6. DPI's
7. User Interface - or just use the
   Native Look
8. Performance and Optimization
What is NOT PhoneGap ?
1. PhoneGap is NOT a UI Framework
2. PhoneGap Doesn't include a
   browser and/or a rendering engine
3. PhoneGap Doesn't compile
4. Every Platform needs its own
   compilation
5. HTML5/CSS3 Compatibility
Check – http://www.mobilehtml5.org
GET IN TOUCH
CONTACT US                        Address:
                                  SPM Softwares & Designers
f   facebook.com/prajyotmainkar
                                  Zarina Towers,St.Inez,Panaji Goa

t   twitter.com/prajyotm
                                  Phone:
                                  +91-9822987513
     linkedin.com/in/prajyotm
                                  Email:
                                  prajyotm@msn.com

Weitere ähnliche Inhalte

Was ist angesagt?

Debugging and deploying with phone gap
Debugging and deploying with phone gapDebugging and deploying with phone gap
Debugging and deploying with phone gapRyan Stewart
 
Introduction to PhoneGap
Introduction to PhoneGapIntroduction to PhoneGap
Introduction to PhoneGapdegarden
 
PhoneGap Talk @ Sencha Con 2010
PhoneGap Talk @ Sencha Con 2010PhoneGap Talk @ Sencha Con 2010
PhoneGap Talk @ Sencha Con 2010alunny
 
Building Native Mobile Applications with PhoneGap
Building Native Mobile Applications with PhoneGapBuilding Native Mobile Applications with PhoneGap
Building Native Mobile Applications with PhoneGapSimon MacDonald
 
PhoneGap Day US 2013 - Chrome Packaged Apps
PhoneGap Day US 2013 - Chrome Packaged AppsPhoneGap Day US 2013 - Chrome Packaged Apps
PhoneGap Day US 2013 - Chrome Packaged AppsPhoneGap
 
DroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
DroidCon 2011: Developing HTML5 and hybrid Android apps using PhonegapDroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
DroidCon 2011: Developing HTML5 and hybrid Android apps using PhonegapAyushman Jain
 
Cordova and PhoneGap Insights
Cordova and PhoneGap InsightsCordova and PhoneGap Insights
Cordova and PhoneGap InsightsMonaca
 
Introduction to PhoneGap
Introduction to PhoneGapIntroduction to PhoneGap
Introduction to PhoneGapQuang Minh Dao
 
Mobile Development with PhoneGap
Mobile Development with PhoneGapMobile Development with PhoneGap
Mobile Development with PhoneGapJoshua Johnson
 
Getting Acquainted with PhoneGap
Getting Acquainted with PhoneGapGetting Acquainted with PhoneGap
Getting Acquainted with PhoneGapJoseph Labrecque
 
Phonegap for Engineers
Phonegap for EngineersPhonegap for Engineers
Phonegap for EngineersBrian LeRoux
 
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSS
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSSCordova / PhoneGap, mobile apps development with HTML5/JS/CSS
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSSGabriel Huecas
 

Was ist angesagt? (19)

Phone gap
Phone gapPhone gap
Phone gap
 
Debugging and deploying with phone gap
Debugging and deploying with phone gapDebugging and deploying with phone gap
Debugging and deploying with phone gap
 
Introduction to PhoneGap
Introduction to PhoneGapIntroduction to PhoneGap
Introduction to PhoneGap
 
Intro to PhoneGap
Intro to PhoneGapIntro to PhoneGap
Intro to PhoneGap
 
PhoneGap Talk @ Sencha Con 2010
PhoneGap Talk @ Sencha Con 2010PhoneGap Talk @ Sencha Con 2010
PhoneGap Talk @ Sencha Con 2010
 
Building Native Mobile Applications with PhoneGap
Building Native Mobile Applications with PhoneGapBuilding Native Mobile Applications with PhoneGap
Building Native Mobile Applications with PhoneGap
 
PhoneGap Day US 2013 - Chrome Packaged Apps
PhoneGap Day US 2013 - Chrome Packaged AppsPhoneGap Day US 2013 - Chrome Packaged Apps
PhoneGap Day US 2013 - Chrome Packaged Apps
 
Phonegap - An Overview
Phonegap - An OverviewPhonegap - An Overview
Phonegap - An Overview
 
Phonegap
PhonegapPhonegap
Phonegap
 
DroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
DroidCon 2011: Developing HTML5 and hybrid Android apps using PhonegapDroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
DroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
 
Cordova and PhoneGap Insights
Cordova and PhoneGap InsightsCordova and PhoneGap Insights
Cordova and PhoneGap Insights
 
PhoneGap
PhoneGapPhoneGap
PhoneGap
 
Hybrid mobile apps
Hybrid mobile appsHybrid mobile apps
Hybrid mobile apps
 
Phonegap
PhonegapPhonegap
Phonegap
 
Introduction to PhoneGap
Introduction to PhoneGapIntroduction to PhoneGap
Introduction to PhoneGap
 
Mobile Development with PhoneGap
Mobile Development with PhoneGapMobile Development with PhoneGap
Mobile Development with PhoneGap
 
Getting Acquainted with PhoneGap
Getting Acquainted with PhoneGapGetting Acquainted with PhoneGap
Getting Acquainted with PhoneGap
 
Phonegap for Engineers
Phonegap for EngineersPhonegap for Engineers
Phonegap for Engineers
 
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSS
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSSCordova / PhoneGap, mobile apps development with HTML5/JS/CSS
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSS
 

Andere mochten auch

2013.02.26 Intel Overview
2013.02.26 Intel Overview2013.02.26 Intel Overview
2013.02.26 Intel OverviewAndrew Smith
 
Mobile Day - Intel XDK & Testing
Mobile Day - Intel XDK & TestingMobile Day - Intel XDK & Testing
Mobile Day - Intel XDK & TestingSoftware Guru
 
Pemanfaatan Teknologi Android
Pemanfaatan Teknologi AndroidPemanfaatan Teknologi Android
Pemanfaatan Teknologi AndroidArif Huda
 
Intel XDK in Brief
Intel XDK in BriefIntel XDK in Brief
Intel XDK in BriefCamilo Corea
 
Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...
Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...
Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...Desiaman Thelaumbanua
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Himanshu Sharan
 
Desenvolvimento de Aplicativo Multiplataforma com Intel® XDK
Desenvolvimento de Aplicativo Multiplataforma com  Intel® XDKDesenvolvimento de Aplicativo Multiplataforma com  Intel® XDK
Desenvolvimento de Aplicativo Multiplataforma com Intel® XDKEvandro Paes
 
Pengontrol kecerahan lampu pijar menggunakan aplikasi android berbasis arduin...
Pengontrol kecerahan lampu pijar menggunakan aplikasi android berbasis arduin...Pengontrol kecerahan lampu pijar menggunakan aplikasi android berbasis arduin...
Pengontrol kecerahan lampu pijar menggunakan aplikasi android berbasis arduin...doni oktaviana
 
Agus Hamonangan - Sejarah Android, Penetrasi/Pertumbungan, dan Peluang Smartp...
Agus Hamonangan - Sejarah Android, Penetrasi/Pertumbungan, dan Peluang Smartp...Agus Hamonangan - Sejarah Android, Penetrasi/Pertumbungan, dan Peluang Smartp...
Agus Hamonangan - Sejarah Android, Penetrasi/Pertumbungan, dan Peluang Smartp...Dicoding
 
03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)
03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)
03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)Lab Mobile Filkom UB
 
Crosswalk and the Intel XDK
Crosswalk and the Intel XDKCrosswalk and the Intel XDK
Crosswalk and the Intel XDKIntel® Software
 
Building modern web apps with html5, javascript, and java
Building modern web apps with html5, javascript, and javaBuilding modern web apps with html5, javascript, and java
Building modern web apps with html5, javascript, and javaAlexander Gyoshev
 
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There TodayHTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There Todaydavyjones
 
Tutorial Lengkap Cara Membuat Aplikasi Android Sederhana
Tutorial Lengkap Cara Membuat Aplikasi Android SederhanaTutorial Lengkap Cara Membuat Aplikasi Android Sederhana
Tutorial Lengkap Cara Membuat Aplikasi Android Sederhanacreatorb dev
 

Andere mochten auch (15)

2013.02.26 Intel Overview
2013.02.26 Intel Overview2013.02.26 Intel Overview
2013.02.26 Intel Overview
 
Mobile Day - Intel XDK & Testing
Mobile Day - Intel XDK & TestingMobile Day - Intel XDK & Testing
Mobile Day - Intel XDK & Testing
 
Pemanfaatan Teknologi Android
Pemanfaatan Teknologi AndroidPemanfaatan Teknologi Android
Pemanfaatan Teknologi Android
 
Intel XDK in Brief
Intel XDK in BriefIntel XDK in Brief
Intel XDK in Brief
 
Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...
Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...
Laporan pratikum 1 semester | Listing Program Pratikum Visual Basic 2010 Seme...
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
 
Desenvolvimento de Aplicativo Multiplataforma com Intel® XDK
Desenvolvimento de Aplicativo Multiplataforma com  Intel® XDKDesenvolvimento de Aplicativo Multiplataforma com  Intel® XDK
Desenvolvimento de Aplicativo Multiplataforma com Intel® XDK
 
Pengontrol kecerahan lampu pijar menggunakan aplikasi android berbasis arduin...
Pengontrol kecerahan lampu pijar menggunakan aplikasi android berbasis arduin...Pengontrol kecerahan lampu pijar menggunakan aplikasi android berbasis arduin...
Pengontrol kecerahan lampu pijar menggunakan aplikasi android berbasis arduin...
 
Agus Hamonangan - Sejarah Android, Penetrasi/Pertumbungan, dan Peluang Smartp...
Agus Hamonangan - Sejarah Android, Penetrasi/Pertumbungan, dan Peluang Smartp...Agus Hamonangan - Sejarah Android, Penetrasi/Pertumbungan, dan Peluang Smartp...
Agus Hamonangan - Sejarah Android, Penetrasi/Pertumbungan, dan Peluang Smartp...
 
03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)
03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)
03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)
 
Perspektif global
Perspektif  globalPerspektif  global
Perspektif global
 
Crosswalk and the Intel XDK
Crosswalk and the Intel XDKCrosswalk and the Intel XDK
Crosswalk and the Intel XDK
 
Building modern web apps with html5, javascript, and java
Building modern web apps with html5, javascript, and javaBuilding modern web apps with html5, javascript, and java
Building modern web apps with html5, javascript, and java
 
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There TodayHTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
 
Tutorial Lengkap Cara Membuat Aplikasi Android Sederhana
Tutorial Lengkap Cara Membuat Aplikasi Android SederhanaTutorial Lengkap Cara Membuat Aplikasi Android Sederhana
Tutorial Lengkap Cara Membuat Aplikasi Android Sederhana
 

Ähnlich wie Building Hybrid Applications using PhoneGap

Consider Starting Small
Consider Starting SmallConsider Starting Small
Consider Starting SmallAndrew Smith
 
MOBILE APPLICATIONS DEVELOPMENT AND SERVICES.pptx
MOBILE APPLICATIONS DEVELOPMENT AND SERVICES.pptxMOBILE APPLICATIONS DEVELOPMENT AND SERVICES.pptx
MOBILE APPLICATIONS DEVELOPMENT AND SERVICES.pptxmuthulakshmi cse
 
What are the best 9 open source app development software solutions?
What are the best 9 open source app development software solutions?What are the best 9 open source app development software solutions?
What are the best 9 open source app development software solutions?Sandeep Chauhan
 
Cross Platform App Development Company in India _ Deuglo.ppt
Cross Platform App Development Company in India _ Deuglo.pptCross Platform App Development Company in India _ Deuglo.ppt
Cross Platform App Development Company in India _ Deuglo.pptBhavnaGawhane
 
Top Advantages of Cross Platform Mobile App Development
Top Advantages of Cross Platform Mobile App DevelopmentTop Advantages of Cross Platform Mobile App Development
Top Advantages of Cross Platform Mobile App DevelopmentXDuce Corporation
 
Hybrid app development
Hybrid app developmentHybrid app development
Hybrid app developmentHarshul Shah
 
10 Advantages Of Using Django For Web Development.pdf
10 Advantages Of Using Django For Web Development.pdf10 Advantages Of Using Django For Web Development.pdf
10 Advantages Of Using Django For Web Development.pdfAppdeveloper10
 
Hybrid Application Development documentation report (MCA Project)
Hybrid Application Development documentation report (MCA Project)Hybrid Application Development documentation report (MCA Project)
Hybrid Application Development documentation report (MCA Project)vetri pandi
 
Cool App Ideas - Native , Hybrid or Web Apps - Netset
Cool App Ideas - Native , Hybrid or Web Apps - NetsetCool App Ideas - Native , Hybrid or Web Apps - Netset
Cool App Ideas - Native , Hybrid or Web Apps - NetsetNetset Software Solutions
 
web development ppt by prakash bedage
web development ppt by prakash bedageweb development ppt by prakash bedage
web development ppt by prakash bedagePrakashBedage
 
web development project prakash.pptx
web development project prakash.pptxweb development project prakash.pptx
web development project prakash.pptxPrakashBedage
 
Python's advantages for developing mobile apps.pptx
Python's advantages for developing mobile apps.pptxPython's advantages for developing mobile apps.pptx
Python's advantages for developing mobile apps.pptxreshu khan
 
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdf
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdfA Guide to Mobile App Development - Web vs Native vs Hybrid.pdf
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdfWDP Technologies
 
Native, hybrid, or pw as – choose the best for your business
Native, hybrid, or pw as – choose the best for your businessNative, hybrid, or pw as – choose the best for your business
Native, hybrid, or pw as – choose the best for your businessMarkovate
 
Native Mobile Platforms vs Phonegap – A Comparison
Native Mobile Platforms vs Phonegap – A ComparisonNative Mobile Platforms vs Phonegap – A Comparison
Native Mobile Platforms vs Phonegap – A ComparisonNeev Technologies
 
Intro to tech stacks bonny
Intro to tech stacks bonnyIntro to tech stacks bonny
Intro to tech stacks bonnyLama K Banna
 

Ähnlich wie Building Hybrid Applications using PhoneGap (20)

Consider Starting Small
Consider Starting SmallConsider Starting Small
Consider Starting Small
 
Presentation
PresentationPresentation
Presentation
 
Mobile app developer
Mobile app developerMobile app developer
Mobile app developer
 
MOBILE APPLICATIONS DEVELOPMENT AND SERVICES.pptx
MOBILE APPLICATIONS DEVELOPMENT AND SERVICES.pptxMOBILE APPLICATIONS DEVELOPMENT AND SERVICES.pptx
MOBILE APPLICATIONS DEVELOPMENT AND SERVICES.pptx
 
What are the best 9 open source app development software solutions?
What are the best 9 open source app development software solutions?What are the best 9 open source app development software solutions?
What are the best 9 open source app development software solutions?
 
Cross Platform App Development Company in India _ Deuglo.ppt
Cross Platform App Development Company in India _ Deuglo.pptCross Platform App Development Company in India _ Deuglo.ppt
Cross Platform App Development Company in India _ Deuglo.ppt
 
PhoneGap Credentials @ Neev
PhoneGap Credentials @ NeevPhoneGap Credentials @ Neev
PhoneGap Credentials @ Neev
 
Top Advantages of Cross Platform Mobile App Development
Top Advantages of Cross Platform Mobile App DevelopmentTop Advantages of Cross Platform Mobile App Development
Top Advantages of Cross Platform Mobile App Development
 
Hybrid app development
Hybrid app developmentHybrid app development
Hybrid app development
 
10 Advantages Of Using Django For Web Development.pdf
10 Advantages Of Using Django For Web Development.pdf10 Advantages Of Using Django For Web Development.pdf
10 Advantages Of Using Django For Web Development.pdf
 
Hybrid Application Development documentation report (MCA Project)
Hybrid Application Development documentation report (MCA Project)Hybrid Application Development documentation report (MCA Project)
Hybrid Application Development documentation report (MCA Project)
 
Cool App Ideas - Native , Hybrid or Web Apps - Netset
Cool App Ideas - Native , Hybrid or Web Apps - NetsetCool App Ideas - Native , Hybrid or Web Apps - Netset
Cool App Ideas - Native , Hybrid or Web Apps - Netset
 
web development ppt by prakash bedage
web development ppt by prakash bedageweb development ppt by prakash bedage
web development ppt by prakash bedage
 
web development project prakash.pptx
web development project prakash.pptxweb development project prakash.pptx
web development project prakash.pptx
 
Python's advantages for developing mobile apps.pptx
Python's advantages for developing mobile apps.pptxPython's advantages for developing mobile apps.pptx
Python's advantages for developing mobile apps.pptx
 
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdf
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdfA Guide to Mobile App Development - Web vs Native vs Hybrid.pdf
A Guide to Mobile App Development - Web vs Native vs Hybrid.pdf
 
Native, hybrid, or pw as – choose the best for your business
Native, hybrid, or pw as – choose the best for your businessNative, hybrid, or pw as – choose the best for your business
Native, hybrid, or pw as – choose the best for your business
 
Native Mobile Platforms vs Phonegap – A Comparison
Native Mobile Platforms vs Phonegap – A ComparisonNative Mobile Platforms vs Phonegap – A Comparison
Native Mobile Platforms vs Phonegap – A Comparison
 
Intro to tech stacks bonny
Intro to tech stacks bonnyIntro to tech stacks bonny
Intro to tech stacks bonny
 
Cross platform app development a complete guide
Cross platform app development a complete guideCross platform app development a complete guide
Cross platform app development a complete guide
 

Mehr von Prajyot Mainkar

Kolkata kreate - Talk by Prajyot Mainkar
Kolkata kreate - Talk by Prajyot MainkarKolkata kreate - Talk by Prajyot Mainkar
Kolkata kreate - Talk by Prajyot MainkarPrajyot Mainkar
 
Devfest baroda 2019 By prajyot mainkar
Devfest baroda 2019 By prajyot mainkarDevfest baroda 2019 By prajyot mainkar
Devfest baroda 2019 By prajyot mainkarPrajyot Mainkar
 
Android Power Optimization: May the Power be with you
Android Power Optimization: May the Power be with youAndroid Power Optimization: May the Power be with you
Android Power Optimization: May the Power be with youPrajyot Mainkar
 
Gaining the app visibility that matters
Gaining the app visibility that mattersGaining the app visibility that matters
Gaining the app visibility that mattersPrajyot Mainkar
 
Nitrodroid 2013 - Closing Report
Nitrodroid 2013 - Closing ReportNitrodroid 2013 - Closing Report
Nitrodroid 2013 - Closing ReportPrajyot Mainkar
 
Android Cloud to Device Messaging Framework
Android Cloud to Device Messaging FrameworkAndroid Cloud to Device Messaging Framework
Android Cloud to Device Messaging FrameworkPrajyot Mainkar
 
Evolution google-android play
Evolution google-android playEvolution google-android play
Evolution google-android playPrajyot Mainkar
 
Steps to install android
Steps to install androidSteps to install android
Steps to install androidPrajyot Mainkar
 
Android Tutorials - Powering with Selection Widget
Android Tutorials - Powering with Selection WidgetAndroid Tutorials - Powering with Selection Widget
Android Tutorials - Powering with Selection WidgetPrajyot Mainkar
 
Android Tutorials : Basic widgets
Android Tutorials : Basic widgetsAndroid Tutorials : Basic widgets
Android Tutorials : Basic widgetsPrajyot Mainkar
 

Mehr von Prajyot Mainkar (15)

Kolkata kreate - Talk by Prajyot Mainkar
Kolkata kreate - Talk by Prajyot MainkarKolkata kreate - Talk by Prajyot Mainkar
Kolkata kreate - Talk by Prajyot Mainkar
 
Devfest baroda 2019 By prajyot mainkar
Devfest baroda 2019 By prajyot mainkarDevfest baroda 2019 By prajyot mainkar
Devfest baroda 2019 By prajyot mainkar
 
Building for next india
Building for next indiaBuilding for next india
Building for next india
 
Pitch that matters
Pitch that mattersPitch that matters
Pitch that matters
 
Android Power Optimization: May the Power be with you
Android Power Optimization: May the Power be with youAndroid Power Optimization: May the Power be with you
Android Power Optimization: May the Power be with you
 
Android performance
Android performanceAndroid performance
Android performance
 
Gaining the app visibility that matters
Gaining the app visibility that mattersGaining the app visibility that matters
Gaining the app visibility that matters
 
DroidSync 2014
DroidSync 2014DroidSync 2014
DroidSync 2014
 
Nitrodroid 2013 - Closing Report
Nitrodroid 2013 - Closing ReportNitrodroid 2013 - Closing Report
Nitrodroid 2013 - Closing Report
 
Google Cloud Messaging
Google Cloud Messaging Google Cloud Messaging
Google Cloud Messaging
 
Android Cloud to Device Messaging Framework
Android Cloud to Device Messaging FrameworkAndroid Cloud to Device Messaging Framework
Android Cloud to Device Messaging Framework
 
Evolution google-android play
Evolution google-android playEvolution google-android play
Evolution google-android play
 
Steps to install android
Steps to install androidSteps to install android
Steps to install android
 
Android Tutorials - Powering with Selection Widget
Android Tutorials - Powering with Selection WidgetAndroid Tutorials - Powering with Selection Widget
Android Tutorials - Powering with Selection Widget
 
Android Tutorials : Basic widgets
Android Tutorials : Basic widgetsAndroid Tutorials : Basic widgets
Android Tutorials : Basic widgets
 

Kürzlich hochgeladen

How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 

Kürzlich hochgeladen (20)

How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 

Building Hybrid Applications using PhoneGap

  • 1. Building Android Using PhoneGap By – Mr.Prajyot Mainkar (@prajyotm)
  • 2. SO WHAT’s IN PLATE KEY TOPICS Topics Time Duration Introduction 15 mins About PhoneGap and Libs 30 mins PhoneGap Demo 30 mins
  • 3. About Me C.E.O & Founder SPM Softwares & Designers Project Management Professional Mentor, Google Developer Group Head Maven, Head, Startup Saturday Goa Developer Advocate, Goa Android User Group Androcid.com
  • 5. TYPES OF APPS CHOOSE WHICH SUITS NATIVE APPLICATION MOBILE WEB App Designed Using Local Resources Integrating app functionality APPLICATION with web and is mobile os centric development techniques CROSS PLATFORM DEV TOOLS NATIVE & WEB APPLICATION Using the respective model to create cross Writing minimal native UI and loading web native apps that works on all intended services for data transmission over server targets
  • 6. Native Apps Are PRESENT But Hybrid Apps are The Future Native App Web App Hybrid App Cross Platform Linkable Discoverable Device API
  • 8. •An Open Source Platform to create native apps using web technologies •A JavaScript library/wrapper •A Native Library for every platform ( Multi Platform Support) •Compilation helper/builder
  • 10.
  • 11. Case Study Apps - PhoneGap
  • 12. WHAT CAN YOU DO WITH PHONEGAP? Moby is designed by GPS and location-based services applications expert Contigo. It’s a private location- sharing app for the people who matter most to you. The mobile app, built using the PhoneGap framework, answers the question, "Where are you?" by sharing users' coordinates with family and friends. Unlike similar services, Moby only shares your location with the people you choose, for the length of time you want. Moby also acts as a personal safety app allowing users to request help from family and friends at the touch of a button.
  • 13. WHAT CAN YOU DO WITH PHONEGAP? HealthTap is the best way to quickly find, trusted, reputable doctor answers to health questions anytime, anywhere for free! ✓ Get fast, free, trustworthy health answers on any symptom, condition, medication or health concern from over 14,000 of the best U.S. doctors ✓ Connect with doctors by starting private conversations in a safe, HIPAA- secure environment
  • 15. •JavaScript API that provides access to Native Functions •Supports HTML5/CSS3 •Supports Web Standards & Re-use Across Enterprise Apps •Supports DOM based JavaScript Libraries/Frameworks •Supports the most platforms •JavaScript API that provides access to Native Functions •Compiles to Native Code •Could provide better performance.
  • 16. A Simple Hybrid Application •Take advantage of the strengths of PhoneGap. •Support multiple platforms. •Works Together. •Easy Compilation. •Smart Share among your network.
  • 19. Step 1 : Create a New Project
  • 20. Step 2 : PhoneGap Processing In the root directory of your project, create two new directories: 1./libs 2.assets/www •Copy cordova-2.0.0.js from your Cordova download earlier to assets/www •Copy cordova-2.0.0.jar from your Cordova download earlier to /libs •Copy xml folder from your Cordova download earlier to /res •Verify that cordova-2.0.0.jar is listed in the Build Path for your project. •Right click on the /libs folder and go to Build Paths/ > Configure Build Path. •Then, in the Libraries tab, add cordova-2.0.0.jar to the project. •Refresh the project
  • 21. Step 2 : PhoneGap Processing
  • 22. Step 3 : Class File Processing Edit your project's main Java file found in the src folder in Eclipse: 1.Add import org.apache.cordova.*; 2.Change the class's extend from Activity to DroidGap 3.Replace the setContentView() line with super.loadUrl("file:///android_asset/www/index.html");
  • 23. Step 4: Android Manifest Use the following permissions between the <uses-sdk.../> and <application.../> tags. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
  • 24. Step 5 : Hello World Create and open a new file named index.html in the assets/www directory. Paste the following code: Deploy and Run the Code
  • 25. Extending Power of PhoneGap
  • 26. Plugins in PhoneGap Adobe® PhoneGap™ Build supports a curated selection of PhoneGap Plugins, to extend the native functionality exposed by the PhoneGap native-app container. https://github.com/phonegap/phonegap-plugins
  • 27. What Tools Are Available?
  • 28.
  • 29. What Libraries Are Available ?
  • 30.
  • 32. http:// Debug.phonegap.com What about Device API'? using WebView, Line-by-Line Debugging could be pain Weinre lets us to debug and manipulate the DOM from our PCs
  • 34. 1. How safe is it to use embedded Webview? 2. HTMl5 and CSS3 support 3. Debugging and profiling 4. Performance and Memory Usage 5. Screen Sizes and Orientation 6. DPI's 7. User Interface - or just use the Native Look 8. Performance and Optimization
  • 35. What is NOT PhoneGap ?
  • 36. 1. PhoneGap is NOT a UI Framework 2. PhoneGap Doesn't include a browser and/or a rendering engine 3. PhoneGap Doesn't compile 4. Every Platform needs its own compilation 5. HTML5/CSS3 Compatibility Check – http://www.mobilehtml5.org
  • 37. GET IN TOUCH CONTACT US Address: SPM Softwares & Designers f facebook.com/prajyotmainkar Zarina Towers,St.Inez,Panaji Goa t twitter.com/prajyotm Phone: +91-9822987513 linkedin.com/in/prajyotm Email: prajyotm@msn.com