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.

Enroll to download

Already a developer? Sign in


Already downloaded the SDK? Jump to next steps.

cordova plugin diagram

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.

You can use these plugins in two different ways:

  • Cordova Command Line Interface (CLI) — Using this method, your web apps can run over many mobile platforms, including Android, iOS, Windows, and Blackberry. For details about how to use the CLI, see the Apache Cordova CLI Documentation.
  • 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

Version 1.5 provides the following Cordova plugins for Samsung Android devices:

  • NFC — The NFC Cordova Plugin provides a set of JavaScript APIs to implement fast wireless data communication

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.
  • S Planner — The S Planner plugin provides access to the S Planner application for creating events and reminders.

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.
  • Download the Cordova plugins through this web page. Then install them into your development environment — if you need help, see our Cordova Plugins for Samsung Developer Guide.
  • Check out the sample demo app, which includes both source JavaScript code as well as a compiled Android package (APK) showing how to use the Pen, MultiWindow, and Rich Notification plugins.
  • Review the Cordova Plugins for Samsung API Reference to see all the JavaScript calls that are supported, check call syntax, and see sample code.
  • Review the FAQs for these Cordova Plugins, and visit the Forum to share your ideas or suggest new plugins.