# ferroui_android

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-android/

**module** · [`ferroui-android`](/docs/0.5.0/api/ferroui-android/) · v0.5.0

```rust
module ferroui_android
```

The Android platform.

An application is a shared library that the application class of the
Java layer of this crate loads (`java/org/ferroui/android`). There are
no windows: content is shown by a [`FerroView`](/docs/0.5.0/api/ferroui-android/struct-ferroview/) in an activity
(`FerroActivity`; the main activity shows the main view of the
`ApplicationLifetime`). The system drives everything: the dispatcher
is the main looper, rendering follows the choreographer on a render
thread, and the surface of the view is drawn through EGL or into the
buffer of its native window.

`interop` is the only place that crosses to Java and to the NDK. The
parts that call the system exist on Android only; on another system the
crate is the logic of the backend, which its tests run there. The design
is in `docs/porting/android-platform.md`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Android/FerroUI.Android/lib.rs#L1)

## Contents

- [`AndroidPlatformOptions`](/docs/0.5.0/api/ferroui-android/struct-androidplatformoptions/) — struct
- [`AndroidRenderingMode`](/docs/0.5.0/api/ferroui-android/enum-androidrenderingmode/) — enum
- [`FerroView`](/docs/0.5.0/api/ferroui-android/struct-ferroview/) — struct

## Availability

Extracted for `aarch64-linux-android`, `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
