al_android_get_activity - Man Page
Allegro 5 API
Synopsis
#include <allegro5/allegro_android.h> jobject al_android_get_activity(void)
Description
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.
Info
Allegro reference manual