Skip to content

Instantly share code, notes, and snippets.

@agiletalk
Created April 6, 2011 01:53
Show Gist options
  • Save agiletalk/904995 to your computer and use it in GitHub Desktop.
Save agiletalk/904995 to your computer and use it in GitHub Desktop.
[예제] 코드로 문자열 출력하기
package org.catchabug.AndroidFirst;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class AndroidFirst extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView MyText = new TextView(this);
MyText.setText("코드로 문자열 출력하기");
setContentView(MyText);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment