This plugin aligns with the W3C vibration specification http://www.w3.org/TR/vibration/ This plugin provides a way to vibrate the device. Quick Example vibrate = function(arg) { navigator.notification.vibrate(arg);// vibrate(3000), vibration for 3 seconds. };
Articles Tagged: plugin
cordova.splashscreen
This plugin displays and hides a splash screen during application launch or can be used during reload actions. Quick Example showSplashScreen = function() { //will show splash screen for 3 seconds navigator.splashscreen.show(); setTimeout(function() { navigator.splashscreen.hide(); }, 3000); }; Methods splashscreen.show splashscreen.hide Quick Example showSplashScreen = function() { //will show splash screen for 3 seconds navigator.splashscreen.show(); […]
cordova.network-information
Connection The connection object, exposed via navigator.connection, provides information about the device’s cellular and wifi connection. Properties connection.type Constants Connection.UNKNOWN Connection.ETHERNET Connection.WIFI Connection.CELL_2G Connection.CELL_3G Connection.CELL_4G Connection.CELL Connection.NONE connection.type This property offers a fast way to determine the device’s network connection state, and type of connection. Quick Example checkConnection = function () { var networkState = navigator.connection.type; var states […]
cordova.media
This plugin provides the ability to record and play back audio files on a device. NOTE: The current implementation does not adhere to a W3C specification for media capture, and is provided for convenience only. A future implementation will adhere to the latest W3C specification and may deprecate the current APIs. Parameters src: A URI […]
cordova.geolocation
This plugin provides information about the device’s location, such as latitude and longitude. Common sources of location information include Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs. There is no guarantee that the API returns the device’s actual location. […]
ServiceObjects – SAP
Sap serviceobjects is an integration of SAP system, the integration consists of two parts. Developers must provide a destination sap system by giving necessary informations that depend on usage and access cases, the developer must provide satisfying values. For example the destination user must be able to access given functions on SAP systems to be […]
cordova.device-motion
This plugin provides access to the device’s accelerometer. The accelerometer is a motion sensor that detects the change (delta) in movement relative to the current device orientation, in three dimensions along the x, y, and z axis. Methods navigator.accelerometer.getCurrentAcceleration navigator.accelerometer.watchAcceleration navigator.accelerometer.clearWatch Example: function onSuccess(acceleration) { alert(‘Acceleration X: ‘ + acceleration.x + ‘\n’ + ‘Acceleration Y: […]