Slippery Rock University Dr. Deborah Whitfield Go Browns!

Phone Gap Chapter 4: Plugins
Cross-Platform Mobile App Development
CpSc 215

An aside on JQuery stacked pages

To date


Plugins
Any web page or any of the sample games can be turned into a mobile app by redesigning "for mobile"
it is mostly about screen size and look & feel (user interface stuff).
But to use the features of the device – camera, accelerometer, … -
we need a way to reach them from our (essentially) browser app.
That’s a plug-in.

Plugins

Examples
The author lists ~18 plugins starting on p. 53. Let’s consider

Installing, removing, and listing plugins using the CLI
Using the Device API

This is just a simple "can I get to the device" example.
You would never actually query and print this information, though you might use it in your app.
As usual, both the Build & Desktop approach is simpler.