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

More Horrors With Blackberry Webworks Development

I just came out of a near 9 hour marathon of trying to figure out what exactly in the world was making my Phonegap ant build for Blackberry to throw a compile error with this message.

[exec] javac: invalid flag: Files\Java\jdk...
[exec] [ERROR] RAPC exception occurred

I wish there was a documentation that had stated you needed to run the scripts with an administrator account, else Java will not work with the Blackberry Webworks Packager.

This would have saved me these wasted hours that could have been used for more productive work.

In any case, I always do my best to take advantage of any situation and see the light in every explosion. So I learnt a few things during the whole torturing experience and I’m glad at least that is over.

The blackberry app now compiles successfully. 🙂