BlackBerry Java Application Development Beginner''''s Guide pdf

368 680 1
BlackBerry Java Application Development Beginner''''s Guide pdf

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... Introducing BlackBerry Application Development Two different approaches to application development Download from Wow! eBook If you've visited the BlackBerry Developer website you may have noticed that there are two recommended approaches to developing applications for BlackBerry handhelds Java Application Development and BlackBerry Web Development This book is focused on the Java Application. .. approach—the BlackBerry Java Development Environment (JDE) and the BlackBerry JDE Component Plug-in for Eclipse Both offer the ability to create full custom applications The BlackBerry JDE is a custom application written in Java that can be used to develop applications The latter leverages the Eclipse Integrated Development Environment (IDE), which is a common platform for Java developers ‹‹ BlackBerry Web Development. .. MIDP 1.0 BlackBerry 5810 BlackBerry 5820 CLDC 1.0 3.3 BlackBerry 6200 series BlackBerry 6500 series BlackBerry 6700 series PIM API 3.6 Mail API 3.7 Color support BlackBerry 7200 series BlackBerry 7700 series MIDP 2.0 CLDC 1.1 BlackBerry 7100 BlackBerry 7290 4.0 Invoke 4.0.2 JSR-179 (Location-based services) BlackBerry 7510 BlackBerry 7520 [ 11 ] Introducing BlackBerry Application Development Device released... Introducing BlackBerry Application Development gets you started by talking about the capabilities of a BlackBerry smartphone and what kind of things can be done with these capabilities with a custom application It talks about the other tools which are available and why writing native Java applications by using the BlackBerry SDK is the most powerful and practical approach to developing applications... Accessibility API BlackBerry Curve 8900 BlackBerry Bold Touch Screen BlackBerry Storm 4.7 Accelerometer BlackBerry Storm 2 BlackBerry Bold 9700 Widgets API 5.0 MIDP 2.1 What you can expect This book is structured to take you from beginning to end in terms of application development and touch on all the most important topics along the way You will learn about each aspect of application development from... fertile market for your application, or maybe your company has long ago standardized on BlackBerry handhelds and you want to leverage that existing investment Either way, you will learn how to tap into that potential and create custom applications for BlackBerry handhelds by using the object-oriented development experience you already have Introducing BlackBerry Application Development In this chapter,... completely within the BlackBerry Browser application and can use various standards such as HTML and AJAX Applications created using the BlackBerry Web Development approach are similar to more common web applications and generally require network connectivity to work More powerful features, including native API calls, aren't allowed natively but can be made using BlackBerry Widgets BlackBerry Widgets is... smart BlackBerry applications in Java It expects the readers to know Java but not Java Mobile or the BlackBerry APIs This book will cover UI programming, data storage, programming network, and Internet API apps As we move on, you will learn more about the BlackBerry s device features, such as messaging, GPS, multimedia, contacts and calendar, and so on This book also helps you build your own applications... Device released SDK version Features supported 4.1 Smart Card APIs BlackBerry 8700 BlackBerry 7130 BlackBerry 7100i Multimedia Focus BlackBerry Pearl 4.2 JSR-75 (File APIs) BlackBerry 8800 series 4.2.1 JSR-82 (Bluetooth) JSR-172 (Web services) BlackBerry Pearl 8110 JSR-205 (Multimedia SMS) BlackBerry Pearl 8120 JSR-211 (Content Handler API) BlackBerry Pearl 8130 JSR-238 (Internationalization) 4.3 Map Field... Application Development approach, which is the more versatile of the two, but the other can be very useful in the right situation ‹‹ Java Application Development approach: This is the most powerful approach and it creates applications written in Java that are loaded onto and executed on a BlackBerry handheld They will be the focus of this book and are one of the most common ways to deploy an application . class="bi x0 y0 w0 h0" alt="" BlackBerry Java Application Development Beginner's Guide Build and deploy powerful, useful, and professional Java mobile applicaons for BlackBerry smartphones,. such as the Professional BlackBerry (Wrox), Mobile PC Guide to BlackBerry (Que), the BlackBerry For Dummies series (Wiley), four BlackBerry Cercaon Program self-study guides, the Civics Canada. BIRMINGHAM - MUMBAI Do wnload from Wow! eBook <www.wowebook.com> BlackBerry Java Application Development Beginner's Guide Copyright © 2010 Packt Publishing All rights reserved. No part

