You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2018/03/20 18:17:00 UTC
[jira] [Resolved] (CB-9446) Samsung device returns null from Cursor
in Camera getRealPath
[ https://issues.apache.org/jira/browse/CB-9446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser resolved CB-9446.
----------------------------
Resolution: Cannot Reproduce
Using the FileProvider appears to have resolved these GetRealPath errors, closing.
> Samsung device returns null from Cursor in Camera getRealPath
> -------------------------------------------------------------
>
> Key: CB-9446
> URL: https://issues.apache.org/jira/browse/CB-9446
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-camera
> Affects Versions: 1.2.1
> Environment: Samsung 4.1.2 GT-N8010
> Reporter: Charles Verge
> Priority: Major
> Labels: Android, samsung
> Fix For: 1.2.1
>
> Attachments: realpath.diff
>
>
> Using a Samsung Galaxy Note GT-N8010 with android 4.1.2 produces an exception in the Exif class. This is due to a filePath being null on line 66 of src/android/ExifHelper.java
> {code} new ExifInterface(filePath){code}
> This error has been introduced when the switch was made to using Cursors. This error did not happen in with the camera plugin bundled with Phone Gap 3.4.
> This has been duplicated by other developers independently
> http://stackoverflow.com/questions/30616846/phonegap-app-crash-when-take-a-new-photo-with-camera-plugin
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org