Files in the sample application

File name

Description

TitltDemo.java

  • contains the entry point for the application
  • contains the TiltDemo() constructor, which checks if the sample application is running on a BlackBerry® device with a touch screen
  • contains the implementation for the listener for the UI components

CustomSpanField.java

extends the Field class to demonstrate how to manage the changing Screen dimensions that occur when the orientation of the BlackBerry device changes

Next topic: System requirements
Previous topic: Featured classes

Was this information helpful? Send us your comments.