PhoneGap and Native Wrappers

If you need deeper access to device APIs but still want to develop using web technologies, you might want to consider a native wrapper for your app. These wrappers act as a kind of layer between your web application and the device in question, providing hooks into the API but not using native code to display what’s on the screen. Using a native wrapper around web technologies creates what’s known as a hybrid app.

Which wrapper you use depends largely on your targets (I’ll discuss this in more detail in Chapter 10), but as an example of what they can do, PhoneGap is perfect. It’s a wrapper for mobile apps, providing a common API for developers to build hybrid apps that work across iOS, Android, Windows Phone, Blackberry, ...

Get The Modern Web now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.