Appendix D. Using Cordova to Build Chrome Apps for Mobile Devices
Google’s Augmentation of Cordova
Google has added plug-ins to Cordova that implement the Chrome APIs, as shown in Figure D-1.
Even though Cordova runs your app on Android or iOS, you can’t call any native Android or iOS APIs if you still want your app to run on Chrome—you can use only Chrome and HTML APIs.
Development Tools and Debugging for Cordova
Mobile devices ranging from phones to fairly large tablets have two important differences relative to desktop or laptop computers that will affect your user interface design:
- The screen is usually smaller—for phones, much smaller. You need a layout that works on all screen sizes, or you can use CSS to implement a so-called “responsive” interface that adapts to the screen size. There’s lots of information on the web about how to do that; just ...