public void StartCamera(View view){ Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); startActivity(intent); }
修改模拟器,让模拟器具备摄像头