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

Andrew Grieve commented on CB-1879:
-----------------------------------

I didn't test this out, but according to the docs, this should only break on 
4.2 devices if the app was compiled to target API level 17 (JB-MR1). No 
existing apps should be broken.

Did you say you found a compile error when trying to add @JavascriptInterface 
to the methods? I did so in this branch:

https://github.com/agrieve/incubator-cordova-android/commit/144d986de97592a92e162c389fb071449c737f7d

And it compiled & ran fine on my 4.2 Galaxy Nexus.
                
> DeviceReady event not firing on Nexus 7 4.2 emulator on a PC
> ------------------------------------------------------------
>
>                 Key: CB-1879
>                 URL: https://issues.apache.org/jira/browse/CB-1879
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>            Reporter: Simon MacDonald
>            Assignee: Joe Bowser
>
> I created an application with the create.bat on windows and compiled it with 
> ADT and the latest SDK.
> It launches and displays the cordova display but it doesnt fire the 
> deviceready event as it keeps saying "connecting to device". The same applies 
> for the emulator. It works when I change the OS to 4.0 for the emulator 
> though.
> I think this is just an emulator problem but I'm waiting to hear back from 
> someone with a real device.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to