
New in this beta release
2
This section lists new features for the BlackBerry® Java® SDK version 6.0 bundle 18.
Feature Description
new table and list APIs You can use new table and list APIs to generate dynamic tables and lists in your application.
You can use the TableModel class to create and modify a table during application runtime. You
can create a new table, and add, modify or delete rows, colums and their content in response to
user input or events in your application.
You can use the RichTableModel class to perform the same functions as the TableModel
class. The RichTableModel class allows you to add other UI fields to table cells.
You can use the ListModel class to create and modify a list during application runtime. You
can create a new list, and add, modify or delete list items in response to user input or events in
your application.
The ListModel class also supports patterned list items. You can use the DataTemplate class
to create list items which follow the same format such as items in an RSS feed.
enhancement to
retrieving the default
GPS mode
You can use the GPSInfo.getDefaultGPSMode() method that is provided in the
net.rim.device.api.gps package to retrieve the default GPS mode. By default, the
getDefaultGPSMode() method now returns the modes in the following order: assisted,
autonomous, and cellsite. The assisted mode is selected as the default when assisted GPS can be
provided to the application without requiring additional credentials from the application.
If you do not specify a GPS mode when requesting a location update, the default mode is
determined using the GPS capability supported by the wireless network.
new geolocation modes You can use the following modes that are provided in the new
net.rim.device.api.gps.LocationInfo class to retrieve location information from
the geolocation service:
• GEOLOCATION_MODE retrieves a location from a geolocation source. The geolocation
feature determines and obtains the best location from among the currently available sources
based on factors such as network connectivity, location accuracy and data availability.
• GEOLOCATION_MODE_CELL retrieves a location based on cell tower positioning.
• GEOLOCATION_MODE_WLAN retrieves a location based on WLAN access point positioning.
RIM Confidential and Proprietary Information - Beta Customers Only. Content and software are subject to change.
3
Komentarze do niniejszej Instrukcji