Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
PhoneGap Beginners Guide (third edition)

You're reading from   PhoneGap Beginners Guide (third edition) Create, develop, debug, and deploy your very own mobile applications with PhoneGap

Arrow left icon
Product type Paperback
Published in Jul 2015
Publisher
ISBN-13 9781784392284
Length 284 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (16) Chapters Close

Preface 1. Introduction to PhoneGap FREE CHAPTER 2. Building Your First PhoneGap Project 3. Mobile Frameworks 4. Working with Plugins 5. Using Device Storage and the Files API 6. Using the Contacts and Camera APIs 7. Accessing the Device Sensors and Locations API 8. Advanced PhoneGap 9. Getting Ready for Release 10. A Sample PhoneGap Project A. The JavaScript Quick Cheat Sheet B. Publishing Your App C. Related Plugin Resources D. PhoneGap Tools Index

Choosing an operating system for development

PhoneGap plays by the rules. If a vendor releases an SDK for a single operating system only, then you will have to use that OS to build and deploy your applications.

In detail, for each PhoneGap platform:

  • You can develop Android apps on any of the major desktop operating systems—Windows, Mac OS X, or Linux
  • You can develop Symbian Web Runtime apps on any OS but you can only run the simulator from Windows
  • You can develop apps for BlackBerry on any of the major desktop operating systems—the SDK can be installed on Windows or Mac OS X (to run the emulator, you need to install the virtual machine distributed with the SDK)
  • The Windows Phone 8 SDK runs on Windows 8 or Windows 8 Pro
  • The iOS SDK requires OS X 10.7 or later (and, according to the OS X EULA, a Mac computer as well)

Note

You can emulate apps in the desktop browser with Ripple (a Chrome extension that is currently incubated in the Apache Software Foundation http://incubator.apache.org/projects/ripple.html) or with the online emulation service available at http://emulate.phonegap.com.

Practically speaking, your best bet for mobile development is to get a Mac and install Windows on a separate partition that you can boot into, or run it in a virtual environment using Parallels or VMWare Fusion. According to Apple's legal terms, you cannot run Mac OS X on non-Apple hardware; if you stick with a Windows PC, you will be able to build for every platform except iOS. However, you can still use OS X by using VirtualBox and running OS X from a Windows PC.

Anyway, with the new CLI utilities, it is getting to be pretty easy to build an app for all major mobile platforms. Mobile developers are well aware of the problems involved in building cross-platform apps; not surprisingly, the http://build.phonegap.com service is starting to become pretty popular due to the fact that it lets the developer use his/her favorite operating system. After registering with this service, it's possible to build a cross-platform app starting from a common code base. You can upload the code base or pull it from a GitHub repository. At the end of this book, I have included a section dealing with the distribution process for mobile applications.

You have been reading a chapter from
PhoneGap Beginners Guide (third edition)
Published in: Jul 2015
Publisher:
ISBN-13: 9781784392284
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image