万本电子书0元读

万本电子书0元读

顶部广告

PhoneGap 4 Mobile Application Development Cookbook电子书

售       价:¥

45人正在读 | 0人评论 9.8

作       者:Zainul Setyo Pamungkas

出  版  社:Packt Publishing

出版时间:2015-10-30

字       数:152.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Build real-world hybrid mobile applications using the robust PhoneGap development platformAbout This BookGet to grips with the usage of PhoneGap and its command-line interfaceLearn to use numerous plugins to access several hardware capabilitiesStep-by-step instructions on creating captivating mobile applications using popular frameworks Who This Book Is For If you are a developer who wants to get started with mobile application development using PhoneGap, then this book is for you. Previous experience with data mining libraries will help, but is not mandatory. A basic understanding of web technologies such as HTML, CSS, and JavaScript is a must.What You Will LearnSet up a development environment to develop PhoneGap applicationsGenerate, build, and run applications using the PhoneGap command-line interfaceInstall plugins from the command line to add native capabilities to your applicationCall the JavaScript API of plugins and hook into native eventsManipulate DOM using zepto and xuijsDevelop a user interface using jQuery Mobile and the Ionic frameworkGet accustomed to using the PhoneGap Build service In Detail Developing mobile applications often feels intimidating. Especially when building cross-platform application. We have to learn a specific programming language to build an application for each platform. PhoneGap makes cross-platform mobile application development faster and easier by using web technologies such as HTML5, CSS, and JavaScript. This book gives you practical lessons on how to build a world class mobile application using PhoneGap. Whether you are a brand new to mobile application development, a web developer expert, or a seasoned mobile application developer, this book will guide you through creating hybrid mobile applications. Starting with setting up a development environment, the book moves on to utilizing a new PhoneGap command-line tool, installing plugins, and designing your application. It then moves on to concepts such as file system, storage, and local database, the book effectively lays a solid base for advanced topics. By working through the steps in each chapter, you will quickly master the features of PhoneGap. By the end of the book, you will be able to successfully build a highly functional, real-world hybrid mobile application using PhoneGap.Style and approach And easy-to-follow guide full of practical examples of real-world mobile application. Each topic is explained step by step with detailed explanations on each concept.
目录展开

PhoneGap 4 Mobile Application Development Cookbook

Table of Contents

PhoneGap 4 Mobile Application Development Cookbook

Credits

About the Authors

About the Reviewer

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Welcome to PhoneGap 3

Introduction

Installing PhoneGap 3

Getting ready

How to do it…

How it works…

There's more…

Creating a new project

How to do it…

How it works…

Using the command line

How to do it…

The local commands

The remote commands

How it works…

Installing API plugins

How to do it…

Adding plugins

Listing plugins

Removing plugins

How it works…

See also

2. Movement and Location – Using the Accelerometer and Geolocation Sensors

Introduction

Detecting device movement using the accelerometer

How to do it…

How it works…

There's more...

See also

Adjusting the accelerometer sensor update interval

How to do it…

How it works…

There's more…

See also…

Updating a display object position through accelerometer events

How to do it…

How it works…

Obtaining device geolocation sensor information

How to do it…

How it works…

There's more...

See also

Adjusting the geolocation sensor update interval

How to do it…

How it works…

There's more…

Clearing the interval

Retrieving map data through geolocation coordinates

Getting ready

How to do it…

How it works...

Static maps

There's more…

See also

Creating a visual compass to show the device direction

How to do it…

How it works…

See also

3. Filesystems, Storage, and Local Databases

Introduction

Saving a file in the device storage

How to do it...

How it works…

There's more…

Domain whitelist

See also

Opening a local file from the device storage

How to do it…

How it works…

There's more…

See also

Displaying the contents of a directory

How to do it...

How it works…

See also

Creating a local SQLite database

How to do it...

How it works...

There's more...

See also

Uploading a file on a remote server

How to do it...

How it works...

See also

Caching content using the local storage API

How to do it...

How it works...

Lawnchair

4. Working with Audio, Images, and Video

Introduction

Capturing audio using the device audio recording application

How to do it...

How it works…

See also

Recording audio within your application

How to do it...

How it works...

See also

Playing audio files from the local filesystem or over HTTP

How to do it...

How it works...

There's more...

Capturing a video using the device video recording application

How to do it...

How it works...

Loading a photograph from the device camera roll/library

How to do it...

How it works...

There's more...

See also

Applying an effect to an image using canvas

How to do it...

How it works...

There's more...

Playing a remote video

How to do it...

How it works...

5. Working with Your Contacts List

Introduction

Listing all available contacts

How to do it...

How it works...

There's more…

Displaying the contact information for a specific individual

Getting ready

How it works…

How it works...

See also

Creating and saving a new contact

Getting ready

How to do it...

How it works...

There's more...

6. Hooking into Native Events

Introduction

Pausing your application

How to do it...

How it works...

There's more...

Resuming your application

How to do it...

How it works...

Displaying the status of the device battery levels

How to do it...

How it works...

There's more...

Displaying network connection status

How to do it...

How it works...

There's more...

Creating a custom submenu

How to do it...

How it works...

There's more...

See also

7. Working with XUI

Introduction

Getting started with XUI

How to do it…

Learning the basics of the library

How to do it...

How it works...

DOM manipulation

How to do it...

How it works...

Working with touch and gesture events

How to do it...

How it works...

Updating element styles

How to do it...

How it works...

There's more...

Working with remote data and AJAX requests

How to do it...

How it works...

Creating simple tweens and animations

How to do it...

How it works...

8. Working with the Ionic Framework

Introduction

Getting familiar with basics of the library

How to do it...

How it works…

Exploring Ionic commands

How to do it...

How it works…

Exploring the Ionic framework structure

How to do it…

Basic directory structure

Configuration and resources

Application files

How it works…

See also

Using ngCordova

How to do it...

How it works…

9. Ionic Framework Development

Introduction

Exploring the UI components

How to do it…

Creating a layout

How to do it…

How it works…

Using Ionic and Angular

How to do it...

How it works…

Putting it all together

How to do it…

How it works…

10. User Interface Development

Introduction

Creating a jQuery Mobile layout

Getting ready

How to do it...

How it works…

Persisting data between jQuery Mobile pages

How to do it...

How it works...

There's more...

See also

Using jQuery Mobile ThemeRoller

How to do it...

How it works...

There's more...

11. Extending PhoneGap with Plugins

Introduction

Extending your Cordova Android application with a native plugin

How to do it...

How it works…

Extending your Cordova iOS application with a native plugin

How to do it...

How it works...

The plugin repository

How to do it…

How it works…

12. Development Tools and Testing

Introduction

Downloading Cordova

How to do it...

How it works...

Using the command line to create a new iOS Cordova project

How to do it...

How it works...

There's more...

Running the application on the iOS Simulator

Debugging your application

Debugging the iOS Cordova application using Safari Web Inspector

How to do it…

How it works…

Using Android Studio to develop Android Cordova applications

Getting ready

Using Adobe Dreamweaver to develop Cordova applications

Getting ready

How to do it...

How it works...

Using the PhoneGap Build service

Getting ready

How to do it...

How it works...

There's more...

Hydrating your application

The PhoneGap Build API

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部