A quick and easy method to read an InputStream to a byte array is available in the IOUtilities class of the BlackBerry API. I didn’t check if this is available pre 4.6 or not, but it does exist in 4.6
To read an InputStream directly to a byte array you can do something like this:
1
2
3
FileConnector fconn [...]
I started releasing commercial applications on BlackBerry App World and yesterday was the first time I used the Dynamic Licensing model. I devised a quick solution for working with Dynamic Licensing based on Google App Engine and this post shows how this can be achieved and also includes sample source code for other developers in [...]
While writing an application for the BlackBerry, I wanted to emulate the layout of the Phone Log. Typically, this looks like a set of rows laid out in a two-column or multi-column format. Since there was no available field to achieve this, I had to write my own. The way I did it was to [...]