Beginning PhoneGap: Mobile Web Framework for JavaScript and by Rohit Ghatol

Posted by

By Rohit Ghatol

PhoneGap is a turning out to be and top open-source cellular net apps improvement framework that shall we builders construct JavaScript and HTML5-based internet purposes with local wrappers for extra than six cellular structures, together with iOS, Android, and BlackBerry. This framework helps you to construct HTML- and JavaScript-based apps and nonetheless reap the benefits of local cellular gadget services like digicam, localStorage, geolocation, garage and lots more and plenty extra, regardless of the cellular platform you objective. It additionally enables you to use more really good JavaScript frameworks like jQuery cellular and more.

Beginning PhoneGap is a definitive, distinctive ebook that teaches the basics and techniques at the back of cross-platform cellular program improvement. rather than studying languages like Objective-C, specialize in construction apps from day one for Android, iOS, Blackberry, WebOS and Symbian—without the complexities of those platforms.

This publication indicates tips to construct apps which uses Google neighborhood seek to create a Restaurant finder apps (which makes use of Maps to structure destinations and makes use of inner database to shop your favorite restaurants. Furthermore, you are going to how to expand PhoneGap's performance by utilizing PhoneGap plugins to put in writing apps like Dropbox (syncing documents within the history outdoors HTML/JavaScript code and in local code).

by the point you end Beginning PhoneGap, you are going to recognize PhoneGap in and out, and, therefore, have the capacity to enhance cellular net apps faster and extra successfully than ever before. Make more cash in much less time!

What you’ll learn

This publication deals an examples-based method on find out how to construct PhoneGap-based HTML and JavaScript that integrates gadget gains like geolocation, digital camera, garage, and more.

  • To comprehend cellular net functions improvement utilizing the PhoneGap framework
  • How to construct easy apps for iPhone, Android, BlackBerry, WebOS and Symbian
  • The variations in services throughout a variety of cellular units
  • How to combine different well known cellular JavaScript frameworks to construct person interfaces in PhoneGap
  • All the main positive factors in PhoneGap, like geolocation, digital camera, media, storage, and extra.
  • How to construct app which utilize OAuth for authentication with providers like fb
  • How to increase PhoneGap utilizing the PhoneGap plugin improvement framework

Who this publication is for

This e-book is for venture managers and developers of cellular purposes who plan to boost for multiple platform, and have an interest in saving time and cash within the improvement procedure.

Table of Contents

  1. Understand Cross-Platform cellular net program improvement
  2. Getting began with PhoneGap
  3. A PhoneGap API Reference
  4. Setting Environmnet
  5. Using PhoneGap with jQueryMobile
  6. Using PhoneGap with SenchaTouch
  7. Using PhoneGap with GWT
  8. PhoneGap Emulators and distant Debugging
  9. Extend PhoneGap utilizing PhoneGap Plugin improvement framework

Show description

Read or Download Beginning PhoneGap: Mobile Web Framework for JavaScript and HTML5 PDF

Best tablets & e-readers books

Apple iOS 7: A Guide to the New Apple iOS 7

Why you would like This BookDo you must recognize when you are in a position to improve to iOS 7 and what the advantages are? do you want 10 tips on tips on how to enhance your battery lifetime of your equipment utilizing iOS 7? do you want to chop throughout the crap and how to accomplish what you actually need in iOS 7? if this is the case, this e-book is for you!

Mobile Networks and Management: 6th International Conference, MONAMI 2014, Würzburg, Germany, September 22-26, 2014, Revised Selected Papers

This e-book constitutes the post-proceedings of the sixth overseas ICST convention on cellular Networks and administration, MONAMI 2014, held in Würzburg, Germany, in September 2014. The 22 revised complete papers awarded have been rigorously reviewed and chosen from 30 submissions. additionally, MONAMI 2014 hosted a workshop on superior residing environments which additionally featured 10 papers.

The Busy Coder's Guide to Advanced Android Development

The Busy Coder's consultant to complex Android improvement alternatives up the place its predecessor left off, masking but extra subject matters of curiosity to the pro Android software developer. if you would like to take advantage of sensors, create domestic display widgets, play again media, take images with the digital camera, or enforce subtle companies, this ebook can be a priceless consultant.

Communication Technologies for Vehicles: 8th International Workshop, Nets4Cars/Nets4Trains/Nets4Aircraft 2015, Sousse, Tunisia, May 6-8, 2015. Proceedings

This e-book constitutes the lawsuits of the eighth overseas Workshop on communique applied sciences for cars, Nets4Cars/Nets4Trains/Nets4Aircraft 2015, held in Sousse, Tunisia, in may perhaps 2015. The 20 papers awarded during this quantity have been conscientiously reviewed and chosen from 27 submissions. The contributions are prepared in topical sections named: street; rail; and air.

Extra resources for Beginning PhoneGap: Mobile Web Framework for JavaScript and HTML5

Example text

Put 7 in the min SDK version. 1 device platforms, also known as the Éclair Android phones. CHAPTER 2: Getting Started with PhoneGap Figure 2–13. Android Project creation 29 30 CHAPTER 2: Getting Started with PhoneGap Figure 2–14. Android Project creation. Step 2: Add PhoneGap Libraries to the Project Once the Android Project is created, it’s time to inject the PhoneGap framework into the Android Project. As we have mentioned before, PhoneGap comes with three main components: the native component, the XML plugin, and a JavaScript file.

In this file there are many specific things, like the package name, which uniquely identify the application on the market. The main file contains a section called permissions. Android uses this section to inform the user that the application will be using certain features of the phone. Say an application intends to use the Internet to fetch data; permission needs to be attained in order to install the application. When the user installs the application he will be shown by the Android market that this application will be given the permission to use the Internet.

Uuid Retrieves the device’s Universally Unique Identifier number. The following code will give you access to the device’s information. Refer to Figure 2–28 for the same. uuid; } Download from Wow! addEventListener("deviceready", onDeviceReady, false); }

Device Info

Device Name
PhoneGap Version
Mobile Platform
Platform Version

CHAPTER 2: Getting Started with PhoneGap Figure 2–28.

Download PDF sample

Rated 4.17 of 5 – based on 35 votes