api 5以上版本
Camera camera = Camera.open();
Camera.Parameters params = camera.getParameters();
try
{
Method method = params.getClass().getDeclaredMethod("getSupportedFocusModes", (Class[]) null);
Object o = method.invoke(params, (Object[]) null);
Log.i("Camera Test", o.toString());
}
catch (Exception e)
{
e.printStackTrace();
}