Livo Enterprise Mobility Platform is end-to-end mobile app development, deployment and management platform. It provides 3 components which you need for your enterprise mobile app: Mobile Container: To use native device functions and to enable HTML5 app development. IDE: Jquery Mobile enabled development environment. Middleware: To mobilise your business data.
Articles Tagged: cordova
cordova.vibration
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. };
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. […]
cordova.dialogs
This plugin provides access to some native dialog UI elements. Methods navigator.notification.alert navigator.notification.confirm navigator.notification.prompt navigator.notification.beep Examples //Beep Example beep = function(arg) { navigator.notification.beep(arg); //arg(a number) stands for how many times it will beep. }; //Alert, Confirm,Prompt Example //native alert nativeAlert = function() { navigator.notification.alert( ‘This is a native alert.’, // message alertDismissed, // callback ‘Native […]
cordova.device-orientation
This plugin provides access to the device’s compass. The compass is a sensor that detects the direction or heading that the device is pointed, typically from the top of the device. It measures the heading in degrees from 0 to 359.99, where 0 is north. Methods navigator.compass.getCurrentHeading navigator.compass.watchHeading navigator.compass.clearWatch Example: function onSuccess(heading) { […]
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: […]