Hi yccheok,
Camera.Size is a inner class in camera as outer class as its name suggests(Camera.Size),so in order to instantiate the inner class,u have to instantiate first the outer class and then have to instatntiate using that outer class object.
for example like this:
OuterClass.InnerClass innerClassObj = OuterClassObj.new InnerClass();
check out this
http://docs.oracle.com/javase/tutorial/ ... ested.html
Hope this will help u.