cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5677) Forces Internal Storage in File plugin
Date Thu, 20 Feb 2014 16:13:20 GMT

    [ https://issues.apache.org/jira/browse/CB-5677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907127#comment-13907127
] 

Ian Clelland commented on CB-5677:
----------------------------------

You can also use the newly-published {{file-system-roots}} plugin available in the {{cordova-plugins}}
repository for this.

It allows you to request file systems for specific locations, like

{code}
var internalStorage = cordova.filesystem.getFilesystemRoot("files", successCallback, errorCallback);
var externalStorage = cordova.filesystem.getFilesystemRoot("sdcard", successCallback, errorCallback);
{code}

> Forces Internal Storage in File plugin
> --------------------------------------
>
>                 Key: CB-5677
>                 URL: https://issues.apache.org/jira/browse/CB-5677
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android, Plugin File
>    Affects Versions: 3.2.0
>         Environment: Android device with emulated sdcard
>            Reporter: Jonathan Barette
>            Assignee: Ian Clelland
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Hi,
> We are using the File plugin to store files onto device storage. For the confidentiality,
these files cannot be visualized by the user outside of the application. We would like to
force to use INTERNAL storage but the "requestFileSystem" function returns still a path to
the EXTERNAL storage in the case where a media is mounted. Is it possible to improve the plugin
by supplying a new parameter in the "requestFileSystem" method specifying if we prefer to
use INTERNAL or EXTERNAL storage.
> Kind regards,
> Jonathan Barette



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message