{
AppLog("OnVideoRecorderClosed");
+ ShowFooterItem(0, true);
+ if (__cameraCount > 1) //if camera count is 2 then only use secondary camera.
+ {
+ ShowFooterItem(1, true);
+ }
+ else
+ {
+ ShowFooterItem(1, false);
+ }
+ ShowFooterItem(2, true);
+
switch(__cameraError)
{
case CAMERA_ERROR_NONE:
VideoRecorderForm::OnVideoRecorderStarted(result r)
{
AppLog("OnVideoRecorderStarted");
- ShowFooterItem(0, true);
- if (__cameraCount > 1) //if camera count is 2 then only use secondary camera.
- {
- ShowFooterItem(1, true);
- }
- else
- {
- ShowFooterItem(1, false);
- }
ShowFooterItem(2, true);
}
{
AppLog("OnVideoRecorderStopped %s", GetErrorMessage(r));
SendUserEvent(RECORDER_ON_STOP, null);
- ShowFooterItem(0, true);
- if (__cameraCount > 1) //if camera count is 2 then only use secondary camera.
- {
- ShowFooterItem(1, true);
- }
- else
- {
- ShowFooterItem(1, false);
- }
- ShowFooterItem(2, true);
}
void