Intent intent = new Intent(My.this, target.class);
startActivity(intent); //호출하면 죽습니다
이렇게 target 엑티비티를 호출하려구하면
앱이 죽습니다
이럴경우 어디를 살펴봐야될까요?
디버깅을해보면
target 클래스의 onCreate 메소드에 브레이크포인트를 설정해놔도
startActivity 호출하면 target 으로넘어가지도못하고
source not found 가나옵니다
문제가있는 위치를알아야될텐데
어떻게하면 문제점을 알수있을까요
ㅎㅎ 그렇내여 그걸빼먹고...
근데 다른에러가 또...
디버깅해보면
LayoutInflater.from(this).inflate(R.layout.client, cTabHost.getTabContentView(), true);
//여기서에러가 나는데
client.xml 파일내용은 아래와같은데
짐작할만한 점이있으면 지적좀 부탁드립니다
TabActivity 를상속받은클래스입니다
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<com.da.world.my.SerListView
android:id="@+id/my_server"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="tab1"
/>
<com.da.world.FileExpView
android:id="@+id/my_local"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="tab2"
/>
</FrameLayout>
액티비티를 메니페스트에 등록하는걸 빼먹으신게 아닐런지..