In addition to the GPS, a mobile device generally have other various sensors like the camera, a compass and an accelerometer. Provided a suitable plugin exists, apps built using Cordova can leverage these sensors. For example, using Cordova Camera plugin, it is possible to add picture taking and picture browsing capabilities to an app.
The work to do is:
- Enhance the app to allow users to take a photo.
- Display the photo just taken in the mobile app.
- Save the photo to the photo album after capture.
- Retrieve a photo from existing photo library.