Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
public int getWidth(Object obj) {
        Camera.Size size = (Camera.Size) obj;
        return 320;
    }

    public int getHeight(Object obj) {
        Camera.Size size = (Camera.Size) obj;
        return 240;
    }

If your app get sizes using these methods, they are staticly return values.