incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-510) loadUrlIntoView on DroidGap needs refactoring
Date Tue, 08 May 2012 21:27:48 GMT

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

Joe Bowser updated CB-510:
--------------------------

    Issue Type: Improvement  (was: Sub-task)
        Parent:     (was: CB-190)
    
> loadUrlIntoView on DroidGap needs refactoring
> ---------------------------------------------
>
>                 Key: CB-510
>                 URL: https://issues.apache.org/jira/browse/CB-510
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>    Affects Versions: Master
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Minor
>              Labels: CordovaWebView
>             Fix For: 1.8.0
>
>
> For some reason, this shows an error saying that it must be run on the UI thread
> webViewClient.onReceivedError(me.appView, -6, "The connection to the server was unsuccessful.",
url);
> This leads to ugly code which has us run something on the UI thread, then spawn another
thread, and on that thread, run another runnable on the first thread.  I think that this will
break, and this needs to be refactored.  However, it's currently not breaking any functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message