Question about Games in Andorid

I have understood the meaning of a thread leading the process through the game. However, I have no idea how to combine all classes and activity's into a single package.

What i would like is a guide in the following:

- I would like to have a class that will extend the View class in which the drawing will be taking place
- I would like to use the class above as display class (setContentView())
- Where do i create a class that implements the runnable class, where do I start the threads, how do I connect all these.