Titanium.Filesystem.resourcesDirectory

Property of Titanium.Filesystem.
Platform Since
Android 0.1
iPhone 0.1
iPad 0.1
Permission: read-only

Summary

Path to the application's resource directory.

Type

String

Description

This directory is read-only. If you need to modify any files in this directory, they must first be copied to another directory, such as
applicationDataDirectory or tempDirectory.

On iOS, writable files can also be placed in the applicationSupportDirectory. On Android, writable files can also be placed in the externalStorageDirectory.

Note that when running on the simulator, the resources directory may be writable, but it is not writable on device.