10-21-2010 05:22 PM
Has anyone tried jquery mobile alpha http://jquerymobile.com/ ?
I've been trying to make it work for blackberry widgets, but somehow it's not getting the functionalities I wanted. Has anyone else made it work?
10-22-2010 07:52 AM
We have been working with jQuery to help contribute and assist on the jQuery mobile project. At the moment the supported BlackBerry browser is BlackBerry 6. Adam Stanley (who is always on these forums) and myself were at the jQuery conference in Boston last weekend
They have started with the upper echelon webkit browsers first such as BB6, iPhone, Android, WebOS and then are working their way back to BB5.0 and other mobile browsers.
So far it works pretty good on the Torch. There are still issues in the framework as it is in alpha, and many improvements and optimizations are still to come.
11-16-2010 03:00 PM
I am using alpha 2 of jQueryMobile for BlackBerry Web Widget Development.
I am able to have the pages rendered, transitioned successfully in simulator (BB Torch) browser by access the page that exposed through a HTTP server.
However when I run the page as BB web app in the simulator, the page rendered without any styling
and I got some errors logged on my Eclipse console, can you give me some hints to address the error? I am using Eclipse with BB Web Plug-in ( v. 220.127.116.11009142140-15) and BB Widget SDK (v. 18.104.22.168009142140-18). Thanks!!
18:33:23.515 INFO Inside OlympiaWebKit main18:33:23.531 INFO Calling olympia_main lean <<<18:33:23.546 INFO Thread 0xd1744711 starting18:33:23.562 CRIT Log level set to 018:33:23.562 INFO Thread 0xd19b4711 starting18:33:23.578 CRIT Installing OOM handler...18:33:23.578 CRIT OOM handler installed18:33:23.796 CRIT Olympia:latform::File: error 2 calling open(/media/mmc/BlackBerry/system/appdata/rim/webs
11-16-2010 04:08 PM
When you package up your application into a WebWorks/Widget app, have you whitelisted the domain from which you are pulling in the jQuery mobile toolkit?
All external content has to be whitelisted by their domain origin.
11-16-2010 04:16 PM - edited 11-16-2010 04:26 PM
Thanks a lot!! I added http://code.jquery.com to the widget permission in the config.xml, it is working now. thanks!!
11-16-2010 04:53 PM
Also for "offline" usage of your application, you may want to consider packaging up the jQuery Mobile library as part of your application... That way you can ensure your app will run with its nice UI even if the user doesn't have a wireless connection
11-18-2010 12:40 AM - edited 11-18-2010 12:45 AM
Great Point. I had made the change as you suggested.
Since BB does not like dashes in the file name, I had to overwrite the image file references in the css.
Since my project needs to be done by the end of Jan 2011, I need to get JqueryMobile rendered properly in BB OS 5.0 as well. what's the best approach to debug the JS and CSS in the simulator. I have been depending on firebug and chrome's element inspection tool, how hard is it to do something similar to those for app running in the simulator or is there a BB browser I can build and use for testing/debugging?
I use Eclipse Helios with BB Web Plug-in 22.214.171.124009142140-15 and BB Widget SDK 126.96.36.199009142140-18
11-18-2010 09:03 AM
I know we have been looking at removing the restrictions for "-" and "_" in file names.. I'll check to see where we are with that change.