The complete source code of the app you will work on in this book is available on GitHub https://github.com/GiorgioNatili/itinero. Each commit has a prefix that indicates the chapter to which the code is referred; the stable code of each chapter is available as a branch.
In this section, you will learn how to set up the application splash screen and how to handle the bootstrap time. In the course of reading this book you will gradually learn about all the pieces that make up the UI of the app. The first screen to implement is the following one:
Create a new project using the cordova-cli utility introduced in Chapter 3, Getting Started with Mobile Applications (i.e., $ cordova create ~/PhoneGapProjects/PGGettinStarted/itinero Itinero
), and add the folders needed to mirror the following organization to the www
folder:
|-css |-img |-js |---libs |-----require |-------plugins |---model |---modules |---utils |-res |---icon |---screen ...