Some code during learning Android programming.