Code android sample and practict