Cordova Plugins for Samsung

Overview

Mobile devices are becoming a key part of enterprise solutions. The enterprise market however presents the unique challenge of having to support various operating systems with different mobile device features. Because of this, developers are creating their own Mobile Application Development Platform (MADP) to deliver solutions that can scale more easily to meet enterprise needs.

Many MADP frameworks are built or repackaged around the open-source Cordova web toolkit, which is widely available and supports most of the mobile device platforms. The Cordova web toolkit allows developers to code using HTML5, CSS, and JavaScript. Apps are wrapped into a hybrid container that can be used cross-platform and still access device-specific features. By developing with Cordova, you can easily deploy rich apps across many mobile device operating systems, and no longer need to code using native SDKs.

To help you develop compelling apps that take advantage of differentiating features on Samsung Android devices, we have contributed Cordova plugins to the open source community. Initially, there are plugins for these Samsung device features: Pen, MultiWindow, and Rich Notification. Note: Because these plugins are open-source, you are accepting them as is. The open-source community can freely re-use, adapt, and re-distribute the plugins, so we cannot support the open-source code through our usual Support channels.

Cordova Plugins for Samsung terms of use

Licensee’s use of the plug-in is at its own discretion and risk. Licensee will be solely responsible for any damage that results from the use of the plug-in including, but not limited to, any damage to licensee’s computer system or loss of data. To the maximum extent permitted under applicable laws, Samsung expressly disclaims any and all warranties of any kind with respect to the plug-in, whether express or implied, including, but not limited to, the implied warranties and conditions of merchantability, fitness for a particular purpose and non-infringement. Further, Samsung does not represent or warrant that the plug-in or any portion thereof is free of inaccuracies, errors, bugs or interruptions, or is reliable, accurate, complete, or otherwise valid. The plug-in is provided "as is" and "as available", without any warranty or guarantees or of any kind from Samsung.

How it works

At the heart of the Cordova platform are plugins, which let your web apps access device-specific features. Your apps simply call JavaScript APIs, which the plugins have abstracted from the underlying native APIs used on the device platform.

Hybrid application development — These frameworks include an IDE, which makes them easier to use than the CLI. However, these frameworks support fewer mobile operating systems. Popular frameworks that already integrate the Cordova platform are Oracle MAF (Mobile Application Framework), Sencha Touch, and IBM Mobile First. For more about these frameworks, see their respective websites.

Version 1.5

To access other features on our devices, you can also try open-source plugins from code sharing repositories, or develop your own plugins.

Version 1.4

Version 1.4 provided the following Cordova plugins for Samsung Android devices:

Spass — The Spass plugin uses fingerprint recognition to improve your apps security through a biometric authentication; as well as increase the convenience for a user to identify themselves with.

To access other features on our devices, you can also try open-source plugins from code sharing repositories, or develop your own plugins.

Version 1.3

Version 1.3 provided the following Cordova plugins for Samsung Android devices:

S Health — Using this plugin, app developers and healthcare providers thrive in an open source environment that connects sensors, devices and partner services.

To access other features on our devices, you can also try open-source plugins from code sharing repositories, or develop your own plugins.

Version 1.2

Version 1.2 provided the following Cordova plugins for Samsung Android devices:

BLE — Bluetooth Low Energy (BLE) plugin is designed to provide a significantly lower power consumption when sending information. Devices such as proximity sensors and heart rate monitors send small packets of data to improve battery life.

Image Filter — This plugin offers the manipulation of images, by providing various types of filters and levels, such as Sepia, Pastel, and Cartoonization.

Remote Sensor —The remote sensor plugin allows the user to retrieve information from a wearable or sensory device. Data is passed through a Bluetooth connection, such as the pedometer (step counter) value, and the wearing state.

To access other features on our devices, you can also try open-source plugins from code sharing repositories, or develop your own plugins.

Version 1.0

Version 1.0 provided the following Cordova plugins for Samsung Android devices:

Pen — Use this plugin to control the S Pen stylus that comes with Galaxy Note devices, for better precision in writing and drawing. Your app can launch an S Pen surface view in pop-up mode, or launch S Pen inline view in a native window.

MultiWindow — Through this plugin, you can optimize productivity by running your app at the same time as another app, by either splitting the device display or overlaying one app in a reduced size on top of the other app.

Rich Notification — This plugin lets you design rich UIs on connected Gear devices, by customizing how notifications are displayed.

To access other features on our devices, you can also try open-source plugins from code sharing repositories, or develop your own plugins.

Next steps ...

Set up your development environment, using either the Cordova CLI or a hybrid application framework. For details, see the Apache Cordova CLI Documentation or the framework documentation.