Skip to main content

skip to main content

developerWorks  >  Open source  >

Create BlackBerry applications with open source tools, Part 3: Building a social-networking application

developerWorks
Go to the previous pagePage 4 of 9 Go to the next page

Document options
PDF format - Fits A4 and Letter

PDF - Fits A4 and Letter
334 KB (25 pages)

Get Adobe® Reader®

Sample code


My developerWorks needs you!

Connect to your technical community


Rate this tutorial

Help us improve this content


Next steps

Before wrapping up, here are a few additional notes.

Application signing

Some of the programming interfaces used in the sample application require that the application be signed in order for it to run on a real BlackBerry device. For more information on how to sign an application, please see Part 1 of this series.



Back to top


Error handling

Error handling is omitted from this tutorial for the sake of brevity and clarity. Of course, any production-ready code should have a healthy dose of error handling and instructions for the user in the event that something goes awry.



Back to top


Multiple recipients

The sample application lets you share your event with only one friend. As a straightforward enhancement, you could add multiple recipients to the e-mail invitation by repeatedly calling the contactList.choose() method until a null response is returned. For each valid contact received from the choose method invocation, add the contact to a vector. Then, for each contact entry, add an individual address, which is then added to the message. Presto! Multiple invites for one event.



Back to top



Go to the previous pagePage 4 of 9 Go to the next page