##HelloWorld2Activity.java
package a.b.com;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class HelloWorld2Activity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
TextView tv = new TextView(this);
tv.setText("Hello World!!!");
setContentView(tv);
tv.append("\n\rHello Gabriel!!");
setContentView(tv);
}
}