Gluon Charm Down

Device & Platform Agnostic
Native Hardware Services.

View Source

  Hardware Access

Make use of hardware features on mobile devices in a platform-agnostic way. Gluon Charm Down makes available all the storage systems, accelerometers, screen details, GPS devices, and more in a device-independent fashion

  Open Source & Community

Gluon Charm Down is yet another Gluon open source project available in our gluon-oss BitBucket repo. It is freely licensed under the GPL license, and external contributions are very welcome.

  Commercially Supported

As with all Gluon open source projects, Gluon offers commercial support in a variety of ways.

Gluon can provide custom consultancy and training, commercial licenses, and finally open source commercial support.

Gluon Mobile

Gluon Charm Down ships as part of Gluon Mobile, providing you with a single solution for building cross-device applications with a singel code base, and not one line of platform specific code. Of course, you can also use Gluon Charm Down in your own projects without Gluon Mobile – just grab the source code from our repo, or add a dependency to your build script.


Getting Started

Gluon Charm Down is free and open source (it’s GPL licensed) – you can grab the latest code from our gluon-oss BitBucket repo. We also provide releases to our open source commercial support customers on a regular cadence (daily or monthly), and we provide free samples to kickstart your development.


Supported Services

Gluon Charm Down ships with a number of pre-built services, as well as a simple-to-use API for adding additional services. The table below is the list of services available in the latest release of Gluon Charm Down:

Service Name Description Docs
Accelerometer Interface for querying the status of the accelerometer of the underlying device. Gives readings on x, y, and z axis. JavaDoc
Barcode Scan Provides the ability to scan a barcode (or similar, such as a QR code), and retrieve the value represented by that barcode as a string. JavaDoc
Battery Interface for querying the status of the battery on the underlying device, including the current battery level, as well as whether the device is plugged in or not. JavaDoc
Bluetooth Low Energy Interface to Bluetooth Low Energy (Bluetooth Smart) functionality (e.g. beacons). JavaDoc
Browser Attempts to launch the platform default web browser with the given URL. JavaDoc
Cache Provides an API to weakly cache objects in memory for future use. There is no guarantee that items in the cache will be retained for any minimum period of time – they will be GC’d as necessary. JavaDoc
Camera Picture A service that allows for a picture to be returned to the caller, where the picture may be retrieved from the local file system, or an attached camera. JavaDoc
Compass Interface for querying the status of the compass of the underlying device. The compass reading is represented as a value between 0 and 359.99, where 0 is north. JavaDoc
Connectivity Determines whether there is network connectivity available on the current device, through any means (i.e. WiFi or cell phone data networks). JavaDoc
Device Interface for querying the device hardware and software. JavaDoc
Display Display service reports details of the devices display such as resolution, and whether this is a mobile, tablet, or desktop display. JavaDoc
Geolocation (GPS) The Position service provides details about a device’s current location on earth. JavaDoc
Lifecycle The life cycle service allows for developers to listen to events related to when their software is paused and resumed , as well as initiate proper shutdowns of their software, regardless of platform. JavaDoc
Magnetometer Interface for querying the status of the magnetometer of the underlying device. JavaDoc
Notifications Used to schedule a native notification. JavaDoc
Orientation A service to determine the orientation of the device on platforms where this information is available (i.e. iOS and Android). JavaDoc
Phone Attempts to use the platform default dialer to make a phone call to the given phone number. JavaDoc
Runtime Argument The Runtime Arguments service enables external services (e.g. native notifications, custom url handlers, etc) to bring arguments into an application, regardless of whether it is running or not. JavaDoc
Settings The Setting service provides a simple way for storing, removing and retrieving key-value pairs of strings. JavaDoc
Status Bar Service allowing for access to the status bar on platforms where such a feature exists (i.e. iOS and Android). JavaDoc
Storage Service to provide access to the storage facilities offered by the native platform. JavaDoc
Vibration Interface for accessing the vibration functionality present on most mobile devices. This allows for alerting the user to events when sound is inappropriate or unavailable. JavaDoc