incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pamela Fox (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12) Error loading assets/www/index.html on extra large Callback Projects
Date Sat, 07 Jan 2012 01:33:39 GMT

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

Pamela Fox commented on CB-12:
------------------------------

In case it's of use to other people who find this post, I believe my long loading time was
due to sending off an XMLHttpRequest before deviceready. (Discussed further in this forum
post: https://groups.google.com/group/phonegap/browse_thread/thread/1abf2d47fb6216b6/d6fc7d7455badd70?#d6fc7d7455badd70)

I don't think I've received the timeout since fixing that.
                
> Error loading assets/www/index.html on extra large Callback Projects
> --------------------------------------------------------------------
>
>                 Key: CB-12
>                 URL: https://issues.apache.org/jira/browse/CB-12
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.1.0
>         Environment: All Android
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Critical
>
> Steps to reproduce:
> 1. Create a large Callback Android project
> 2. Run Large Android Project
> Expected: App should load
> What Happens: Application shows error saying it can't load index.html
> This is caused by relying on assets that need to be unzipped to be accessed.  We may
want to do the unzipping into the application's jail before we access loadUrl to get around
this bottleneck.  This will happen only on the first load of Callback, but we currently can't
style this error.  Alternatively, we could somehow catch the error and call loadUrl again
once index.html exists.

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