Example from the Book "Android Programming - The Big Nerd Ranch Guide"