Changes

Jump to: navigation, search

Teams Winter 2011/team5/lab4/tutorial

15 bytes removed, 22:46, 15 April 2011
Step 22 - The button is added to the screen, which is a UiApplication object
== Step 22 - The button is added to the screen, which is a UiApplication object ==
== Step 23 - In the field changed method, we push another screen into view when the button is pressed ==== Step 24 - The LocationTracker class is pushed into view and so it also extends the MainScreen class ==== Step 25 - To get the location of the user in the LocationTracker class, we need to have a class that gets the users location ==== Step 26 - The MyLocationListener class implements LocationListener, so the class can be notified as the users location is updated ==== Step 27 - The locationUpdated method gets the latitude and the logitude of the user and saves then in two instance variables of the MyScreen class ==== Step 28 - In the LocationTracker class, we define some RichTextFields to output the collected value of the latitude and longitude ==== Step 29 - We also create a BitMap object and configure its weight and height using the methods defined in the BlackBerry docs ==== Step 30 - The BitMap object, SeparatorField object and RadioButtonField objects are added to the screen ==
==
== Step 24 - The LocationTracker class is pushed into view and so it also extends the MainScreen
 
class ==
== Step 25 - To get the location of the user in the LocationTracker class, we need to have a class
 
that gets the users location ==
== Step 26 - The MyLocationListener class implements LocationListener, so the class can be notified
 
as the users location is updated ==
== Step 27 - The locationUpdated method gets the latitude and the logitude of the user and saves then
 
in two instance variables of the MyScreen class ==
== Step 28 - In the LocationTracker class, we define some RichTextFields to output the collected
 
value of the latitude and longitude ==
== Step 29 - We also create a BitMap object and configure its weight and height using the methods
 
defined in the BlackBerry docs ==
== Step 30 - The BitMap object, SeparatorField object and RadioButtonField objects are added to the
 
screen ==
== Step 31 - We add a new button that will process the results of the radioButtons ==
== Step 32 - The button's field change listener method is coded to alert the user based on their
1
edit

Navigation menu