cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10460) getRealPathFromURI_API11to18() return null
Date Fri, 11 Mar 2016 11:43:42 GMT

    [ https://issues.apache.org/jira/browse/CB-10460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190826#comment-15190826
] 

jcesarmobile commented on CB-10460:
-----------------------------------

I can reproduce it now with the sample project. I think it's because I didn't have the correctOrientation:
true line.

I have a fix for it, will send the PR this afternoon, but will require help testing it as
my change will remove the whole getRealPathFromURI_API11to18() and use the getRealPathFromURI_API19
instead with a minor change.

> getRealPathFromURI_API11to18() return null
> ------------------------------------------
>
>                 Key: CB-10460
>                 URL: https://issues.apache.org/jira/browse/CB-10460
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.0.0, 2.1.0
>         Environment: Android 4.0.3
>            Reporter: Satoshi Watanabe
>              Labels: android, reproduced, triaged
>
> getRealPathFromURI_API11to18() return null.
> CursorLoader in getRealPathFromURI_API11to18() throw following exception:
>  java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
> so this method return null.
> I think call Looper.prepare() before creating CursorLoader.
> I am in need.
> I will request fixing it.



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