Blackberry JAVA DEVELOPMENT ENVIRONMENT - - GPS AND MAPS - DEVELOPMENT GUIDE Bedienungsanleitung Seite 12

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 33
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 11
Touch event injection
On BlackBerry® devices with touch screens, you can inject a touch event, such as the slide or tap of a finger on the screen, by
using the EventInjector.TouchEvent class available in the net.rim.device.api.system package. For example,
you can use touch event injection to automate the testing of your application or to allow interaction between a peripheral and
a BlackBerry device.
To download a sample application that demonstrates how to use touch event injection, visit www.blackberry.com/go/
toucheventinjectorsampleapp. For more information about the sample application, visit www.blackberry.com/go/devguides to
read the Touch Event Injector Sample Application Overview. For more information about touch event injection, see the BlackBerry
Java Application UI and Navigation Development Guide and the API reference for the BlackBerry® Java® Development
Environment.
Location-based services
BlackBerry extension to JSR 179
You can access GPS location information about a BlackBerry® device by using the BlackBerry extension to JSR 179 that is available
in the net.rim.device.api.gps package. You can use the BlackBerry extension to JSR 179 on BlackBerry devices that run
BlackBerry® Device Software 5.0 or later.
Class Description
BlackBerryCriteria The BlackBerryCriteria class extends the Criteria class and
permits you to specify the following information:
initial GPS mode
failover GPS mode, if applicable
GPS mode to use after your application obtains a GPS fix
BlackBerryLocation The BlackBerryLocation class extends the Location class and
permits you to retrieve the following information:
GPS satellite information (for example, the number of GPS satellites,
the average signal quality, and details about the GPS satellites)
data source that obtains the GPS fix
GPS mode that provides the GPS location information
Feature and Technical Overview
Location-based services
10
Seitenansicht 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 32 33

Kommentare zu diesen Handbüchern

Keine Kommentare