startactity에서 인탠트로 다른 Display activity로 넘어 가는건데
06-12 10:18:55.786: E/AndroidRuntime(3616): FATAL EXCEPTION: main
06-12 10:18:55.786: E/AndroidRuntime(3616): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.fragmentexample/com.example.fragmentexample.DisplayActivity}; have you declared this activity in your AndroidManifest.xml?
06-12 10:18:55.786: E/AndroidRuntime(3616): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1406)
06-12 10:18:55.786: E/AndroidRuntime(3616): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1380)
06-12 10:18:55.786: E/AndroidRuntime(3616): at android.app.Activity.startActivityForResult(Activity.java:2817)
06-12 10:18:55.786: E/AndroidRuntime(3616): at android.app.Activity.startActivity(Activity.java:2923)
06-12 10:18:55.786: E/AndroidRuntime(3616): at com.example.fragmentexample.MainActivity$1.onClick(MainActivity.java:66)
06-12 10:18:55.786: E/AndroidRuntime(3616): at android.view.View.performClick(View.java:2461)
06-12 10:18:55.786: E/AndroidRuntime(3616): at android.view.View$PerformClick.run(View.java:8888)
06-12 10:18:55.786: E/AndroidRuntime(3616): at android.os.Handler.handleCallback(Handler.java:587)
06-12 10:18:55.786: E/AndroidRuntime(3616): at android.os.Handler.dispatchMessage(Handler.java:92)
06-12 10:18:55.786: E/AndroidRuntime(3616): at android.os.Looper.loop(Looper.java:123)
06-12 10:18:55.786: E/AndroidRuntime(3616): at android.app.ActivityThread.main(ActivityThread.java:4627)
06-12 10:18:55.786: E/AndroidRuntime(3616): at java.lang.reflect.Method.invokeNative(Native Method)
06-12 10:18:55.786: E/AndroidRuntime(3616): at java.lang.reflect.Method.invoke(Method.java:521)
06-12 10:18:55.786: E/AndroidRuntime(3616): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
06-12 10:18:55.786: E/AndroidRuntime(3616): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
06-12 10:18:55.786: E/AndroidRuntime(3616): at dalvik.system.NativeStart.main(Native Method)
일단 오류는 이겁니다.
근데 문제는 메니페스트에 엑티비티를 등록 했음에도 불구하고 저런 애러가 뜬다는 겁니다...
<activity
android:name=".DispalyActivity"
android:label="@string/app_name" >
</activity>
그러다가 문제가 될 만한점이... 맞는가 싶긴 한데
DisplayActivity는 extends가 Activity가 아닌 FragmentActivity 라는 점입니다.
음... 어떻게 해야하나요