Changes

Jump to: navigation, search

Lab BlackBerry Example

483 bytes added, 11:19, 27 February 2011
no edit summary
'''Step 5.'''
 
The second screen must have a title, textfield, and button to let the user go back to the first screen.
For the title one could use:
void net.rim.device.api.ui.container.MainScreen.setTitle(Field arg0)
for the field, you can build a LabelField object with
net.rim.device.api.ui.component.LabelField
LabelField(Object arg0, long arg1)
 
Thus, to set the title of the screen you can write the instruction:
setTitle(new LabelField("Second Screen !", LabelField.USE_ALL_WIDTH));

Navigation menu