Hi all, I am try to use reflection to invoke the "List Camera.Parameters.getSupportedFocusModes()" function with the following codes:
Camera.Parameters params = mCamera.getParameters();
Method method = params.getClass().getDeclaredMethod("getSupportedFocusModes", (Class[]) null);
Object o = method.invoke(params, (Object[]) null);
the log shows it does find the function, however, the result o is always null, why is that? Please help me out!