import android.app.*;
import android.os.*;
import android.util.*;
public class LogDemoEx1Activity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Log.e("tag", "error message");
Log.w("tag", "warning message");
Log.i("tag", "information message");
Log.d("tag", "debugging message");
Log.v("tag", "verbose message");
}
}
[Android] DDMS(Dalvik Debug Monitor Service) 사용법 (0) | 2012.06.10 |
---|---|
[Android] git 관련 command (0) | 2011.08.01 |
[eclipse]failed to create the java virtual machine error 발생 시 대처법 (0) | 2011.07.25 |
[Android] Error generating final archive: Debug certificate expired on (0) | 2011.07.22 |
Android Debug ... (0) | 2010.10.21 |
댓글 영역