Ad esempio:Come inizializzare una nuova Camera.Size in Android
int width = 720;
int height = 1280;
Voglio creare un Camera.Size.
Camera.Size size = new Camera.Size(width,height);
Ma ha qualche errore.
No enclosing instance of type Camera is accessible. Must qualify the allocation with an enclosing instance of type Camera (e.g. x.new A() where x is an instance of Camera).
Questo ha funzionato per me. Molte grazie! Non sapevo che avrei dovuto usare camera.new. Eccezionale! – sunlover3