It looks like the error your seeing in the Chapter 4 example is because the class you've created in step 1 (TodoListItemView) is not an Activity, so you can't put it directly into the Manifest as you've done. It needs to be referenced by a Layout that's in turn used by an ArrayAdapter within an Activity -- that's what's shown in steps 5 and 6.
What might have caused the confusion is that the example you're looking at in Chapter 4 builds on an earlier example -- the To-do List example in Chapter 2 (page 37). To do the steps in the Chapter 4 example you need to have created that earlier TodoList Activity. The example in Chapter 4 lets you change the appearance of each of the to-do list Items shown in the ListView.
From the looks of things, I'd say you can probably skip straight to step 5 on page 39 of the Chapter 2 example. Steps 5 through 8 show how to create the Activity layout and the Activity class that you need for Chapter 4. Alternatively, if you want to skip Chapter 2 entirely, you can download the source code for it from here:
http://www.wrox.com/WileyCDA/WroxTit...-DOWNLOAD.html
...and jump straight into the Chapter 4 example.
Let me know how you get on, hopefully I'll be able to help.
Cheers
Reto
--
Author, Professional Android Application Development