You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Raymond Camden (JIRA)" <ji...@apache.org> on 2015/01/13 16:03:35 UTC
[jira] [Commented] (CB-6935) [Android][cordova-plugin-file]
window.resolveLocalFileSystemURL can't resolve
cordova.file.applicationDirectory URL
[ https://issues.apache.org/jira/browse/CB-6935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275309#comment-14275309 ]
Raymond Camden commented on CB-6935:
------------------------------------
I see no change in this from June - any plans? (And yes, I suppose I could fix it too, but I don't know Java well enough. ;)
> [Android][cordova-plugin-file] window.resolveLocalFileSystemURL can't resolve cordova.file.applicationDirectory URL
> -------------------------------------------------------------------------------------------------------------------
>
> Key: CB-6935
> URL: https://issues.apache.org/jira/browse/CB-6935
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin File
> Affects Versions: 1.2.0
> Environment: - Samsung I-9100 Intl (Cyanogenmod 10.2, android 4.3.1)
> - Samgsung GT-P5110 (Cyanogenmod 11, android 4.4.2)
> Reporter: Mestre Muten
> Labels: easyfix, patch
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> As of version 1.2.0 of this plugin, some special directory paths were added under cordova.file.*Directory.
> All of them seem to work, but "applicationDirectory" on Android platform doesn't.
> This special directory equals "file:///android_asset/".
> It calls fail callback with error code = 1 (NOT_FOUND_ERR).
> For a simple test just call this on deviceready:
> window.resolveLocalFileSystemURL(cordova.file.applicationDirectory, function(dirEntry){console.log('SUCCESS');},function(error){console.log('ERROR: '+JSON.stringify(error));});
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org