anbox-platform-sdk
1.23.0
Anbox Platform SDK API documentation
|
This document explains how to get started with Anbox Platform SDK. The first section has general background on Anbox Platform plugin, while the next section details how to build a Anbox Platform plugin (including compiling, building and testing on your system), and finally goes over how to deploy a plugin with the Anbox Cloud Platform.
Anbox is a container-based solution that runs a full Android system on a regular GNU/Linux system. While Anbox does not have direct access to any hardware resources, it provides an abstraction layer instead (also known as a "platform") which implements a programming interface between Android and the operating system for low level access to audio, keyboard, mouse, touch panel, gamepad and graphics hardware via OpenGL. Some platforms are implemented in Anbox itself, such as sdl, null, and external.
Each platform must provide an implementation for the window system management, input event handling, audio data processing as well as OpenGL ES/EGL drivers loading. On Ubuntu, the SDK uses the sdl (https://www.libsdl.org/) platform for graphics display and audio playback. The external platform is primarily used for custom plugin integration. This SDK enables development of a custom platform plugin that extends the Anbox external platform with the following features:
A walk-through of the high-level API, including functions and data structures.
How to implement an Anbox platform plugin.
A collection of sample platform plugins that demonstrate features in the SDK plugin.
Package and deploy a platform plugin
Packaging a platform plugin and delpoying it to Anbox.