public void onCreate(Bundle paramBundle) { super.onCreate(paramBundle); setContentView(2130903048); CameraManager.init(getApplication()); this.viewfinderView = ((ViewfinderView) findViewById(2131361873)); this.txtResult = ((TextView) findViewById(2131361874)); this.hasSurface = false; this.inactivityTimer = new InactivityTimer(this); }