Open main menu

CDOT Wiki β

Changes

Teams Winter 2011/team4/lab4

18 bytes added, 17:20, 27 March 2011
no edit summary
[[File:T4_1.png]]
*Set the title of the project
[[File:T4_3.png]]
===Add Elements on Main Screen===
*Place a applications icon into ''res->image''
[[File:T4_2.png]]
*Open ''BlackBerry_App_Descriptor''
*Select the icon, click the ''Add'' button
[[File:T4_3T4_2.png]]
===Define the Application===
*Create the classes MyApp, MyScreen, and NextScreen
[[File:T4_4.png]]
*MyApp create instances of both MyScreen and NextScreen, allowing the user to navigate between screens. This is by immediately pushing Myscreen and then adding a changeListener to the button on MyScreen to navigate to NextScreen
*The NextScreen Class will create setup the tic tac toe board and request user input for their moves. It does not allow invalid input, and once a piece has been placed, the user cannot place another piece on that square.