제가 TabHost로 다른 클레스를 차일드로 줘서 연결 할려구 했는데요

 

실행 시키면 has stopped unexpectedly. Please try again. 에러 뜨네요

 

package GoogleMap.AGY;
import android.os.Bundle;
import android.app.*;
import android.content.Intent;
import android.widget.*;
public class GoogleMap extends TabActivity {
 TabHost mTab;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TabHost tabHost = getTabHost();
        
        tabHost.addTab(tabHost.newTabSpec("tag")
          .setIndicator("리스트 보기")
          .setContent(new Intent(this, MapList.class)));
        tabHost.addTab(tabHost.newTabSpec("tab2")
          .setIndicator("지도로 보기")
          .setContent(new Intent(this, Map.class)));
        
     }
}

 

코드구요  탭뷰로 이동시에 리스트뷰랑 구글맵 뜨게 하려구 합니다.

 

구글맵하고 리스트뷰는 이상없이 따로 실행 되구요

 

문제점이 무엇일까요