You can retrieve information about file storages, including listing available storages and receiving storage change notifications, using the Filesystem API.
For information on how to access and manage the files in the storages, see Managing File Operations.
Prerequisites
To use the Filesystem API, the application has to request permission by adding the following privileges to the "config.xml" file:
To receive notifications on storage state changes, for example, additions and removals, register an event handler with the addStorageStateChangeListener() method within the onload attribute:
We use cookies to improve your experience on our website and to show you relevant
advertising. Manage you settings for our cookies below.
Essential Cookies
These cookies are essential as they enable you to move around the website. This
category cannot be disabled.
Company
Domain
Samsung Electronics
developer.samsung.com, .samsung.com
Analytical/Performance Cookies
These cookies collect information about how you use our website. for example which
pages you visit most often. All information these cookies collect is used to improve
how the website works.
Company
Domain
Samsung Electronics
.samsung.com
Functionality Cookies
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and
tailor the website to provide enhanced features and content for you.
Company
Domain
Samsung Electronics
developer.samsung.com, google.account.samsung.com
Preferences Submitted
You have successfully updated your cookie preferences.