this code is write in 2009 when i begin to learing android.