A unit converter is something handy to have on your PDA or smartphone. However, I couldn’t find any free, useful unit converter for the Blackberry smartphone; all I managed to find were J2ME generic converters that don’t blend in with the Blackberry’s user interface and are in general a pain to use.

Thus, here is BerryUnitConverter; it is, indeed, a Blackberry Unit Converter. All it does is convert between different units of measurement. It’s written specifically for the Blackberry so it won’t work on generic J2ME phones; if you need a converter for your J2ME phone, I suggest Abiro Unit Converter. Also, it requires a Java-based model. I’ve actually only tested it on Pearl (81xx) and Curve (8300) models.

BerryUnitConverter is free software, released under the GNU GPLv2.. Source code is available a bit further down the page (under “source code”). You will probably need the Blackberry JDE in order to successfully build from source code.

BerryUnitConverter-screencap.png

History

BerryUnitConverter 1.0

  • Initial release

BerryUnitConverter 1.1.1

  • Add “swap” menu option to quickly swap origin and destination units. Did you ask to convert feet to meters when you meant the opposite? swap will do just that.
  • Add film industry-related conversions.

BerryUnitConverter 1.2

  • Added torque and speed conversions.

BerryUnitConverter 1.2.1

  • Fixed bug with conversions for ounces and stones.

Units

BerryUnitConverter 1.2.1 knows about the following units:

  • Torque
    • Newton-meters
    • foot-pounds
    • inch-pounds
    • Kilogram-meters
  • Speed
    • Miles per hour
    • Kilometers per hour
    • Miles per second
    • Kilometers per second
    • Meters per second
  • Weight
    • Kilogram
    • Carat
    • Gram
    • Miligram
    • Pound
    • Stone
    • Ounce
    • Arroba
    • Quinta
  • Temperature
    • Fahrenheit
    • Celsius
    • Kelvin
  • Length
    • Kilometer
    • Meter
    • Mile
    • Inch
    • Centimeter
    • League
    • Rod
    • Yard
    • Foot
    • Hand
  • Volume
    • Liter
    • Cubic meter
    • milliliter
    • Gallon
    • Quart
    • Pint
    • Fluid Ounce
    • bushel
    • Fluid Arroba
  • Area
  • Pressure
  • Power
  • Film industry (enabling you to see how many feet of film a 50-second clip would take, or see how many frames will fit in a meter of film)
    • Feet (of film)
    • Frames
    • Meters (of film obviously)
    • seconds

Installing

Point your Blackberry browser to this link (goes to http://www.tomechangosubanana.com/berryunitconverter_files/BerryUnitConverter.jad) and it should install over the air (OTA).

Source code

Source code for the latest release is available ( berryunitconverter-1.2.1.tar.gz - 8kb tarball). This includes the project files as well as the icon and all necessary java source files for compilation.

Our git repository is also available for you to clone (http://tomechangosubanana.com/berryunitconverter.git). I welcome patches for improvements, changes and new unit definitions. To fetch a copy of the repository just install git and do:

git clone http://tomechangosubanana.com/berryunitconverter.git

To do

Things I’d like to do with the app include:

  • Swap origin and destination units with a single click/menu option.
  • Remember the last performed conversion
  • Modify my conversion model to support time conversion and base conversion (currently I can only convert units which can be represented linearly).
  • Implement a help function (if only I could find a reference for Blackberry help APIs).
  • Implement non-decimal conversions for instance to convert to days, hours, minutes and seconds; or meters to feet and inches, useful to convert people’s height.
  • Implement film industry units: convert between feet, frames, and minutes/seconds (this last one depends on non-decimal conversions).

Contact me

Bug reports, feature suggestions and contributions, and requests for additional units are welcome. Email me at roadmr@entropia.com.mx. or contact me through this form.