BlackBerry Developer Newsletter - April 2009
Featured Story

Without a doubt, one of the most complex aspects of writing your own BlackBerry® application is how your application will connect to the network. Network complexity is a function of both the wireless networks and the various different transports available to the developer. With this newsletter, we are going to provide you with everything you need to know about how and when to connect to the wireless network.

Connecting to the Network
There are three main resources for understanding networking on BlackBerry smartphones and how to effectively manage network resources within your application. First, you will want to review the Network Transports video which outlines how you can add networking on your BlackBerry smartphone including an outline of the different network paths available on your smartphone.

Second, you will want to download and review the Network Diagnostic Tool which provides you with complete source code for how to establish a network connection. The Network Diagnostic Tool also provides you with an application that will determine the available networking connections on the smartphone which can be incredibly helpful in diagnosing customer support issues centered on networking.

Third, you will want to check out the knowledge base for general information on issues and items surrounding network connectivity on BlackBerry smartphones to ensure that you are aware of common problems and issues to reduce any impact on your overall development schedule.

Wi-Fi®
One of the most common questions around networking is how to ensure that Wi-Fi is used whenever available. There are two answers:
  1. If your application uses the BlackBerry® Internet Service BIS-B or BlackBerry® Mobile Data Systems (BlackBerry MDS) transports, you will automatically use Wi-Fi when it is available on the device such that your application does not need to make any changes to perform least cost routing of data traffic.
  2. If your application uses DirectTCP, WAP2 or WAP1 you will need to detect the availability of Wi-Fi using the WLANConnectionListener interface to then intentionally redirect traffic over the Wi-Fi channel using the ";interface=wifi" parameters.
When to use the wireless network
There are a variety of general rules around how to leverage the wireless network but the best advice is to use the network only when necessary ensuring that data being sent over the network will provide value to the user. Attempt to perform as much networking activity in the background to reduce any wait time for the user and improve the perceived "immediacy" of the data itself. Wireless networks have a much higher amount of latency than wired networks so attempting to reduce the perception of latency within your application will add a tremendous amount of value.


Video of the Month

Video of the Month In this must-see tutorial for developers building applications requiring network access, you will learn about the different network transports available to applications on BlackBerry smartphones.

Events



WES 2009: Engage. Inform. Empower.
May 5-7 in Orlando, FL
www.attendwes.com

You have three more days to save US $200 off your registration fee for WES 2009 - the Special Rate offer expires April 10! Plus, find out how you can get 3 WES passes for the price of 2 - register now for WES 2009 .

Browse through the Mobilizing Enterprise Applications track in our Online Session Catalog to learn all about how building and deploying BlackBerry® smartphone applications can solve problems more easily than you imagined. Case studies, best practices, the latest BlackBerry developer tools, and tips & tricks from Research In Motion (RIM) expert developers will all be available to you at WES 2009. Here is just a glimpse of what relevant topics will be tackled:
  • Get the most out of technology by learning how you can push the BlackBerry solution to its limit in session WE02 - The BlackBerry Application Platform Today and Tomorrow
  • Get information on next-generation developer tools and what features to expect in session WE03 - The BlackBerry Application Platform Roadmap Discussion
  • Get Hands-on with the BlackBerry Java® Development Tools in session WE14
With numerous breakout sessions, a buzzing Solutions Showcase, ample networking opportunities and more, you won't want to miss WES 2009!

Register Now for WES 2009.

2009 BlackBerry Developer Conference
November 9-11, 2009 in San Francisco, California

The BlackBerry® Developer Conference is a one-of-a-kind opportunity for any developer - from seasoned experts to newcomers and people exploring new technologies. Developers, architects, industry technical experts, Research In Motion (RIM) insiders, and key partners will come together at this dedicated forum to explore creating consumer and business applications for the BlackBerry Platform.

Save the date for the second annual BlackBerry Developer Conference: November 9-11 in San Francisco, California!

Featured Video
Top 5 Developer Knowledge Base Articles

1. What Is - Network Diagnostic Tool

2. What Is - Different ways to make an HTTP or socket connection

3. What Is - Maximum number of simultaneous connections

4. How To - Close connections

5. How To - Determine when to route data

There are many different useful resources available to help all address your development needs:

BlackBerry Development Community - Discussion forums for the various development tools to give you the opportunity to interact with fellow BlackBerry Developers: Click Here

Also, check out the wide range of Developer Knowledge Base articles, written by in-house subject matter experts. These just might help you when you run into your next problem: Click Here

Last but not least, you can also get in touch with the Application Development Support team by emailing: devsupport@rim.com



In This Issue
Featured Story
Video of the Month
Events
Support and Troubleshooting
BlackBerry App World
BlackBerry App World is here!

BlackBerry App World™ is now open to all subscribers. Download BlackBerry App World to see your application in the storefront.

Remember, we are continuing to accept application submissions, so here is your chance. Send in your brilliant ideas and be part of this exciting opportunity!

Learn more about the BlackBerry App World application submission process here , or view answers to your most frequently asked questions.
Stumped? Click Here
Hot Links:

BlackBerry App World™ Developer Forum

Plazmic CDK 4.7

Creating a Web Signal Registration Application for the BlackBerry App World™

New Developer Videos

BlackBerry® Java® Development Environment 4.7.0 Gold

BlackBerry® Storm™ smartphone Simulator

BlackBerry® Bold™ smartphone Simulator

More than just email. Find out what you can do with your BlackBerry smartphone!
Top Kudoed Authors

peter_strange 110
BB Developer 80
Simon_hain 76
Deepesh 57
RexDou 44
view all

Questions? Comments? Suggestions?

Share them with us.
Newsletterfeedback@rim.com
If you have technical questions, please send them to devsupport@rim.com
BlackBerry

Click here to unsubscribe from the developer newsletter.

©2009 Research In Motion Limited. All rights reserved. BlackBerry®, RIM®, Research In Motion®, SureType® and related trademarks, names and logos are the property of Research In Motion Limited and are registered and/or used in the U.S. and countries around the world.

Research In Motion - 295 Phillip St. - Waterloo, ON - Canada - N2L 3W8