cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Neveu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-9720) CameraCaptureTask.Show() Always Returns Canceled on Windows 10 Mobile build 10536
Date Tue, 29 Sep 2015 20:49:04 GMT
Alan Neveu created CB-9720:
------------------------------

             Summary: CameraCaptureTask.Show() Always Returns Canceled on Windows 10 Mobile
build 10536
                 Key: CB-9720
                 URL: https://issues.apache.org/jira/browse/CB-9720
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Camera, Windows
    Affects Versions: 3.5.0
         Environment: Windows 10 Mobile pre-release build 10536
            Reporter: Alan Neveu


I have been using Windows 10 Mobile and things were working great with pre-release versions
prior to 10536. But with build 10536 we find this bad behavior. The issue definitely seems
to be due to a bug in Microsoft's code, not in PhoneGap/Cordova. Here is the repro:

- Write some code that calls getPicture in javascript
- Set a breakpoint in Camera.cs, line 247, in the public void onTaskCompleted callback
- Run the code while attached to a Windows 10 Mobile device running 10536
- When the camera appears on the phone take a photo and tap on the checkmark icon, which is
supposed to mean "Use" or "accept" as opposed to "retake"
- When the breakpoint hits, check out the value of e.TaskResult and notice that it is set
to Canceled. Also check out other properties such as e.OriginalFileName and find that they
are not set and are empty strings or null values.



--
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


Mime
View raw message