When Android 2.3.7.r1 presses the menu key, the video is stopped. Press the menu key when you change the video to do not process it. The following modifications can be made:
In packages/apps/cameraopen/src/COM/mediatek/camera/videocamera. Java
In the onkeydown () method:
Modify
Case keyevent. keycode_menu:
If (mheadupdisplay! = NULL & mglrootview! = NULL
&&! Malertshowing &&! Mmediarecorderrecording
& Mheadupdisplay. getwidth ()! = 0 ){
Mheadupdisplay. barsswitch ();
}
If (mmediarecorderrecording ){
Onstopvideorecording (true );
Return true;
} Else if (event. islongpress ()){
Return true; // consume long press to prevent Soft Keyboard
}
Break;
Is:
Case keyevent. keycode_menu:
If (mheadupdisplay! = NULL & mglrootview! = NULL
&&! Malertshowing &&! Mmediarecorderrecording
& Mheadupdisplay. getwidth ()! = 0 ){
Mheadupdisplay. barsswitch ();
}
If (event. islongpress ()){
Return true; // consume long press to prevent Soft Keyboard
}
Break;