Integrating Nokia DevToolkit / UI w/ NetBeans 4.0

Hi All

I have tried to integrate the Nokia developer toolkit with nb4 but have been unsuccessful. I chose the integrate with SunOne studio option in the installer (as this is based on nb) and then chose my nb installation dir. the installer then copies some modules the to the ‘modules’ dir in netbeans 4 dir which i believe is not the correct place as they should be placed under …\netbeans 4.0\nb4\modules, The class path in the manifest.mf file in one of the jar files (modules) then needs to be edited (and repackaged) … Anyway I have done this but a text file where the modules are located says I need to add a couple of lines to the ide.policy file which i am unable to locate…

has anyone been successful in integrating this and could you please provide some insight?

I have been able to install Series 40 and Series 60 as platforms in the ide and added the relevant libraries but unable to use any of the NokiaUI apis. So if I wanted to integrate only the nokia UI api classes and libs, what do I need to download and how do I integrate with nb4? do i need to manually add class paths?

Thanks

If you install the Nokia SDK integrated into the WTK (ie, in wtklib/devices) then all you have to do in NetBeans is change the platform.bootclasspath and platform.device of the project.properties file (in nbproject).

shmoove

Thanks Shmoove. In case other people need this info things you need to download are the Nokia S60 SDK and Nokia S40 SDK. Install these, they will automatically ask you for the JDK install path and WTK install path. Once this is done, in NB 4.0 goto Tools and select the Platform Manager option. From there all you need to do is add a new platform for J2ME - i.e. literally select the dir where the SDK for the relevant series is installed. Everything else is done for you, of course you will have to change the default emulator, but once you type in something like import com.nokia.mid.ui.FullCanvas and dont get any errors, then you know you’re up and running. The Nokia emulators are nice… but will they actually be useful?! ;D

See more here:
http://blogs.sun.com/roller/page/lukas/?anchor=how_to_use_nokia_6310i