29 Jan 2013, 22:43
Generic-user-small

Thomas Gooderham (4 posts)

Hi, Is it me, on P46, is this the first time that Sudoku.java has been mentioned? Is this file supposed to be created when i first create the workspace? or do I need to create this file myself? - If so where should it go?

Thanks

29 Jan 2013, 22:48
Generic-user-small

Thomas Gooderham (4 posts)

I am running Eclipse Juno Release Build id: 20120614-1722

30 Jan 2013, 08:25
Generic-user-small

Anthony Shaw (136 posts)

Sudoku.java should have been created at the start of section 3.3 Creating the Opening Screen on page 33. The activity should be called Sudoku, but if you called your activity something else it does not matter just remember that every time you see Sudoku.java or the a reference to the Sudoku class then you have to use the name you entered from page 33.

01 Feb 2013, 02:10
Generic-user-small

Debby Granberg (1 post)

I am also having a problem with this app. At the following line: public class MainActivity extends Activity implements onClickListener {

I am getting the following error:

onClickListener cannot be resolved to a type

01 Feb 2013, 08:32
Generic-user-small

Anthony Shaw (136 posts)

Debby, you will probably find that it should be OnClickListener, note the leading capital. The usual style for classes and interfaces in java is a leading capital.

  You must be logged in to comment