---
name: "al_android_set_apk_file_interface"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_android_set_apk_file_interface/3alleg5"
---

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

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(3alleg5) that makes all future calls of al\_fopen(3alleg5) 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
