al_android_get_activity(3)

al_android_get_activity3

Allegro 5 api

Usage

#include <allegro5/allegro_android.h>
jobject al_android_get_activity(void)

Overview

Returns the Java Android activity used by Allegro. This is the same object created by Android from the class you specify in your manifest and either an instance of AllegroActivity or a derived class.

Since

5.2.2

[Unstable API]: This API is new and subject to refinement.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.