PhoneGap Jump Start

Uploaded on

Explaining the Hybrid Application alternative, the role of PhoneGap and the way it works.

Explaining the Hybrid Application alternative, the role of PhoneGap and the way it works.

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads


Total Views
On Slideshare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Haim Michael December 20th, 2013 All logos, trade marks and brand names used in this presentation belong to the respective owners. You can watch the video clip at PhoneGap Jump Start
  • 2. ● Hybrid Applications Overview ● Introduction to PhoneGap ● PhoneGap Structure ● Code Sample ● Learning Resources ● Questions & Answers Table of Content
  • 3. ● The hybrid applications for mobile telephones include code written in a native programming language and code written in JavaScript that uses various client side web technologies. Device Display Web Browser Object Hybrid Applications Overview
  • 4. ● The PhoneGap open source framework allows us to develop hybrid applications for mobile platforms that use the platform native capabilities. Introduction
  • 5. ● The PhoneGap framework includes two parts. The JavaScript library that includes the definition of functions that allow using the platform native capabilities. The native code developed specifically separately for each and every mobile platform. ● The implementation of the JavaScript library is different for each and every platform. It includes invocation of functions that belong to the native part. PhoneGap Structure
  • 6. ● You can find detailed documentation for PhoneGap capabilities at PhoneGap Structure
  • 7. package org.apache.cordova.example; import; import android.os.Bundle; import org.apache.cordova.*; public class cordovaExample extends DroidGap { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.loadUrl("file:///android_asset/www/index.html"); } } Code Sample
  • 8. Code Sample
  • 9. <!DOCTYPE html> index.html <html> <head> ... <title>Hello World</title> </head> <body> <div class="app"> <h1>Apache Cordova</h1> ... </div> <script type="text/javascript" src="cordova-2.3.0.js"></script> <script type="text/javascript" src="js/index.js"></script> <script type="text/javascript"> app.initialize(); </script> </body> </html> Code Sample
  • 10. ● PhoneGap (Cordova) website at ● You can find the free online course PhoneGap Basics at ● The following recommended textbooks focus on the PhoneGap open source framework: Learning Resources
  • 11. ● Two courses you might find interesting include Software Engineering in PHP more info Android 4.4 Java Applications Development more info HTML5 Cross Platform Mobile Applications more info ● If you enjoyed my lecture please leave me a comment at Thanks for your time! Haim. Questions & Answers