Fragment Error cannot be cast to FragmentActivity
I import project from [http://www.e-nature.ch/tech/?p=6#comment-55][1]

But, force close When I run in emulator or Android devices

Thank you so much.

Here is my logCat :

> 04-11 00:56:03.448: E/AndroidRuntime(825): FATAL EXCEPTION: main

> 04-11 00:56:03.448: E/AndroidRuntime(825): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{slider.example/slider.example.ViewPagerFragmentActivity}: java.lang.ClassNotFoundException: slider.example.ViewPagerFragmentActivity in loader dalvik.system.PathClassLoader[/data/app/slider.example-2.apk]

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1569)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread.access$1500(ActivityThread.java:117)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.os.Handler.dispatchMessage(Handler.java:99)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.os.Looper.loop(Looper.java:123)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread.main(ActivityThread.java:3683)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at java.lang.reflect.Method.invokeNative(Native Method)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at java.lang.reflect.Method.invoke(Method.java:507)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at dalvik.system.NativeStart.main(Native Method)

>04-11 00:56:03.448: E/AndroidRuntime(825): Caused by: java.lang.ClassNotFoundException: slider.example.ViewPagerFragmentActivity in loader dalvik.system.PathClassLoader[/data/app/slider.example-2.apk]

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:551)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.Instrumentation.newActivity(Instrumentation.java:1021)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	... 11 more



  [1]: http://www.e-nature.ch/tech/?p=6#comment-55
Fragment Error cannot be cast to FragmentActivity
===

I import project from [http://www.e-nature.ch/tech/?p=6#comment-55][1]

But, force close When I run in emulator or Android devices

Thank you so much.

Here is my logCat :

> 04-11 00:56:03.448: E/AndroidRuntime(825): FATAL EXCEPTION: main

> 04-11 00:56:03.448: E/AndroidRuntime(825): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{slider.example/slider.example.ViewPagerFragmentActivity}: java.lang.ClassNotFoundException: slider.example.ViewPagerFragmentActivity in loader dalvik.system.PathClassLoader[/data/app/slider.example-2.apk]

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1569)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread.access$1500(ActivityThread.java:117)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.os.Handler.dispatchMessage(Handler.java:99)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.os.Looper.loop(Looper.java:123)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread.main(ActivityThread.java:3683)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at java.lang.reflect.Method.invokeNative(Native Method)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at java.lang.reflect.Method.invoke(Method.java:507)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at dalvik.system.NativeStart.main(Native Method)

>04-11 00:56:03.448: E/AndroidRuntime(825): Caused by: java.lang.ClassNotFoundException: slider.example.ViewPagerFragmentActivity in loader dalvik.system.PathClassLoader[/data/app/slider.example-2.apk]

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:551)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.Instrumentation.newActivity(Instrumentation.java:1021)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)

>04-11 00:56:03.448: E/AndroidRuntime(825): 	... 11 more



  [1]: http://www.e-nature.ch/tech/?p=6#comment-55