Skip to Navigation | Skip to Content



Archive for January, 2010

Update on PhoneGap port to Qt for Symbian | January 15th, 2010

After getting distracted for a while from my port of PhoneGap to Qt for Symbian, I’ve recently jumped back on it, tightening it up a bit and adding some APIs. We now have Geolocation, Vibration, Acceleration, & Orientation working.

Now we already have a Symbian port of PhoneGap working and available, which uses Nokia’s Web Runtime (WRT) technology (which is native to Symbian OS). So why PhoneGap on Qt for Symbian? Well I briefly mentioned some of the limitations faced by using WRT in a previous post; I will touch on those again and expand:

  • It is a closed-source proprietary technology, so we cannot actively fix bugs, and we cannot add features (and we want PhoneGap to be open!),
  • Performance: when I ported a PhoneGap application developed and tested on the Palm Pre to PhoneGap Symbian WRT, I found that its javascript animation was completely lost. It would get from state A to state B, but the animation in between was non-existent. I originally assumed my phone simply could not handle the animation … until I tried it using PhoneGap Qt for Symbian. It worked.
  • Memory: I tried using prototype.js in one of my PhoneGap WRT applications … it would crash immediately upon opening the application simply from the volume of javascript being loaded. Which reminds of when I first started developing with Web Runtime, and my applications would intermittently crash. Initially I would be chasing down the line of code which was crashing the environment … until eventually it became clear that we were simply running out of memory. Wasted a fair bit of time looking for non-existent bugs.

Now PhoneGap Symbian for Qt is still young and perhaps as it grows, it will face the performance & memory issues mentioned above. But for now things are running much smoother.

So far my testing of PhoneGap Qt for Symbian has been limited to my little PhoneGap API demo app, so more testing is definitely on my plate. The platform uses Qt Webkit, which appears to be very modern and so far has worked very nicely for me. Flick-scrolling is not native to the Qt Webview, so I may have to try implementing that as well. But to summarize, PhoneGap Qt for Symbian is now available, though not yet API-complete. Clone it, Get Started, and let me know if you have questions, comments, or suggestions. Or contributions!

Posted in Uncategorized | 9 Comments » | Add to Delicious | Digg It


Search Posts

You are currently browsing the Ryan @ Nitobi weblog archives for January, 2010.

Archives

Categories