This is an example from Big Nerd Ranch Android programming guide