[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to