public class WordAnimationActivity extends Activity {
private int clo = 0;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
spark();
}
public void spark() {
final TextView touchScreen = (TextView)findViewById(R.id.TextView01);
Timer timer = new Timer();
TimerTask taskcc = new TimerTask() {
public void run() {
runOnUiThread(new Runnable() {
public void run() {
if (clo == 0) {
clo = 1;
touchScreen.setTextColor(Color.TRANSPARENT);
} else {
if (clo == 1) {
clo = 2;
touchScreen.setTextColor(Color.YELLOW);
} else if (clo == 2){