[jira] [Commented] (CB-6345) No installed handlers for this URL when using 'resolveLocalFileSystemURL'

2014-04-03 Thread Ian Clelland (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13959099#comment-13959099
 ] 

Ian Clelland commented on CB-6345:
--

CB-6394 Also exposes the sdcard filesystem on Android, so camera file URLs 
should be resolvable regardless of where they are stored, once that is 
committed.

 No installed handlers for this URL when using 'resolveLocalFileSystemURL'
 -

 Key: CB-6345
 URL: https://issues.apache.org/jira/browse/CB-6345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin File
Affects Versions: 3.4.0
 Environment: Android 4.4.x, cordova-plugin-camera v 0.2.8, 
 cordova-plugin-file v 1.01
Reporter: David Pesce
Assignee: Ian Clelland

 After taking a picture, the imageURI that is returned cannot be handled by 
 window.resolveLocalFileSystemURL. 
 {code}
 function movePhoto(imageURI){
  console.log(Image URI:+ imageURI)
  window.resolveLocalFileSystemURL(imageURI, resolveOnSuccess, resOnError);
 }
 {code}
 console displays:
 file:///storage/sdcard/Android/data/com.openht.oht/cache/1395760800560.jpg
 resOnError is always called with an encoding error (5).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6345) No installed handlers for this URL when using 'resolveLocalFileSystemURL'

2014-03-27 Thread Ian Clelland (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13949246#comment-13949246
 ] 

Ian Clelland commented on CB-6345:
--

I think that this is the same fundamental issue as CB-6300: The Camera and File 
plugins have a different opinion of where the temporary files should live.

Previously, File would happily resolve files anywhere on the file system, but 
since v1.0.0, file systems are properly sandboxed from each other, and File 
will not resolve a file if it is not contained in a registered file system.

There are two ways to fix this: Either install the 
{{org.apache.cordova.file-system-roots}} plugin, which can grant access to the 
entire device filesystem, or install the development version of File, which 
will use the same location for temporary files as Camera (or wait for File 
1.0.2, which will include this change).

 No installed handlers for this URL when using 'resolveLocalFileSystemURL'
 -

 Key: CB-6345
 URL: https://issues.apache.org/jira/browse/CB-6345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin File
Affects Versions: 3.4.0
 Environment: Android 4.4.x, cordova-plugin-camera v 0.2.8, 
 cordova-plugin-file v 1.01
Reporter: David Pesce

 After taking a picture, the imageURI that is returned cannot be handled by 
 window.resolveLocalFileSystemURL. 
 {code}
 function movePhoto(imageURI){
  console.log(Image URI:+ imageURI)
  window.resolveLocalFileSystemURL(imageURI, resolveOnSuccess, resOnError);
 }
 {code}
 console displays:
 file:///storage/sdcard/Android/data/com.openht.oht/cache/1395760800560.jpg
 resOnError is always called with an encoding error (5).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6345) No installed handlers for this URL when using 'resolveLocalFileSystemURL'

2014-03-27 Thread Ian Clelland (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13949249#comment-13949249
 ] 

Ian Clelland commented on CB-6345:
--

[~davidpesce], btw, the fix for CB-6300 just landed in dev yesterday; if you're 
already running the dev branch of cordova-plugin-file, try updating and see if 
is fixed now.

 No installed handlers for this URL when using 'resolveLocalFileSystemURL'
 -

 Key: CB-6345
 URL: https://issues.apache.org/jira/browse/CB-6345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin File
Affects Versions: 3.4.0
 Environment: Android 4.4.x, cordova-plugin-camera v 0.2.8, 
 cordova-plugin-file v 1.01
Reporter: David Pesce

 After taking a picture, the imageURI that is returned cannot be handled by 
 window.resolveLocalFileSystemURL. 
 {code}
 function movePhoto(imageURI){
  console.log(Image URI:+ imageURI)
  window.resolveLocalFileSystemURL(imageURI, resolveOnSuccess, resOnError);
 }
 {code}
 console displays:
 file:///storage/sdcard/Android/data/com.openht.oht/cache/1395760800560.jpg
 resOnError is always called with an encoding error (5).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6345) No installed handlers for this URL when using 'resolveLocalFileSystemURL'

2014-03-25 Thread David Pesce (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13946712#comment-13946712
 ] 

David Pesce commented on CB-6345:
-

Also tried updating to #dev version of cordova-plugin-file due to the fix 
mentioned here, without success.

 No installed handlers for this URL when using 'resolveLocalFileSystemURL'
 -

 Key: CB-6345
 URL: https://issues.apache.org/jira/browse/CB-6345
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.4.0
 Environment: Android 4.4.x, cordova-plugin-camera v 0.2.8, 
 cordova-plugin-file v 1.01
Reporter: David Pesce

 After taking a picture, the imageURI that is returned cannot be handled by 
 window.resolveLocalFileSystemURL. 
 {code}
 function movePhoto(imageURI){
  console.log(Image URI:+ imageURI)
  window.resolveLocalFileSystemURL(imageURI, resolveOnSuccess, resOnError);
 }
 {code}
 console displays:
 file:///storage/sdcard/Android/data/com.openht.oht/cache/1395760800560.jpg
 resOnError is always called with an encoding error (5).



--
This message was sent by Atlassian JIRA
(v6.2#6252)