Codename One vs PhoneGap

 

Here I am at the moment of decision. I’ve just come out from a one week hack for a mobile SMS app here using blackberry webworks.

Learnt a whole lot within one week of developing that app. Memory issues, device view <> simulator view, and a very good number of phone reboots not just from updating the app after each test but device crashing due to out of memory operations.

So today, I was passing by a friend and noticed he was getting LWUIT configured on computer. Now, I’ve been looking to do something more fun than just a Blackberry app, so I asked why he was going with LWUIT instead of the more recent Codename One. His answer was quite uncertain and I would keep from saying the real reason he whispered.

But then I said to myself, I’m going to try out Codename One and see how this goes. Remember I leave in the most populous African country and the mobile device market is dominated by devices with support for Java, as opposed to just blackberry, iOS, or Android (these guys are still picking up and have a long road to walk).

 

Advertisements

This Could be Better Than Jquery Mobile For Blackberry Webworks App Development

So after my memory and performance woes with Jquery mobile on BB5 phones, I humbly decided to find a lightweight alternative CSS framework.

It happens that most of these frameworks come integrated with Javascript and the performance issues stem from the transitions and CSS 3 selectors.

Recently, I stumbled on iUI which was built for the iOS devices. Eager to test it out on the BB5 device, I loaded one of the sample pages on my device and then I realised it wasn’t even loading.

Back to Google, I found this thread about how to support BB5 using iUI. If there was a similar thread for Jquery Mobile I just might never have realised there was iUI.

We do support Blackberry OS6, 7 & Playbook (aka coming BB X), since they have a webkit based browser. Since OS6 doesn’ have hardware acceleration, it is a bit slow to perform transitions btw…

We might have to clarify that.

if you want to support OS5, you have to:

– replace the querySelector part

– forget about all css3 definitions / styles

– use JS transitions (aka slide1, you’ll understand when you’ll get to this point)

– test on the device

– submit your working solution to a clone on Git so we can integrate that to iUI 🙂

i honnestly wish you good luck! if you have some JS skills, then it might not be too long/complicated. if not, contact any JS freelancer, shouldn’t be more than 2 days’ job.

in Google Groups.