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

ASF GitHub Bot commented on CB-10460:
-------------------------------------

GitHub user jcesarmobile opened a pull request:

    https://github.com/apache/cordova-plugin-camera/pull/194

    CB-10460 getRealPath return null in some cases

    Now there is only a function to get the real path on API 11 and above.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jcesarmobile/cordova-plugin-camera 
CB-10460-android-camera

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-camera/pull/194.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #194
    
----
commit fb94a5ef81bc6ee12e0a4c31bcbdd78703530cf3
Author: Julio César <jcesarmob...@gmail.com>
Date:   2016-03-11T15:19:27Z

    CB-10460 getRealPath return null in some cases
    
    Now there is only a function to get the real path on API 11 and above.

----


> 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
>            Assignee: jcesarmobile
>              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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to