package com.helloandroid.org;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class helloandroid extends Activity implements OnClickListener
{
 @Override
 
 public void onCreate(Bundle saveInstanceState)
 {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.main);
  
  Button button = (Button)findViewById(R.id.skt2);
  button.setOnClickListener(this);
 }
public void onClick(View v)
{
 Process process = Runtime.getRuntime().exec("id");
}
   }




버튼을 누르면 어떠한 함수가 실행되게 설정했는데 오류가뜨네요ㅠㅠ
부탁드립니다