You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (Updated) (JIRA)" <ji...@apache.org> on 2011/10/29 01:19:32 UTC

[jira] [Updated] (CB-12) Error loading assets/www/index.html on extra large Callback Projects

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

Joe Bowser updated CB-12:
-------------------------

    Description: 
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.


  was:
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 PhoneGap, but we currently can't style this error.  Alternatively, we could somehow catch the error and call loadUrl again once index.html exists.


    
> 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