January 2010
20 posts
Happy New Year
Happy New Year!!!
I am not sure what my new year’s resolution will be for 2010 though…
December 2009
7 posts
Real test post
A real test post from my deployed secret app ;)
Test post title
Test post body from a secret app ;)
Input Stream to Byte Arrary
At some point while developing a BlackBerry application you will need to convert a stream of bytes to a byte array. While doing some reading, I have come across a handy built-in function to handle this:
byte[] net.rim.device.api.io.IOUtilities.streamToBytes(inputStream);
PayPal horror story →
Another option would be to not rely on just one payment provider. Implement PayPal, Google Checkout, and Amazon Payments and give your customers a choice.
BlackBerry Event Log
To access the BlackBerry event log, from the home screen, press and hold down the left ALT key while typing LGLG. This key sequence will bring up the event log as shown below.
However, the default settings do not lend themselves to easily debugging a single application. We need to change some of the options by clicking the menu button and selecting options as seen below.
Once in the...