Ngày đăng: 29/03/2014, 06:20

Từ khóa liên quan

Mục lục

  • Cover

  • Copyright

  • Credits

  • About the Author

  • Acknowledgement

  • About the Reviewers

  • Table of Contents

  • Preface

  • Chapter 1: Introducing BlackBerry Application Development

    • Expectations of this book

    • General device capabilities

    • Two different approaches to application development

    • Choosing an SDK version

    • What you can expect

    • Summary

  • Chapter 2: Installing the Development Environment

    • System requirements

    • Development Environments

      • Downloading and installing Java

    • Time for action – downloading the Java Development Kit

    • Time for action – installing the Java Development Kit (JDK)

    • Introducing the BlackBerry Developer Zone

      • Downloading and installing Eclipse

    • Time for action – downloading Eclipse with the JDE plugin

    • Time for action – installing the JDE plugin for Eclipse Full

    • installer

      • Installing other JDE component package versions

    • Time for action – installing other JDE component packages over-

    • the-air

    • Summary

  • Chapter 3: Getting Familiar with the Development Environment

    • Starting the Eclipse IDE

    • Time for action – launching Eclipse for the first time

    • Importing the hello world project

    • Time for action – importing the HelloWorldDemo sample

    • application

    • Running the application

    • Time for action – running an application in the simulator

    • Debugging the application

    • Time for action – starting the debugger

    • Introducing Eclipse perspectives

    • Time for action – changing the perspective

      • Getting some help!

    • Time for action – displaying the Help

    • Summary

  • Chapter 4: Creating your First BlackBerry Project

    • Choosing the SDK version

      • Creating a new project

    • Time for action – creating a new project

      • Adding a package to the new project

    • Time for action – creating a new project

    • Start at the beginning

      • Application and UiApplication

    • Time for action – adding the UiApplication class

      • A closer look at the code

    • Time for action – expanding TipCalcApplication

      • MainScreen

    • Time for action – adding a MainScreen

      • Determining your screen requirements

    • Time for action – expanding the TIpCalcMainScreen

    • Time for action – adding more to the MainScreen

      • Adding a menu to the application

    • Time for action – adding a menu to the MainScreen

      • Setting the SDK version

    • Time for action – selecting the right component package

      • Testing it out

    • Time for action – running your new application

    • Giving TipCalc some polish

      • Adding an icon to TipCalc

    • Time for action – adding an icon

    • Time for action – changing the application title

      • Fixing the Bill Amount field

    • Time for action – fixing the bill amount field

      • Disabling the save prompt

    • Time for action – disabling the "save"dialog

    • Summary

  • Chapter 5: Learning the Basics About the UI

    • Getting to know other Field classes

    • SeparatorField

    • Time for action – creating a SeparatorField

    • LabelField

    • Time for action – creating a LabelField

    • BitmapField

    • Time for action – creating a BitmapField

    • ChoiceField

      • ObjectChoiceField

    • Time for action – creating an ObjectChoiceField

      • NumericChoiceField

    • Time for action – creating a NumericChoiceField

    • GaugeField

    • Time for action – creating a GaugeField

    • DateField

    • Time for action – creating a DateField

    • CheckboxField

    • Time for action – creating a CheckboxField

    • RadioButtonField

    • Time for action – creating a RadioButtonField

    • TextField

      • BasicEditField

    • Time for action – creating a BasicEditField

      • EditField

    • Time for action – creating an EditField

      • PasswordEditField

    • Time for action – creating a PasswordEditField

      • EmailAddressEditField

    • Time for action – creating an EmailAddressField

      • AutoTextEditField

    • Time for action – creating an AutoTextEditField

      • ActiveAutoTextEditField

    • Time for action – creating an ActiveAutoTextEditField

      • RichTextField

    • Time for action – creating a RichTextField

      • ActiveRichTextField

    • Time for action – creating an ActiveRichTextField

    • Summary

  • Chapter 6: Going Deeper into the UI

    • ButtonField

    • Time for action – creating a ButtonField

      • ListField

    • Time for action – creating a ListField

    • TreeField

    • Time for action – creating a TreeField

    • MapField

    • Time for action – creating a MapField

    • Displaying another screen

    • Time for action – creating an "About Screen"

    • Displaying a dialog

    • Time for action – collecting information with a common dialog

    • Time for action – collecting information with custom buttons

    • on a dialog

    • Time for action – collecting information with a list on a dialog

    • Listeners and callbacks

    • Layout managers

      • Special considerations for touchscreens

      • TouchEvents and TouchGestures

    • Summary

  • Chapter 7: Storing Data

    • Laying the ground work

    • Creating a data class

    • The Java way: RMS

    • Time for action – creating and opening a RecordStore

    • Time for action – adding a record

    • Time for action – retrieving records

    • Time for action – deleting records

    • The BlackBerry way: Persistent Store

    • PersistentStore and PersistentObject

    • Time for action – preparing the JournalEntry class

    • Time for action – getting a PersistentObject

    • Time for action – accessing the PersistentObject data

    • Time for action – accessing the PersistentObject data

    • Accessing removable storage

      • Connector and FileConnection

    • Time for action – storing data to a file

    • Time for action – reading data from a file

    • Summary

  • Chapter 8: Interfacing with Applications

    • Introducing PIM

      • Why is all so generic?

        • PIMLists

        • PIMItems

    • Laying the ground work

    • Time for action – creating test contacts

    • Expanding your test contacts

    • Time for action – adding telephone numbers

    • Expanding even more

    • Time for action – adding e-mail addresses

    • Finishing the test contacts

    • Time for action – adding e-mail addresses

    • Embedding the address book into your application

    • Time for action – embedding the address book

    • Adding the event to your calendar

    • Time for action – adding an event to the calendar

    • Recurring events

    • Sending e-mail

    • Time for action – sending an e-mail from an application

    • Summary

  • Chapter 9: Networking

    • Threading

    • Connector class

    • HTTP basics

      • HTTP GET requests

    • Time for action ‑ HTTP Basics

      • HTTP POST requests

    • Time for action – calling a web service

    • Time for action – parsing the response

    • The transport—so many possibilities

      • Direct TCP/IP

      • MDS/BES

      • BIS-B

      • Wi-Fi

      • WAP

        • WAP 1.X

      • WAP 2.0

    • Debugging with the MDS simulator

    • Testing for availability of transports

    • Time for action – testing for availability

    • Moving beyond HTTP connections

    • Summary

  • Chapter 10: Advanced Topics

    • Introducing the Global Positioning System

      • The LocationProvider class

        • Criteria

        • Three ways to get GPS data

        • Bringing it all together

      • Getting coordinates

    • Time for action – acquiring a location

      • Expanding Hansel

    • Time for action – expanding Hansel

    • Alternate entry points

      • Creating a focus icon

    • Time for action – creating an alternate entry point project

    • Time for action – adding a focus icon to Hansel

    • Summary

  • Chapter 11: Wrapping It All Up

    • Using resources for localization

    • Time for action – adding a resource file

    • Resource bundles

    • Time for action – adding a second resource file

    • Time for action – populating a resource file and configuring

    • the project

    • Time for action – using a resource in your code

    • Code signing your application

    • Time for action – configuring projects to allow access

    • Time for action – installing the code-signing keys

    • Time for action – code-signing the application

    • Distributing your application through BlackBerry App World

      • Licensing models

      • Submitting an application

    • Summary

  • Pop Quiz Answers

    • Chapter 2

    • Chapter 3

    • Chapter 4

      • Pop Quiz 1

      • Pop Quiz 2

      • Pop Quiz 3

    • Chapter 5

      • Pop Quiz 1

      • Pop Quiz 2

      • Pop Quiz 3

      • Pop Quiz 4

      • Pop Quiz 5

    • Chapter 6

      • Pop Quiz 1

      • Pop Quiz 2

      • Pop Quiz 3

    • Chapter 7

      • Pop Quiz 1

      • Pop Quiz 2

      • Pop Quiz 3

    • Chapter 8

      • Pop Quiz 1

      • Pop Quiz 2

      • Pop Quiz 3

    • Chapter 9

      • Pop Quiz 1

      • Pop Quiz 2

      • Pop Quiz 3

    • Chapter 10

      • Pop Quiz 1

      • Pop Quiz 2

    • Chapter 11

  • Index

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan