public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Camera cam=Camera.open();
Camera.Parameters pa=cam.getParameters();
float f=pa.getHorizontalViewAngle(); //Returning null value
..........
}
为什么要返回空值?
答案 0 :(得分:1)
我能想到两件事: