You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Simon MacDonald (JIRA)" <ji...@apache.org> on 2012/11/14 06:54:13 UTC

[jira] [Created] (CB-1845) WebSettings.setNavDump() has been removed from API 17

Simon MacDonald created CB-1845:
-----------------------------------

             Summary: WebSettings.setNavDump() has been removed from API 17
                 Key: CB-1845
                 URL: https://issues.apache.org/jira/browse/CB-1845
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 2.3.0
            Reporter: Simon MacDonald
            Assignee: Joe Bowser


We've known that WebSettings.setNavDump() has been deprecated for awhile now. In API level 17 (Android 4.2) the code has been removed so you cannot compile Cordova with API level 17. The class CordovaWebView will throw an error due to out call to setNavDump.

Not sure if we want to just out and out remove it, my preference, or use some funky reflection to see if the method is available then call it.

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

[jira] [Commented] (CB-1845) WebSettings.setNavDump() has been removed from API 17

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497215#comment-13497215 ] 

Joe Bowser commented on CB-1845:
--------------------------------

OK, how many people out there have an HTC Incredible, HTC Desire HD or some other HTC device that is on Android 2.3.x that has HTC Sense? I'm guessing it's still quite a lot based on the old pie chart of Android versions.  Given that the WebSettings.setNavDump() setting is literally there just for these people so they can have a hope in hell of debugging it, I'd lean towards reflection.
                
> WebSettings.setNavDump() has been removed from API 17
> -----------------------------------------------------
>
>                 Key: CB-1845
>                 URL: https://issues.apache.org/jira/browse/CB-1845
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.3.0
>            Reporter: Simon MacDonald
>            Assignee: Joe Bowser
>
> We've known that WebSettings.setNavDump() has been deprecated for awhile now. In API level 17 (Android 4.2) the code has been removed so you cannot compile Cordova with API level 17. The class CordovaWebView will throw an error due to out call to setNavDump.
> Not sure if we want to just out and out remove it, my preference, or use some funky reflection to see if the method is available then call it.

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

[jira] [Commented] (CB-1845) WebSettings.setNavDump() has been removed from API 17

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497334#comment-13497334 ] 

Joe Bowser commented on CB-1845:
--------------------------------

OK, I've added the reflection code, but I need to get access to the test device that has this issue (my old HTC Desire HD) to test this.  I'll close this once I get this tested again.
                
> WebSettings.setNavDump() has been removed from API 17
> -----------------------------------------------------
>
>                 Key: CB-1845
>                 URL: https://issues.apache.org/jira/browse/CB-1845
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.3.0
>            Reporter: Simon MacDonald
>            Assignee: Joe Bowser
>
> We've known that WebSettings.setNavDump() has been deprecated for awhile now. In API level 17 (Android 4.2) the code has been removed so you cannot compile Cordova with API level 17. The class CordovaWebView will throw an error due to out call to setNavDump.
> Not sure if we want to just out and out remove it, my preference, or use some funky reflection to see if the method is available then call it.

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

[jira] [Resolved] (CB-1845) WebSettings.setNavDump() has been removed from API 17

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-1845.
----------------------------

    Resolution: Fixed

Works on HTC Desire HD, Closing!
                
> WebSettings.setNavDump() has been removed from API 17
> -----------------------------------------------------
>
>                 Key: CB-1845
>                 URL: https://issues.apache.org/jira/browse/CB-1845
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.3.0
>            Reporter: Simon MacDonald
>            Assignee: Joe Bowser
>
> We've known that WebSettings.setNavDump() has been deprecated for awhile now. In API level 17 (Android 4.2) the code has been removed so you cannot compile Cordova with API level 17. The class CordovaWebView will throw an error due to out call to setNavDump.
> Not sure if we want to just out and out remove it, my preference, or use some funky reflection to see if the method is available then call it.

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