---
name: "al_android_set_apk_file_interface"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_android_set_apk_file_interface"
---

# al\_android\_set\_apk\_file\_interface(3)

Allegro 5 API

## NAME

al\_android\_set\_apk\_file\_interface - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_android.h>
  void al_android_set_apk_file_interface(void)
  ```

## DESCRIPTION

This function will set up a custom [ALLEGRO\_FILE\_INTERFACE(3)](/ALLEGRO_FILE_INTERFACE/3.md) that makes all future calls of [al\_fopen(3)](/al_fopen/3.md) read from the applicatons’s APK file.

*Note:* Currently, access to the APK file after calling this function is read only.

## SINCE

5\.1.2
