preload
Mar 02

Recently I had some connection issues with Blackberry Java apps and started investigating how to solve this in a good manner. Blackberry have a special way of handling different network and transport types and this needs to be handled by your app.

To begin with I just created a HttpConnection with the plain URL. While doing so you leave it up to the Blackberry device to try to use its’ default connection. This will work in some situations, but quite often you will see that some Blackberry devices will fail creating the HttpConnection. The solution I describe in this post will check for available network/transport types and add some properties to the URL depending on these. Typically Blackberry will use parameters like deviceside=true etc.

Since Blackberry and connectivity is not my strongest expertise I started the investigation by posting a question to the Blackberry Java Development forum. To begin with I believed this was a problem with Blackberry OS 7 but I later found that it was a more general problem. The forum at Blackberry really blew me away. In matter of minutes I got very detailed and competent answers to my question. I send my regards and a big thank you to the helpful persons at the Blackberry developer forum.

You can view the post with my question at the forum: Connecting to network (HttpConnection) with BB OS 7 devices

Continue reading »

Tagged with:
Subscribe to my feeds Follow me on Twitter
DZone MVB