Monday, October 12, 2009

How to Get Started With BlackBerry Software Development

The success of newer BlackBerry models same the Pearl, Curve, Bold and Storm have allowed RIM (Research in Motion) to see the consumer smartphone mart and go head-to-head with the Apple iPhone as an covering platform. If you've been ignoring the BlackBerry papers because it was likewise Enterprise-focused for your applications, it strength be instance to specifically direct the BlackBerry. Here\'s how you intend started.

It's Java Time

BlackBerry utilization for every past models is finished exclusive in Java. So if you're not a brawny Java programmer, now\'s the instance to applier up on your Java planning skills. (C# programmers will encounter the transformation to Java evenhandedly simple, the languages are rattling near in most respects.) Don't see most the newest Java features, however, because the BlackBerry papers is shapely on crowning of Java Micro Edition (Java ME), which is itself a figuring of Java edition 1.3. So block every the flamboyant (but useful) tongue features introduced in Java 1.5 -- generics, enumerations, and so on -- you can\'t consume these in BlackBerry programming. You can\'t also consume most of the accumulation classes you\'re old with -- they\'re meet not there. A diminutive subset of the Java Standard Edition (Java SE) classes are supported, as substantially as a sort of BlackBerry-specific classes.


Java Micro Edition?

Once you\'ve soft up on your Java, you requirement to pay a taste of instance discernment the Java ME platform, which was erst famous as Java 2 Micro Edition, or J2ME for short. You requirement to see the concepts of configurations and profiles, and in portion the CLDC and MIDP standards. You\'ll encounter lots of aggregation most these in different books and on Sun\'s Java utilization site.

The BlackBerry Platform

After acquisition most Java ME, it\'s instance to explore the BlackBerry platform. The BlackBerry papers is supported on the CLDC and includes hold for MIDP 2.0. However, a super sort of BlackBerry-specific classes are also provided. Which brings you to the prototypal discourse you\'ll face: are you feat to indite a BlackBerry covering or a MIDP application? In a MIDP covering you\'re unnatural to exclusive consume the APIs unclothed by the CLDC and MIDP standards. Your covering will separate on the BlackBerry and on most cellphones, but it won\'t be healthy to consume whatever of the BlackBerry\'s primary features. You can consume whatever MIDP-compatible utilization tool, much as the Sun Java Wireless Toolkit for CLDC (formerly famous as the J2ME Wireless Toolkit), to create your applications.

Most covering developers opt to construct BlackBerry-specific applications. This measures acquisition the BlackBerry-specific APIs -- including newborn individual interface classes -- and using the BlackBerry Java Development Environment (JDE) to amend your applications. The JDE, which is liberated to download, entireness with the accepted Java Software Development Kit and provides you with every the tools needed to create, package, effort and debug BlackBerry applications. You don\'t modify requirement a BlackBerry handheld, because the JDE includes a full-featured BlackBerry figure simulator. A rank ordered of JavaDocs is provided that describes every the classes and interfaces acquirable to programmers.

After downloading and instalment the JDE, you\'ll desire to feature the developer\'s guides that become with the JDE and countenance at the distribution applications that are shipped with it. Then move your utilization by composition a whatever ultimate applications to intend a see for the BlackBerry APIs and the tools.

Get A BlackBerry Handheld

Although you can amend and effort your applications for free, at whatever saucer you\'ll requirement to separate the covering on an actualised BlackBerry handheld. This will outlay you money, of course, and so it\'s not something you\'ll desire to do until you\'re earnest most composition BlackBerry applications. On-device investigating is pivotal to ensuring that the covering entireness correctly, because the simulator is not a amend emulation system.

If you\'re genuinely earnest most BlackBerry covering development, study also connexion digit of the BlackBerry developer programs for added hold and primeval admittance to newborn devices and APIs. You should also explore RIM\'s added BlackBerry developer resources. There are also third-party forums and books acquirable to support you see the BlackBerry platform.

Conclusion

BlackBerry planning is not hornlike if you undergo whatever Java and you see the constraints and limitations of the inexplicit Java ME platform. You have to see a newborn ordered of APIs and consume newborn utilization tools, but in the modify it\'s meet added category of Java programming.