Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Phonegap Essentials
Phonegap Essentials

Phonegap Essentials: Use PhoneGap to build cross-platform mobile applications quickly and efficiently

Arrow left icon
Profile Icon Ivan Turkovic
Arrow right icon
$19.99 per month
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (3 Ratings)
Paperback Sep 2015 178 pages 1st Edition
eBook
$23.99 $26.99
Paperback
$34.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Ivan Turkovic
Arrow right icon
$19.99 per month
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (3 Ratings)
Paperback Sep 2015 178 pages 1st Edition
eBook
$23.99 $26.99
Paperback
$34.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$23.99 $26.99
Paperback
$34.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Phonegap Essentials

Chapter 2. Mobile Platform Support

A major key to development in a framework that supports hybrid applications lies in the ability to provide access to as many as possible mobile platforms. In this area, PhoneGap has managed to keep the pace and add new platforms as they achieve significant market penetration. In this chapter, we will go over the platforms that are currently supported and the features that are available to a specific platform. In this chapter we are covering the essential topics related to mobile platform support:

  • Supported platforms
  • PhoneGap Build
  • The PhoneGap Developer App

Supported platforms

As the PhoneGap platform has been evolving, the number of supported platforms has been rising all the time. Some platforms were dropped due to the loss of popularity and new ones were added to it. The following page shows the updates for platform support: http://docs.PhoneGap.com/en/4.0.0/guide_support_index.md.html#Platform%20Support.

The following platforms are supported in the latest version of PhoneGap:

  • Amazon Fire OS
  • Android
  • BlackBerry 10
  • Firefox OS
  • iOS
  • Ubuntu Touch
  • Windows Phone 8
  • Windows Phone 8.1
  • Tizen OS

However, not all the platforms support the available plugins and features that they provide. It depends a lot on the type of the platform and feature that is supported by the device. As it started with iOS, it has the best coverage of all the basic features, and extended features as well through plugins. The second most supported platform is Android as the other platforms are not represented in all the plugins because it is usually required to create some native code...

PhoneGap Build

There are a lot of questions about the difference between PhoneGap and Cordova, and PhoneGap Build is usually the answer. PhoneGap has the built-in support for managing PhoneGap Build directly from the command-line interface while Cordova doesn't. Until the introduction of the command-line interface, building an application for multiple platforms required you to run different development environments at the same time. This has changed a lot with the introduction of the PhoneGap Build in 2012.

PhoneGap Build is a cloud-based answer to the issue of building applications for the various platforms that are not supported on the operating system you use. PhoneGap Build can be used as a cloud compiler that generates applications for every supported platform, though the support for all PhoneGap platforms is limited. In the latest version, it supports only three major platforms: iOS, Android, and Windows.

PhoneGap Build makes it very simple for you to develop applications. You...

The PhoneGap Developer App

The PhoneGap Developer app is a great addition to supporting the various mobile devices without needing to build and install separate versions into the various devices. It provides a simple testing utility for developers who want to check out the interface from the user's perspective and not just run it in the emulator. After installing the PhoneGap Developer app, you will be able to connect to your PhoneGap desktop app in order to view and test your work on the device instantly.

You can read more about it at http://app.PhoneGap.com.

The PhoneGap Developer App

Currently, the PhoneGap Developer app is being supported on all the three major platforms. The URLs to the app stores for each platform are as follows:

How to use it

To...

Summary

This chapter was an overview of the supported platforms in PhoneGap along with the features that each platform supports. As one of the most supported platforms is Android, we will be using it for the following examples in this book. Next, we took a quick look at PhoneGap Build, which is one of the main differences between PhoneGap and Cordova. In the end, we got to know about another tool that is great for testing the usability of the application directly from the physical device without needing to build and install the application on the device.

Left arrow icon Right arrow icon

Description

