file_paths.xml Example File

 <?xml version="1.0" encoding="utf-8"?>

     this maps a file URI to a content URI:
     mapped to:
     only the content: URI can be used by external apps like the camera (when targetSdkVersion >= 24)

     there are different types of paths that can be mapped:

     - nativeUtils.displayCameraPicker() stores the taken picture to the external Pictures directory
         - for this, the first entry is necessary.

     - add the paths you want to use with nativeUtils.openUrl() below:
         - <files-path ...> for FileUtils.DesktopLocation and others
         - <cache-path ...> for FileUtils.CacheLocation and others
         - <external-path ...> for most other FileUtils locations
         - the others are only necessary when using a custom URL

     <external-files-path name="images" path="Pictures"/>

     <cache-path name="cache" path="."/>

     <files-path name="files" path="."/>


Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support