I have the following code
android.hardware.Camera.Size size = new android.hardware.Camera.Size(300, 300);
I get the following compilation error
No enclosing instance of type Camera is accessible
However, I check the documentation, this is an open constructor
Android Camera Documentation
Anything I missed?
source share