Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Member
Posts: 1
Registered: ‎11-08-2012
My Device: bold 9780
My Carrier: Movistar

html5 offline web blackberry cache manifest problem

Hi everybody,

 

I'm actually working on html5 webapp that should work with html5 and offline (using manifest file), but I have several errors when I try to store the manifest files in cache using the applicationCache object defined in html5

 

According to developers blackberry page:

https://developer.blackberry.com/html5/api/ApplicationCache.html

 

Warning (BlackBerry 6.0 Notice):

Support for Application Cache on BlackBerry Smartphones starts with 6.0.0.418

 

Now, I'm using the following device:

Smartphone BlackBerry 97800 6.0 Bundle 2949 (v6.0.0.668, Platform 6.6.0.236)

 

Then, I belive the software of my blackberry is higher than recomendation specificationts.

 

In my javascript code, the only error I can see is throwed for the following method:

 

window.applicationCache.addEventListener('error', function(event) {

                for (x in event)
                  {
                  txt = txt + x + " = " + event[x] + ", ";
                      if (typeof(x) == 'object') {
                        for (r in x){
                            object += r + "= " + x[r];
                        }
                    }
                  }

}

 

 

After several hours triing to understand the error, I cann't get any conclusions of the error.

 

The event error says something similar: interrump stop Propagation.

 

My hipotesis are two:

- My device doesn't support html5 and cache objects?

- The focus of the problem is in the manifest file (Blackberry doesn't know how to interpretate it?)

 

Any comment will be welcome for me.

 

Thanks & Regards.