万本电子书0元读

万本电子书0元读

顶部广告

JavaScript Mobile Application Development电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Hazem Saleh

出  版  社:Packt Publishing

出版时间:2014-10-21

字       数:129.2万

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

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you are a native mobile developer, with some familiarity with the common web technologies of JavaScript, CSS, and HTML, or if you are a web developer, then this learning guide will add great value and impact to your work. Learning how to develop mobile applications using Apache Cordova is of particular importance if you are looking to develop applications on a variety of different platforms efficiently.
目录展开

JavaScript Mobile Application Development

Table of Contents

JavaScript Mobile Application Development

Credits

About the Author

About the Reviewers

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

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. An Introduction to Apache Cordova

What is Apache Cordova?

The differences between mobile web, hybrid mobile, and native mobile applications

Why you should use Cordova

Cordova architecture

Overview of Cordova APIs

Summary

2. Developing Your First Cordova Application

An introduction to Cordova CLI

Installing Apache Cordova

Generating our Sound Recorder's initial code

The Sound Recorder's initial structure

An insight into the www files

Developing Sound Recorder application

Sound Recorder functionality

Sound Recorder preparation

Sound Recorder details

Recording and playing the audio files back

Building and running Sound Recorder application

Summary

3. Apache Cordova Development Tools

Configuring Android development environment

Extending your existing Eclipse IDE

Creating an Android Virtual Device

Importing the Sound Recorder application in to Eclipse

Running the Sound Recorder application on a real Android device

Configuring iOS development environment

Importing the Sound Recorder application into Xcode

Running the Sound Recorder application on a real iOS device

Configuring the Windows Phone development environment

Importing the Sound Recorder application into Visual Studio

Running the Sound Recorder application on a real Windows Phone

Summary

4. Cordova API in Action

Exploring the Cordova Exhibition app

The Cordova Exhibition app structure

Accelerometer

Demo

The HTML page

View controller

API

Camera

Demo

The HTML page

View controller

API

Compass

Demo

The HTML page

View controller

API

Connection

Demo

The HTML page

View controller

API

Contacts

Demo

The HTML page

View controller

API

Device

Demo

The HTML page

View controller

API

Geolocation

Demo

The HTML page

View controller

API

Globalization

Demo

The HTML page

View controller

API

InAppBrowser

Demo

The HTML page

View controller

API

Summary

5. Diving Deeper into the Cordova API

Media, file, and capture

Demo

The HTML page

View controller

API

Notification

Demo

The HTML page

View controller

API

Storage

Demo

The HTML page

View controller

API

Finalizing the Cordova Exhibition app

Cordova events

Summary

6. Developing Custom Cordova Plugins

Developing a custom Cordova plugin

Using plugman

Plugin definition

Defining the plugin's JavaScript interface

Developing Android code

Developing iOS code

Developing Windows Phone 8 code

Publishing our plugin to Cordova Registry

Testing our Cordova plugin

Summary

7. Unit Testing the Cordova App's Logic

What is Jasmine

Configuring Jasmine

Writing your first Jasmine test

Jasmine Matchers

Jasmine in action – developing Cordova app tests

An overview of the weather application

Developing synchronous code tests

Developing asynchronous code tests

Manually executing tests

Automating tests using Karma

Installing Karma

Karma configuration

Running tests (on mobile devices)

Generating XML JUnit and code coverage reports

Integrating tests with the CI tools

Summary

8. Applying it All – the Mega App

Mega App specification/wireframes

Preparing for the Mega App

The Mega App architecture

The Mega App model and API

The Mega App user interface

Finalizing Mega App

Deploying and running Mega App

Start contributing to Mega App

Summary

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部