Changed motion listener implementation not to inherit from Activity class.
diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java
index 426dd97..bd96e4d 100644
--- a/android-project/src/org/libsdl/app/SDLActivity.java
+++ b/android-project/src/org/libsdl/app/SDLActivity.java
@@ -885,7 +885,7 @@ class SDLJoystickHandler_API12 extends SDLJoystickHandler {
}
-class SDLGenericMotionHandler_API12 extends Activity implements View.OnGenericMotionListener {
+class SDLGenericMotionHandler_API12 implements View.OnGenericMotionListener {
// Generic Motion (mouse hover, joystick...) events go here
// We only have joysticks yet
@Override