src
project : Hello_Android APPName : Hello package name org.android.hello Acrivity : HelloAndroid TextView display = new TextView(this); display.setText("Hello Android World!!"); setContentView(display); package org.android.hello; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); TextView display = new TextView(this); display.setText("Hello Android World!"); setContentView(display); } }
0 件のコメント:
コメントを投稿