官术网_书友最值得收藏!

Before we begin

This book comes with a code bundle that is available at https://github.com/kerrishotts/Mastering-PhoneGap-Code-Package. If you haven't downloaded it yet, I strongly advise you to do so. It contains all the code for each chapter as well as lots of snippets that demonstrate some of the examples in most chapters. Furthermore, the chapters in the book focus mostly on snippets—to see the topics in use in an actual application, you'll definitely want to look at the demonstration app's code.

Before continuing with this chapter, ensure that you have met the pre-requisites as listed in this book's preface. Software and hardware requirements are also listed in the code package for this book in the README.md file.

If you want to build and deploy the demonstration application from the code bundle, you'll need to install the earlier mentioned tools. Because the Cordova projects and platform-specific files are considered build artifacts, you'll need to execute the following in each chapter's directory in order to build each version of the app:

# On Linux / Mac OS X (using Bash shell)
$ npm install && gulp init

% On Windows
> npm install
> gulp init
主站蜘蛛池模板: 阳原县| 迁安市| 沙洋县| 增城市| 韩城市| 旅游| 马鞍山市| 汤阴县| 海丰县| 会昌县| 嘉峪关市| 罗平县| 娄烦县| 龙陵县| 遂溪县| 揭西县| 当阳市| 上虞市| 诸暨市| 赤壁市| 宜城市| 高雄市| 宿迁市| 肥城市| 天柱县| 广宗县| 博湖县| 武功县| 山西省| 九龙坡区| 河北省| 汾西县| 汾阳市| 通榆县| 铜鼓县| 宝鸡市| 临江市| 营口市| 拜泉县| 万年县| 新郑市|