Blackberry JAVA DEVELOPMENT ENVIRONMENT - - DEVICE APPLICATIONS INTEGRATION - DEVELOPMENT GUIDE Manuale Utente Pagina 16

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 20
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 15
BlackBerry Mobile Data System 16
Feature Description
MIDP version 1.0 (JSR 37).
User interface The BlackBerry JDE provides two sets of APIs for creating application user interfaces (UI):
standard MIDP APIs and BlackBerry APIs. The BlackBerry UI APIs are a library of pre-built
user interface components, which provide default layout and behavior that is consistent
with core the BlackBerry programs.
Screen components provide a standard screen layout, a default menu, and standard
behavior when the user presses the Escape button or clicks the trackwheel.
Field components provide standard user interface elements for date selection, radio
buttons, check boxes, lists, text fields and labels, and gauge slider controls.
Layout managers provide the ability to arrange components on a screen in standard
ways, such as horizontally, vertically, or in a left-to-right flow.
The BlackBerry UI APIs also provide flexibility for application developers to create custom
user interfaces with specialized layouts such as tables or grids and custom user interaction.
The BlackBerry Java implementation uses a standard Java event model to receive and
respond to specific types of events. For example, applications can receive and respond to
both user events, such as the user clicking the trackwheel or typing on the keyboard, and
system events, such as global alerts, real-time clock changes, and USB port connections.
Data storage The BlackBerry JDE provides two sets of APIs to store persistent data across BlackBerry
device resets: standard MIDP APIs and BlackBerry APIs. The BlackBerry Persistence APIs
enable applications to store entire objects in the file system and provide features to
optimize data grouping, searching, and performance and store structures such as hash
tables, ordered arrays, and trees, to provide faster searching.
Application developers can add the capability for users to back up and restore application
databases either wirelessly or through the BlackBerry Desktop Software.
System administrators can set an IT policy to determine whether applications can store data
in persistent storage.
Network
transport
Depending on the environment and the application requirements, BlackBerry devices can
connect to both corporate intranets and the Internet through various gateways, including
the BlackBerry Enterprise Server hosted by the enterprise or a gateway hosted by the
wireless service provider
2
.
BlackBerry devices are designed to support a wide range of network transport protocols
3
,
including:
HTTP and HTTPS
TCP, SSL, and TLS sockets
email messages
User Datagram Protocol (UDP) datagrams
Short Message Service (SMS)
Multimedia Messaging Service (MMS) is supported on some BlackBerry devices
Access to
system
resources
Custom applications can access system-wide resources on the BlackBerry device. For
example, applications can
retrieve information on the state of the BlackBerry device radio and current signal level
retrieve BlackBerry device information, such as the battery power level
notify users when an event occurs by generating an audio tone or a vibration
2
The security features that this document describes might not be available when using network gateways that are hosted by the wireless
service provider.
3
Each type of network transport depends on the wireless service provider’s specific capabilities. Application developers must work closely
with wireless service providers to determine service availability.
© 2006 Research In Motion Limited. All rights reserved.
www.blackberry.com
Vedere la pagina 15
1 2 ... 11 12 13 14 15 16 17 18 19 20

Commenti su questo manuale

Nessun commento