[
https://issues.apache.org/jira/browse/CB-10664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15793684#comment-15793684
]
Joseph Landau commented on CB-10664:
------------------------------------
Android users are often encouraged to have their Camera app store photos on an
inserted SD card, in order to save internal storage space. In this case there
will be parallel structures (e.g., .../DCIM/Camera/ ) on the two storage
systems (internal and portable), usually with photos in each. But apparently
there is no way to address the extermal or portable one of these from a Cordova
app.
> Add an Android cordova.file.<variable> like externalDataDirectory to allow
> writing directly to SDCARD
> -----------------------------------------------------------------------------------------------------
>
> Key: CB-10664
> URL: https://issues.apache.org/jira/browse/CB-10664
> Project: Apache Cordova
> Issue Type: New Feature
> Components: Plugin File
> Environment: Android
> Reporter: Fabrizio Bottino
> Labels: android
>
> Using a device with "large" internal memory you can't write explicitly to
> sdcard: every write is emulated to internal memory, even using
> cordova.file.externalDataDirectory.
> Example: I have two identical tablets, one with sdcard and one without.
> When I write to cordova.file.externalDataDirectory they both write to
> file:///storage/emulated/0/Android/data/<app-id>/files/ when I expect one of
> them to write to sdcard.
> Can we add a new variable to write explicitly to SDCARD if it's present, even
> when device manufacturer has configured part of the internal storage to act
> as "external" ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]