// archives

BlackBerry

This category contains 26 posts

InputStream to ByteArray on a BlackBerry

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 [...]

RIM says “Would you like a password hint?”

It would appear that RIM is planning to provide end-users with a mechanism to remember their passwords.  According to patent application 20090307498, RIM proposes to allow a user to store his password with unique version data to help him remember it later.  As per the patent application, the version data will be in the form [...]

App World Dynamic Licensing HOWTO

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 [...]