0%

Book Description

Learn how to leverage the BlackBerry 10 Cascades framework to create rich native applications. Learn BlackBerry 10 App Development gives you a solid foundation for creating BlackBerry 10 apps efficiently. Along the way, you will learn how to use QML and JavaScript for designing your app's UI, and C++/Qt for the application logic. No prior knowledge of C++ is assumed and the book covers the fundamental aspects of the language for writing BlackBerry 10 apps. Also a particular emphasis is put on how to create a visually enticing user experience with the Cascades framework, which is based on Qt and QML.

Starting with the native SDK configuration and an overview of the Momentics IDE, the book is fast-paced and you will rapidly learn many of the best practices and techniques required for developing beautiful BlackBerry 10 apps.

Learn BlackBerry 10 App Development is written for developers wishing to learn how to write apps for the new BlackBerry 10 OS and those interested in porting existing iOS and Android apps to BlackBerry 10 as native applications.

What you'll learn

  • How to design and create native BB10 applications using the declarative expressiveness of QML

  • How to master the Cascades framework and the core BB10 UI components

  • How to use C++ and Qt efficiently with Cascades

  • How to utilize the BlackBerry Momentics IDE to launch and debug your applications

  • How to apply the fundamental aspects and best practices of BB10 application design

  • How to use HTTP networking in order to leverage remote services

  • How to integrate your application with BlackBerry 10 core apps such as the Contacts and Calendar apps

  • How to send email and short text messages from your app

  • How to use your device's camera and sensors such as the accelerometer and gyroscope

  • Who this book is for

    BlackBerry developers wishing to write native BB10 applications, game developers. iOS and Android developers wishing to port their apps to BB 10.

    Table of Contents

    1. Title Page
    2. About ApressOpen
    3. Dedication
    4. Contents at a Glance
    5. Contents
    6. About the Author
    7. About the Technical Reviewers
    8. Acknowledgments
    9. Introduction
    10. Chapter 1: Getting Started
      1. Cascades Programming Model
      2. Native SDK Setup
      3. API Levels
      4. QNX System Information Perspective
      5. Summary
    11. Chapter 2: QML and JavaScript
      1. Syntax Basics
      2. XMLHttpRequest Example
      3. SCalc, the Small Calculator
      4. Summary
    12. Chapter 3: C++, Qt, and Cascades
      1. C++ OOP 101
      2. Qt Object Model
      3. Exposing C++ Objects to QML
      4. Model-View-Controller
      5. QThread
      6. Summary
    13. Chapter 4: Controls
      1. Control
      2. Containers and Layouts
      3. Text Controls
      4. Button
      5. Slider
      6. ImageView
      7. Selection Controls
      8. Pickers
      9. CheckBox and ToggleButton
      10. ScrollView
      11. System Dialogs, Prompts, and Toasts
    14. Chapter 5: Application Structure
      1. Application Templates
      2. Defining the Application Structure
      3. Summary
    15. Chapter 6: ListView and DataModel
      1. List Views
      2. Data Models
      3. Summary
    16. Chapter 7: HTTP Networking
      1. Qt Networking Classes
      2. HTTP Networking Examples
      3. Weather2
      4. Summary
    17. Chapter 8: Personal Information Management APIs
      1. Personal Information Management
      2. PIM APIs
      3. Summary
    18. Chapter 9: Sensors
      1. Sensor Types
      2. Sensors in C++
      3. Sensors in QML
      4. Sensors Coordinate System
      5. Accelerometer and Gyroscope
      6. Summary
    19. Chapter 10: Invocation Framework
      1. Invoking Core Applications
      2. Invocable Applications
      3. Summary
    20. Appendix: Device File system
      1. File system structure
    21. Index