BlackBerry MIDlet Developer Guide
10BlackBerry MIDlet Developer Guide• BlackBerry Enterprise Server version 3.6 or later for Microsoft® Exchange• BlackBerry Enterprise Server version 2
2 Designing MIDletsControlling screen display Paint the display screenUse the Canvas.paint() method to clear the entire screen on a BlackBerry device.
12BlackBerry MIDlet Developer GuideUsing command typesThe BlackBerry application framework uses command types to prevent duplicate menu items. Use the
132: Designing MIDletsMIDP function key mappingsBlackBerry keys mappings relate to various MIDP functions (the mappings are not case sensitive):Trackw
14BlackBerry MIDlet Developer Guide
3 Comparing BlackBerry and MIDP UI APIsBlackBerry and MIDP APIsWhen you write applications for BlackBerry devices, you can use one of two user interfa
16BlackBerry MIDlet Developer GuideLayout managersThe BlackBerry UI API provides layout managers that enable you to display fields vertically, horizon
173: Comparing BlackBerry and MIDP UI APIsListenersThe BlackBerry UI API is designed to offer a more flexible implementation of listeners than the MID
18BlackBerry MIDlet Developer GuideNumericChoiceField ––ObjectChoiceField ––ObjectListField ––PasswordEditField TextFieldIn MIDP, a PASSWORD constrain
4 Using network connectionsNetwork protocol supportThe BlackBerry device provides a Java ME platform that is designed to support the following network
BlackBerry MIDlet Developer Guide Last modified: 1 February 2006Part number: SWD_X_JDE(EN)-019.002 At the time of publication, this documentation is
20BlackBerry MIDlet Developer GuideThe deviceside parameter is optional and determines whether the socket connection is in proxy or direct mode.Open a
214: Using network connectionsHttpConnection conn = null;2. Invoke the Connector.open() method and cast this object as an HTTPConnection.conn = (HttpC
22BlackBerry MIDlet Developer GuideCreate a UDP connection1. Open a UDP connection by invoking the Connector.open() method using the following format,
5 Using application control rules Application control rulesBlackBerry Application control rules are designed to provide administrators with the abilit
24BlackBerry MIDlet Developer Guide Device GPS AllowedPrompt UserDenyNot permittedControls the ability to access the GPS APIs on a BlackBerry device.
255: Using application control rulesBlackBerry API control rulesIT policy rule Values Description Relevant API elementsDefault valueBlackBerry device
26BlackBerry MIDlet Developer Guide Inter Process CommunicationAllowedNot permittedControls whether the application can access to methods or APIs that
IndexAalerts, 16APIs, 15application, 23application control permissions, 23Ccommands, 12, 16comparing MIDP and BlackBerry APIscommands, 16screens, 15UI
28BlackBerry MIDlet Application User Guidetrackwheel functions, 13UUDP connections, 21User interface APIs, 11WWAPWireless Access Protocol, 24
Published in CanadaResearch In Motion Limited 295 Phillip Street Waterloo, ON N2L 3W8 CanadaResearch In Motion UK Limited Centrum House, 36 Station Ro
©2006 Research In Motion LimitedPublished in Canada.
Contents1 Creating MIDlets for BlackBerry devices ...
Listeners...
1 Creating MIDlets for BlackBerry devicesMIDP application overviewMIDlets are applications that use standard Mobile Information Device Profile (MIDP)
8BlackBerry MIDlet Developer GuideBlackBerry Java Development EnvironmentThe BlackBerry Java Development Environment (BlackBerry JDE) includes a set o
91: Creating MIDlets for BlackBerry devicesCreate a MIDlet suiteA MIDlet suite is a single .jar file that contains one or more MIDlets. (The MIDlets i
Kommentare zu diesen Handbüchern