The success of more recent BlackBerry models like the Pearl, Curve, Bold and Storm have allowed RIM (Investigation in Motion) to penetrate the buyer smartphone market place and go head-to-head with the Apple Iphone as an application platform. If you’ve been ignoring the BlackBerry system for the reason that it was also Business-targeted for your programs, it could possibly be time to precisely concentrate on the BlackBerry. This is how you get started off.
It is really Java Time
BlackBerry improvement for all recent styles is completed solely in Java. So if you’re not a powerful Java programmer, now’s the time to brush up on your Java programming competencies. (C# programmers will find the changeover to Java reasonably easy, the languages are very shut in most respects.) Do not discover about the newest Java options, nonetheless, for the reason that the BlackBerry system is created on prime of Java Micro Edition (Java ME), which is alone a spinoff of Java model 1.3. So overlook all the extravagant (but useful) language capabilities released in Java 1.5 — generics, enumerations, and so on — you can’t use these in BlackBerry programming. You are unable to also use most of the library courses you are familiar with — they are just not there. A small subset of the Java Normal Version (Java SE) classes are supported, as effectively as a amount of BlackBerry-precise lessons.
Java Micro Edition?
When you’ve got brushed up on your Java, you need to shell out a bit of time understanding the Java ME system, which was formerly recognised as Java 2 Micro Version, or J2ME for shorter. You require to recognize the ideas of configurations and profiles, and in particular the CLDC and MIDP specifications. You are going to discover lots of information and facts about these in various books and on Sun’s Java development web site.
The BlackBerry System
After learning about Java ME, it can be time to check out the BlackBerry platform. The BlackBerry system is dependent on the CLDC and incorporates assistance for MIDP 2.. Even so, a substantial amount of BlackBerry-certain classes are also furnished. Which delivers you to the very first problem you are going to deal with: are you going to publish a BlackBerry application or a MIDP software? In a MIDP application you’re constrained to only use the APIs exposed by the CLDC and MIDP benchmarks. Your software will run on the BlackBerry and on most cellphones, but it will not be ready to use any of the BlackBerry’s unique capabilities. You can use any MIDP-suitable advancement device, this kind of as the Sunlight Java Wi-fi Toolkit for CLDC (formerly identified as the J2ME Wireless Toolkit), to produce your purposes.
Most application developers decide to create BlackBerry-precise purposes. This implies learning the BlackBerry-precise APIs — which include new user interface classes — and making use of the BlackBerry Java Progress Atmosphere (JDE) to create your programs. The JDE, which is free to down load, operates with the regular Java Software package Improvement Kit and offers you with all the equipment important to produce, offer, examination and debug BlackBerry purposes. You do not even want a BlackBerry handheld, since the JDE includes a complete-featured BlackBerry product simulator. A entire set of JavaDocs is provided that describes all the lessons and interfaces out there to programmers.
After downloading and putting in the JDE. You are going to want to read through the developer’s guides that come with the JDE. And seem at the sample programs that are transported with it. Then start your growth by producing a several uncomplicated programs. To get a experience for the BlackBerry APIs and the tools.
Get A BlackBerry Handheld
Even though you can produce and take a look at your apps for free. At some point you will will need to operate the application on an genuine BlackBerry handheld.
This will price tag you dollars, of program. And so it is really not something you may want to do till you happen. To be critical about producing BlackBerry purposes. On-product screening is important to making certain that the software works the right way. Due to the fact the simulator is not a best emulation technique.
If you happen to be certainly serious about BlackBerry application advancement. Take into account also signing up for one particular of the BlackBerry developer. Plans for extra help and early access to new units and APIs. You really should also investigate RIM’s other OS developer methods. There are also 3rd-celebration discussion boards and guides out there to support you understand the system.
BlackBerry programming is not really hard if you know some Java. And you recognize the constraints and restrictions of the fundamental Java ME platform. You have to learn a new established of APIs and use new growth resources. But in the conclusion it’s just a different sort of Java programming.