Either way RIM gives us a couple of code samples showing how to recognize a BlackBerry device using the environment variables in a few coding languages. (berryreview.com)
Please include code sample or link to your work. (treehugger.com)
Coming from a heavy development background I was used to having either code samples available or a very clear explanation of a technology's inner workings. (elearningindustry.com)