I use IDEA to develop BlackBerry. I think that mainly because I have been using it for so many years, I am not ready to switch to Eclipse yet. :)
As you already mentioned, it serves only as an editor - any compilation, simulations, downloading to devices, etc. still need to be done from the command line (I use ant tasks to compile and download to devices and JDE to compile and run in simulators).
For IDEA, use the following project settings:
- regular java project (not J2ME)
- for the JDK project, select "No JDK"
- for language level select "1.3"
- create a library pointing to the net_rim_api.jar file.
- add this library as a dependency for your project
- If you use resources in your projects (.rrc and .rrh files), you need to add the JAR file that JDE generates into your IDEA library.
That should do it. Since there is no JDK defined for the project, you donβt have to worry about IDEA allowing you to use classes like HashMap that are not in the RIM API, but it will still have classes like String in net_rim_api. jar.
source share