I copied code from the book - it defines onClick() method:
Using java Syntax Highlighting
- public void onClick(View arg0) {
- Intent i = new Intent( StartingSubactivities.this,
- MySecondActivity.class);
- startSubActivity(i, 0x1337);
- }
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
I am getting 2 compilation errors:
1. class StartingSubactivities is undefined
2. startSubActivity(i, 0x1337); method is undefined in my Activity program.
Any ideas why?
Thanks,
Zalek

