J2ME & Blackberries

This page contains information about developing Java Microedition (J2ME) applications for the various models of Blackberry devices.

The Version of the JDK To Use

JDE Version to Use By Blackberry Phone Model

JDE Version to Use By Blackberry Phone Model

Research In Motion (RIM) maintains several versions of their own Blackberry Java Development Environment (check it out).  It’s not always safe, apparently, to assume you can use the latest version.  On a recent webcast I discovered that you should use the version of the JDK that corresponds with your phone.  Here’s a screenshot of a graphic I captured while watching a RIM presentation on what JDK to use.

Working With Signed MIDlets

More cases than not MIDlets needs to be signed, and there is a lot of useful information available to get certificates issued and sign the MIDlets.  There are, however, some things you’ll run into that aren’t readily covered in the documentation or online.

Here’s one …

How to Reset the Signtool Password Used on Your PC

Here’s the situation: the Blackberry signing tool complains that your password isn’t correct, and so you can’t sign your .cod files.  Well, if you know you’re the person who is supposed to actually sign the .cod files and you have your certificate from Research In Motion, then one option you have is to reset the password that the signing tool uses.  I posted a solution on the Blackberry forum at this location, but since I had an error in the original posting, I’m putting a corrected version here.

How to reset your Blackberry signtool key and regenerate sigtool.set, sigtool.db, and sigtool.csk

sigtool.set, sigtool.db, and sigtool.csk are three files generated by the Blackberry signing tool when you register your .csl files that you get from Blackberry technical support.

If for some reason you loose the local passkey on your machine and you need to generate a new one, you can do it by:

  1. Backup (e.g. move to a different directory) the local keystore database files sigtool.set, sigtool.db, and sigtool.csk in the JDE directory. On Windows the directory is

    C:\Program Files\Research In Motion\BlackBerry JDE 4.5.0\bin
    
  2. Click on the .csi  file that you received via e-mail.
  3. The signing tool will start and prompt you for your pin number and a new local password.
  4. Click on the remaining certificates you received in your e-mail to register those certificates as well.
Advertisements

4 thoughts on “J2ME & Blackberries

  1. Hello!
    I found this blog while I was researching some stuff over on the blackberry forums,

    Just wanted to leave you a comment and say thanks for sharing 🙂

    I was also wondering if you could start a small “how to” section for some of us “newbie” mobile coders.

    I have been coding for years but just am getting into mobile ,

    I look forward to your posts and I would love to learn some more stuff

    ~Joe

  2. Pingback: Today’s Update: 3 SEP 2008 « Richard Schilling’s Professional Weblog

And now it's your turn ... comment here or on Twitter (@Androider)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s