If you want to do it on launch:
edittext1.setText("my text");
If you want to do it on first touch only, you will have to preate a varialbe to hold that state:
boolean wasSet = false;
onTouch(){
if(!wasSet){
//First time around
edittext1.setText("my text");
wasSet = true;
}else{
//Second time around
}
}
Altough, what is is looking like you would rather do it:
edittext1.setHint("mytext");
Which will display an entry hint whenever the EditText
is empty of user content.