Provides access to the device contacts database. WARNING: Collection and use of contact data raises important privacy issues. Your app’s privacy policy should discuss how the app uses contact data and whether it is shared with any other parties. Contact information is considered sensitive because it reveals the people with whom a person communicates. Therefore, […]
Category: 1. Standard Cordova Plugins
Plugins that supplied by Apache Cordova project.
cordova.camera
navigator.camera.getPicture Takes a photo using the camera, or retrieves a photo from the device’s image gallery. The image is passed to the success callback as a base64-encoded String, or as the URI for the image file. The method itself returns a CameraPopoverHandle object that can be used to reposition the file selection popover. navigator.camera.getPicture( cameraSuccess, cameraError, cameraOptions ); […]
cordova.battery-status
This plugin gives information about device battery. Event type: window event Events: batterystatus batterycritical batterylow This events returns info object which contains level and isPlugged information. batterystatus event fires when device gets ready, other events fire when status changes to critical or low. Example Code: window.addEventListener(“batterystatus”, onBatteryStatus, false); window.addEventListener(“batterycritical”, onBatteryCritical, false); window.addEventListener(“batterylow”, onBatteryLow, false); function […]