[ https://issues.apache.org/jira/browse/CB-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860429#comment-13860429 ]
ASF subversion and git services commented on CB-2442: ----------------------------------------------------- Commit 2437c40fe7b20f2a8ef0a927de256575656cd750 in branch refs/heads/master from [~purplecabbage] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=2437c40 ] CB-2442 CB-2419 Use Windows.Storage.ApplicationData.current.localFolder, instead of writing to app package. > On Windows 8 , camera.getPicture doesn't work in installed application > ---------------------------------------------------------------------- > > Key: CB-2442 > URL: https://issues.apache.org/jira/browse/CB-2442 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera, Plugin Media Capture, Windows 8 > Affects Versions: 2.4.0 > Reporter: Youval Bronicki > Assignee: Jesse MacFadyen > > After installing my application, the camera function stopped working. > It turns out the issue was "Illegal Access" when trying to save the picture > to the application's root folder. > I was able to fix the problem by writing to the local storage folder instead: > *Original Code:* > {quote} > Windows.Storage.StorageFolder.getFolderFromPathAsync(packageId.path).done(function > (storageFolder) { > /* Some code here */ > }); > {quote} > *Correction:* > {quote} > var storageFolder = Windows.Storage.ApplicationData.current.localFolder; > /* Same code here */ > {quote} -- This message was sent by Atlassian JIRA (v6.1.5#6160)