Source code from BlackBerry Development Fundamentals (book)