---
name: "al_get_native_file_dialog_path"
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_get_native_file_dialog_path/3alleg5"
---

# al\_get\_native\_file\_dialog\_path(3alleg5)

Allegro 5 API

## NAME

al\_get\_native\_file\_dialog\_path - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_native_dialog.h>
  const char *al_get_native_file_dialog_path(
     const ALLEGRO_FILECHOOSER *dialog, size_t i)
  ```

## DESCRIPTION

Returns one of the selected paths with index `i`. The index should range from `0` to the return value of al\_get\_native\_file\_dialog\_count(3alleg5) `-1`.

*Note:* On Android, this function returns a content:// Universal Resource Identifier instead of a file path due to the constraints of Scoped Storage. Selected files may be accessed using al\_android\_open\_fd(3alleg5).
