• Complain

Jamie Munro - 20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone

Here you can read online Jamie Munro - 20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2012, publisher: OReilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Jamie Munro 20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone
  • Book:
    20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2012
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Gain hands-on experience with the amazing PhoneGap library, using the practical recipes in this handy guide. With these solutions, you can enable your mobile web apps to interact with device-specific features such as the accelerometer, GPS, camera, and address book. Learn how to use your knowledge of HTML, CSS, and JavaScript to build full mobile apps for iOS, Android, and several other platforms without rewriting apps in the native platform language. Each recipe includes sample code you can use in your project right away, as well as a discussion of why the solution works.

  • Add functionality thats available only on a certain device or platform
  • Retrieve the devices current GPS location and place a marker on a map
  • Create and save a new contact or edit an existing contact in the address book
  • Take pictures with the camera or select one of the users existing photos
  • Upload a file from the local device to an external server
  • Allow the device to record audio or video through your app
  • Enable your application to save files locally

Jamie Munro: author's other books


Who wrote 20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone? Find out the surname, the name of the author of the book and a list of all author's works by series.

20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
20 Recipes for Programming PhoneGap
Jamie Munro
Editor
Andy Oram
Editor
Mike Hendrickson

Copyright 2012 Jamie Munro

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (.

Nutshell Handbook, the Nutshell Handbook logo, and the OReilly logo are registered trademarks of OReilly Media, Inc. 20 Recipes for Programming PhoneGap , the image of a sun star, and related trade dress are trademarks of OReilly Media, Inc.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and OReilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps.

While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

OReilly Media Dedication This book is dedicated to my children Lily and - photo 1

O'Reilly Media

Dedication

This book is dedicated to my children, Lily and Owen. Watching you guys grow up and learn always inspires me to share my knowledge with others! And of course, to my loving wife, Shannon: without your continued dedication to raising our children, I would never find time to write!

Preface
About the Book

PhoneGap is a library that allows developers to interface directly with a mobile device through the use of its JavaScript libraries. With the multitude of mobile platforms it is very difficult and expensive to create multiple applications in Java, Objective-C, or other native languages. Through the PhoneGap library, most web developers can convert their existing knowledge of HTML, CSS, and JavaScript into mobile phone applications with very little effort. In this book, I will explore many common features of mobile development and how they are accomplished with PhoneGap. This will include GPS location, maps, media, accelerometers, and much more.

Prerequisites

Many of the examples in this book will use basic HTML, CSS, and JavaScript. The PhoneGap API will be accessed exclusively through a variety of JavaScript variables and functions. When PhoneGap does not provide a standard way for implementing a certain look and feel, the jQuery mobile library will be used as well to accomplish a consistent look across multiple devices.

Before beginning with the recipes in this book, be sure to follow the step-by-step tutorials provided by the PhoneGap Getting Started Guide for the device you will be working with.

Once your environment is fully configured, you will also need to download the jQuery and jQuery mobile library. Inside of the www directory (where the index.html file currently resides), two new folders should be created: scripts and css. The JavaScript files from the two downloaded libraries should then be placed within the scripts directory. The CSS file and the images directory from the jQuery mobile library should be placed within the css directory.

These two libraries are not well supported for older versions of BlackBerry (less than version 5.0), so they will be used sparingly to attempt to maximize the exposure of the code.

I will be working with the Android version of the library; however, we will be focusing on HTML, JavaScript, and CSS at all times, so the process will be very device independentthe purpose of PhoneGap!

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames, and file extensions.

Constant width

Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.

Constant width bold

Shows commands or other text that should be typed literally by the user.

Constant width italic

Shows text that should be replaced with user-supplied values or by values determined by context.

Tip

This icon signifies a tip, suggestion, or general note.

Caution

This icon indicates a warning or caution.

Tools

There are many different Integrated Development Environments (IDE) available on the Internet. I have several different favorites; one for each language that I develop in. When it comes to PhoneGap development, there are currently two clear choices: Eclipse for BlackBerry and Android and XCode for iOS development.

However, recently announced the latest version of Adobes Dreamweaver is including integrated support for PhoneGap, at the time of writing this book its too early to tell what capabilities this will provide.

Using Code Examples

This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from OReilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.

We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: 20 Recipes for Programming PhoneGap by Jamie Munro (OReilly). Copyright 2012 Jamie Munro, 978-1-449-31954-0.

If you feel your use of code examples falls outside fair use or the permission given here, feel free to contact us at .

Safari Books Online
Note

Safari Books Online is an on-demand digital library that lets you easily search more than 7,500 technology and creative reference books and videos to find the answers you need quickly.

With a subscription, you can read any page and watch any video from our library online. Read books on your cell phone and mobile devices. Access new titles before they are available for print, get exclusive access to manuscripts in development, and post feedback for the authors. Copy and paste code samples, organize your favorites, download chapters, bookmark key sections, create notes, print out pages, and benefit from tons of other time-saving features.

OReilly Media has uploaded this book to the Safari Books Online service. To have full digital access to this book and others on similar topics from OReilly and other publishers, sign up for free at http://my.safaribooksonline.com.

How to Contact Us

Please address comments and questions concerning this book to the publisher:

OReilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
800-998-9938 (in the United States or Canada)
707-829-0515 (international or local)
707-829-0104 (fax)

We have a web page for this book, where we list errata, examples, and any additional information. You can access this page at:

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone»

Look at similar books to 20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone»

Discussion, reviews of the book 20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.