16.11.2015 Views

PG2

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

viii<br />

Contents<br />

Leveraging PhoneGap APIs 28<br />

Enhancing the User Interface of a PhoneGap Application 30<br />

Testing and Debugging PhoneGap Applications 35<br />

Running a PhoneGap Application on a Device<br />

Simulator or Emulator 35<br />

Running a PhoneGap Application on a Physical Device 36<br />

Leveraging PhoneGap Debugging Capabilities 37<br />

Third-Party PhoneGap Debugging Tools 43<br />

Dealing with Cross-Platform Development Issues 49<br />

API Consistency 50<br />

Multiple PhoneGap JavaScript Files 51<br />

Web Content Folder Structure 51<br />

Application Requirements 52<br />

Application Navigation and UI 52<br />

Application Icons 53<br />

Part II PhoneGap Developer Tools. ................55<br />

Chapter 3<br />

Configuring an Android Development Environment<br />

for PhoneGap. ................................... 57<br />

Installing the Android SDK 58<br />

Eclipse Development Environment Configuration 64<br />

Creating an Android PhoneGap Project 66<br />

New Eclipse Project 67<br />

Using Command-Line Tools 74<br />

Testing Android PhoneGap Applications 77<br />

Using the Emulator 78<br />

Installing on a Device 78<br />

Chapter 4<br />

Chapter 5<br />

Configuring a bada Development Environment for<br />

PhoneGap ...................................... 79<br />

Downloading and Installing the Correct PhoneGap bada Files 80<br />

Creating a bada PhoneGap Project 82<br />

Creating a bada Application Profile 86<br />

Testing bada PhoneGap Applications 95<br />

Configuring a BlackBerry Development Environment<br />

for PhoneGap. ................................... 97<br />

Installing the BlackBerry WebWorks SDK 98<br />

Creating a BlackBerry PhoneGap Project 99<br />

Building BlackBerry PhoneGap Applications 103<br />

Configuring the Build Process 104<br />

Executing a Build 107

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!