PhoneGap is an open source framework that allows you to quickly build cross-platform mobile apps using HTML5, JavaScript, and CSS. PhoneGap Build is a cloud service that allows you to quickly develop and compile mobile applications without SDKs, compilers, and hardware. PhoneGap allows you to use its existing plugins or create new ones, as per your requirements, to enhance your mobile applications. Starting by installing PhoneGap, you’ll develop an app that uses various device capabilities through different plugins and learn how to build an app in the cloud with PhoneGap’s Build service. You’ll discover how to use PhoneGap to create an application view, along with how to use a camera, geolocation, and other device capabilities to create engaging apps. Next, you’ll augment applications with PhoneGap's plugins using minimalistic code. You’ll explore the app preparation process to deploy your app to the app store. By the end of the book, you’ll have also learned how to apply hybrid mobile UIs that will work across different platforms and different screen sizes for better user experience.

Who is this book for?

If you are a mobile application developer in iOS or Android, or a web application developer who wants to learn how to make cross-platform mobile applications using PhoneGap, this book is perfect for you. To make the most of this book, it will be helpful if you have prior knowledge of HTML5, CSS, and JavaScript.

What you will learn

  • Get to grips with the fundamentals of PhoneGap to get started
  • Set up a development environment for Linux, Mac OS, and Windows
  • Use Cordova CLI, workflows, and Plugman Plugin manager to create mobile applications efficiently
  • Understand the development workflow to create native crossplatform mobile applications
  • Embed plugin support to transition to PhoneGap or use it to enhance existing applications
  • Improve your mobile development knowledge using objectoriented programming (OOP), reusable components, and AJAX closures
  • Be empowered to build your own mobile apps quickly with ease
  • Discover tips and tricks to make app development fun and easy

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 07, 2015
Length: 178 pages
Edition : 1st
Language : English
ISBN-13 : 9781785284687
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Sep 07, 2015
Length: 178 pages
Edition : 1st
Language : English
ISBN-13 : 9781785284687
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 138.97
Phonegap Essentials
$34.99
PhoneGap 4 Mobile Application Development Cookbook
$54.99
PhoneGap By Example
$48.99
Total $ 138.97 Stars icon

Table of Contents

9 Chapters
1. Get up and Running with PhoneGap Chevron down icon Chevron up icon
2. Mobile Platform Support Chevron down icon Chevron up icon
3. Command-line Interface Chevron down icon Chevron up icon
4. Plugin Support Chevron down icon Chevron up icon
5. First PhoneGap Application Chevron down icon Chevron up icon
6. Accessing Native APIs Chevron down icon Chevron up icon
7. Accessing Media Content Chevron down icon Chevron up icon
8. Application Development Workflow Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(3 Ratings)
5 star 66.7%
4 star 0%
3 star 0%
2 star 33.3%
1 star 0%
Trejder Nov 02, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
PhoneGap lets you to build extensible, content rich mobile applications and deploy them to many mobile platforms (including iOS, Android, Windows Phone, Amazon and other), from single source code base, with just a snap of your fingers. And "PhoneGap Essentials" by Ivan Turkovic lets you jump into learning and coding process at once and publish your first application in a matter of day or two.There are many books on beginning your journey with PhoneGap and mobile applications developments. All or most of them full with examples, screenshots etc. What I particularly liked the most in "PhoneGap Essentials" are side notes, comments on nifty things, you should pay attention to, and extra information, that is provided by the author. Aside of general information and knowledge of PhoneGap itself and easy to follow examples, I found most interesting one of additional chapters, where Ivan Turkovic is talking about visual frameworks, you can use to enrich look & feel of your PhoneGap applications. And where he lists all pros and cons of these frameworks in an easy to understand, yet very useful advantage-disadvantage list.I'm the reviewer of "PhoneGap Essentials" book and I was responsible to catch all the errors and mistakes found in it during writing process. However, I'm not affiliated in any way with PACKT Publishing (except for being an unpaid reviewer for them) and above review is solely my own point of view.
Amazon Verified review Amazon
Vinay Nov 26, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Packt has done a wonderful job of publishing this book.
Amazon Verified review Amazon
Stefano Sep 27, 2015
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
Letto in un paio di ore. Certo, aiuta ad installare l'intero sistema, e da l'approccio per scrivere alcune semplici app, ma il codice è limitato a semplicissimi esempi sui singoli plugin base. Nessun accenno ai dati, nessun accenno alle UI se non una facciata di riferimento ai framework più usati per costruire UI. Troppo troppo poco per 16 euro.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.