CHAPTER 8

image

Using Device Features in HMAD

The objectives of this chapter are to

  • Learn how to use device features
  • Work with an SD card
  • Use camera through plug-ins
  • Use the HTML5 Geolocation service
  • Learn to create, sync, and update applications

Devices come in various sizes, with various features, and at various prices. This chapter deals with some common device features. Let’s start with tracking a geolocation.

Geolocation Services

Many mobile applications (which may or may not be hybrid) can track the location of the user; popular examples include Zomato, Foursquare, and Uber. Applications like Zomato use location as a major input.

Hybrid applications ...

Get Beginning Hybrid Mobile Application Development 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.