I need to add functionality to that button, but i dont know the name of the button, and I dont know how to give it functionality.
Does someone know what to do?
SOLVED:
mSurfaceView.requestFocus();
mSurfaceView.setFocusableInTouchMode(true);
public boolean onKey(View v, int keyCode, KeyEvent event) {
boolean keyManaged=false;
switch(keyCode)
{
case KeyEvent.KEYCODE_CAMERA:
mCamera.takePicture(null, mPictureCallback, mPictureCallback);
keyManaged=true;
break;
}
return keyManaged;
}
It show up as
KeyEvent.KEYCODE_CAMERAin a KeyListener.