[ 
https://issues.apache.org/jira/browse/CB-10242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

gao updated CB-10242:
---------------------
    Description: 
the camera plugin  throw a exception "Can't create handler inside thread that 
has not called Looper.prepare()" at  the method

FileHelper.getRealPathFromURI_API11to18 

CursorLoader cursorLoader = new CursorLoader(context, contentUri, proj, null, 
null, null);

so must add  "Looper.prepare()"  before  
"processResultFromGallery(finalDestType, i)","Looper.loop()" after  to fiexed 
this bug;

  was:
the camera plugin  throw a exception "Can't create handler inside thread that 
has not called Looper.prepare()" at 

FileHelper.getRealPathFromURI_API11to18 

CursorLoader cursorLoader = new CursorLoader(context, contentUri, proj, null, 
null, null);



> FileHelper.getRealPathFromURI_API11to18 throw a exception
> ---------------------------------------------------------
>
>                 Key: CB-10242
>                 URL: https://issues.apache.org/jira/browse/CB-10242
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.0.0
>         Environment: android 4.2.2
>            Reporter: gao
>
> the camera plugin  throw a exception "Can't create handler inside thread that 
> has not called Looper.prepare()" at  the method
> FileHelper.getRealPathFromURI_API11to18 
> CursorLoader cursorLoader = new CursorLoader(context, contentUri, proj, null, 
> null, null);
> so must add  "Looper.prepare()"  before  
> "processResultFromGallery(finalDestType, i)","Looper.loop()" after  to fiexed 
> this bug;



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