You are previewing Beginning Blackberry 7 Development.
O'Reilly logo
Beginning Blackberry 7 Development

Book Description

Are you interested in creating BlackBerry apps using the latest BlackBerry 7 and BlackBerry Java Plug-in for Eclipse? Then this is the book for you. Beginning BlackBerry 7 Development offers a hands-on approach to learning how to build and deploy sophisticated BlackBerry apps using the latest tools and techniques available.

Assuming only some programming background in Java or a similar language, this book starts with the basics, offering step-by-step tutorials that take you through downloading and installing the BlackBerry development environment, creating your first apps, and exploring the BlackBerry APIs. You'll be introduced to the latest features available in the latest BlackBerry 7 using BlackBerry Java Plug-in for Eclipse, including BlackBerry Application Platform Services, techniques for using multimedia with the BlackBerry, and tools for increasing app performance.

To round out the complete development process, you'll also discover the different ways you can package and distribute your apps, from deploying apps on your own website to listing your apps for sale in the BlackBerry App World.

Table of Contents

  1. Title
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Authors
  6. About the Technical Reviewer
  7. Acknowledgments
  8. Chapter 1: Setting the Stage
    1. What This Book Is
    2. What You Need to Know Before You Can Begin
    3. Setting Up Your Development Environment
    4. What’s Different About Developing for BlackBerry
    5. What’s in This Book
    6. Summary
  9. Chapter 2: Hello World
    1. Creating an Application with the BlackBerry JDE Plug-In for Eclipse
    2. Polishing the Application
    3. Seeing It All in Action
    4. Summary
  10. Chapter 3: What Makes a BlackBerry Application?
    1. Javadocs
    2. The BlackBerry Application Life Cycle
    3. Threading and the Event Thread
    4. Running Background Applications
    5. Understanding the Types of Projects
    6. Summary
  11. Chapter 4: User Interface Basics
    1. The UI Fun Application
    2. The Components of a BlackBerry UI
    3. Handling User Interaction
    4. Creating Menus
    5. Displaying Images
    6. Summary
  12. Chapter 5: Beyond the Basics of User Interfaces
    1. Enhancing the UI Fun Application
    2. Working with Fonts
    3. Drawing to the Screen Using the Graphics Context
    4. Creating Custom Fields
    5. Creating Custom Managers
    6. Creating a Custom Screen
    7. Adding the Final Touches
    8. Working with Touch Screen Models
    9. Creating Basic Animation
    10. Summary
  13. Chapter 6: Storing and Searching Data
    1. Storing Data on the BlackBerry
    2. Choices for Persistence
    3. BlackBerry Persistent Store
    4. The FileConnection API
    5. Writing to the File System
    6. Using SQLite
    7. Integrating Your App with Unified Search
    8. Summary
  14. Chapter 7: Hello Out There! Making a Network-Enabled Application
    1. Different Ways to Connect
    2. Service Book
    3. The MIDP Connection Framework
    4. The Networking Application
    5. Connection Method: Using Direct TCP/IP Instead of BES/MDS
    6. Determining Network Availability
    7. TCP Socket Connections
    8. Summary
  15. Chapter 8: Where Am I? Using Location-Based Services
    1. GPS Support on BlackBerry Devices
    2. Getting Location Information
    3. Getting Location Information Using JSR 179 APIs and the BlackBerry Extensions to JSR 179
    4. The Location Application
    5. Using Geocoding and Reverse Geocoding
    6. Using BlackBerry Maps
    7. Summary
  16. Chapter 9: Getting Your App Out There: Packaging and Publishing
    1. Setting Application Properties
    2. Over-the-Air Installation
    3. Desktop Installation
    4. BlackBerry App World
    5. Other Application Stores
    6. Summary
  17. Chapter 10: Next Steps
    1. Keeping Current
    2. Farewell
  18. Index