SendioMobile Customer Manual
This section walks through how to set- up a development environment for editing the SendioMobile source using NetBeans. Although this section assume no set- up has been done on the client machine, it does assume that there is a working copy of the NetBeans project in an accessible subversion repository. See the section of this document on creating a NetBeans project from scratch for information on how to configure project files to work with RIM’s API and emulators.
Prerequisite Applications
Before setting up the development environment, you will need to have the following programs installed:
- NetBeans 6.x with the Mobility plug- in
- Subversion binaries
- plink.exe (available as part of the puTTY installation)
- BlackBerry JDE 4.2.1
- RIM MDS simulator
You also need to make sure that both plink.exe and the subversion client are in your windows Path variable. The subversion installer will probably do this for you, plink.exe you will need to add yourself.
Plink.exe
Before you can use ssh+svn you need to add your svn server’s fingerprint to plink’s cache. To do this, open up a windows command prompt and type the following: plink.exe - l username - pw password serveraddress Replace username, password, and serveraddress with the appropriate values. You will be prompted to add the fingerprint to your cache; choose ‘yes’.
NetBeans
Start NetBeans. Go to Tools>Java Platforms and click the Add Platform… button. Select Custom Java ME MIDP Platform Emulator and press Next . For the Platform Home field, browse to the installation directory of the BlackBerry JDE (probably in C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1) and select this directory. Type RIM for the platform name, and BlackBerry for the device name. Press Next . Remove all the listed libraries except net_rim_api.jar and press Next . Optionally add the BlackBerry JDE 4.2.1\docs\api folder as a Javadoc on the following screen and press Finish.
Get pdf SendioMobile Customer Manual