08-25-2008 05:12 PM
Sorry to trouble, just wonder what techniques people use for debugging JS on BB browsers? It looks like support for JS in browsers < 4.6 is rather rudimental, and there are basically no tools for debugging other than alert statements (which are buggy on their own - I've seen two alerts shown one after another failing ).
So out of curiosity, are everybody struggling with that, or it's just me ? If anyone knows a better way for developing JS for BB, can they kindly post a link or share the experience?
Thanks in advance.
08-26-2008 03:04 AM
Yes, you are correct, I found it hard to work with js and the BB. I have been using alerts to debug the js code, but I have found sometimes the alerts cause problems, especially when creating pages ad hoc using document.write.
I usually test the js in a validator tool then just use alerts to view the parameters etc.
I would love to hear of some better ideas for using js with the BB browser.
08-26-2008 08:39 AM
Thanks very much for your post. I guess corporate world just doesn't like Web 2.0 mobile interfaces too much, all those flashy dynamic things are so consumer-centric . Out of curiosity, I looked at what other platform provide, and there are some tools out there:
Would be very nice if BB browser becomes a little bit more developer friendly.
08-29-2008 11:17 AM
The upcoming BlackBerry Developer Conference will contain an extensive Web Development track that will be of interest to you. These sessions that will contain a lot of new information about web tooling and building next generation web applications. You can find the session catalog here (but note that the session list isn't complete, we are still adding sessions). We are anticipating that the majority of the browser session will be concentrating on the 4.6 browser.
08-29-2008 03:08 PM
Thanks for the info.
I did a quick survey at our company and everyone is running 4.2 on their phones and are not interested in upgrading them under any circumstances.
I have been struggling with debugging on the blackberry also, but was persevering until I found that the element.createTextNode() call had a bug in it. I have not been able to find a workaround and this is stopping deployment of our application.
Can you confirm:
That this is a bug in the browser
That it has been fixed in 4.3
If so what is the procedure to request a patch be released to fix the problem in 4.2?
09-02-2008 01:16 PM
I have been unable to determine if the function you mentioned has been addressed but I'll outline the upgrade process.
If you want to upgrade your v4.2 devices then you will need to get them to upgrade to v4.5 as this is the next OS version that is supported on all devices. Other versions are usually specific to a particular device model (such as 4.3). We do not release patches for existing OS versions.