private boolean checkClassType(String className) {
        boolean include = true;
        try {
            Class<?> clazz = Class.forName(className);
            if (Application.class.isAssignableFrom(clazz)) {
                Log.d(TAG, "Class " + className + " is a jME Application");
            } else {
                include = false;
                Log.d(TAG, "Skipping Class " + className + ". Not a jME Application");
            }

        } catch (NoClassDefFoundError ncdf) {
            include = false;
            Log.d(TAG, "Skipping Class " + className + ". No Class Def found.");
        } catch (ClassNotFoundException cnfe) {
            include = false;
            Log.d(TAG, "Skipping Class " + className + ". Class not found.");
        }
        return include;
    }
Check to see if the class extends Application or SimpleApplication
@param className Class name to check
@return true if the check passes, false otherwise
jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/MainActivity.java