BlackBerry Software Programming 101
Monday, November 26th, 2007With the recent launch of the hot-selling BlackBerry Pearl, RIM (Research In Motion) has gained a toehold into the extremely competitive consumer smartphone market. If you’ve been ignoring the BlackBerry platform because it was too Enterprise-focused for your applications, it might be time to specifically target the BlackBerry. Here’s how you get started.
It’s Java Time
BlackBerry development for all recent models is done exclusively in Java. So if you’re not a strong Java programmer, now’s the time to brush up on your Java programming skills. (C# programmers will find the transition to Java fairly simple, the languages are very close in most respects.) Don’t learn about the newest Java features, however, because the BlackBerry platform is built on top of Java Micro Edition (Java ME), which is itself a derivative of Java version 1.3. So forget all the fancy (but useful) language features introduced in Java 1.5 — generics, enumerations, and so on — you can’t use these in BlackBerry programming. You can’t also use most of the library classes you’re familiar with — they’re just not there. A small subset of the Java Standard Edition (Java SE) classes are supported, as well as a number of BlackBerry-specific classes.
Java Micro Edition?
(more…)