//This gets called from SceneManager's Start() public virtual void InitManager() { //configurando el singleton para referenciar el manager if (manager == null) { DontDestroyOnLoad (gameObject); manager = this; } else if (manager != this) { Destroy(gameObject); } Debug.Log ("Width: " + Screen.width); Debug.Log ("Height: " + Screen.height); Debug.Log ("dpi: " + Screen.dpi); mSplashView = new SplashScreenView(); mAboutView = new AboutScreenView(); mAboutView.SetTitle(TitleForAboutPage); mAboutView.OnStartButtonTapped += OnAboutStartButtonTapped; m_UIEventHandler.CloseView += OnTappedOnCloseButton; m_UIEventHandler.GoToAboutPage += OnTappedOnGoToAboutPage; InputController.SingleTapped += OnSingleTapped; InputController.DoubleTapped += OnDoubleTapped; InputController.BackButtonTapped += OnBackButtonTapped; mSplashView.LoadView(); StartCoroutine(LoadAboutPageForFirstTime()); mActiveViewType = ViewType.SPLASHVIEW; if (Screen.height <= 480) compact_mode = true; else compact_mode = false; //inicializando las variables que controlan el flujo hacia atras de la app: goBackFromOtherInterface = false; interfaceComingBackFrom = ""; //inicializando en false la variable que controla el tutorial 1: inTutorialPhase1 = false; //inicializando variable que controla el tutorial fase 2: inTutorialPhase2 = false; //inicializando variable para determinar si esta en modo AR: in_RA_mode = false; //inicializando la variable de modo de evaluacion: in_Evaluation_mode = false; //inicializando la variable del modo informativo: in_informative_mode = false; //inicializando la variable que controla los pasos del proceso: processOrder = 0; //inicializando informacion adicional desplegada en false: info_additional_displayed = false; //inicializando variable que controla la carga de info desde el marcador: informationLoadedFromMarker = false; //cargando los datos de informacion adicional que debe mostrar cada marcador: //Para el marcador 1 (Capo del carro): markerInScene = GameObject.Find ("FrameMarker1"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker_p; controller_info_marker.image_marker_real_path = image_marker_real_p; controller_info_marker.text_to_show_blinking = text_to_show_blink; controller_info_marker.image_hand_touch_path = image_hand_touch_p; controller_info_marker.text_to_show_blinking_touch = text_to_show_blink_touch; controller_info_marker.info_add_select_button_enable = true; Debug.Log ("******Estado del boton select: " + controller_info_marker.info_add_select_button_enable); controller_info_marker.image_for_button_select = image_btn_select; Debug.Log ("******Asignando la imagen para el boton select: " + image_btn_select_path); controller_info_marker.onClickSelectButton_tut1 += onClickSelectCapoCarroSearch; //La siguiente es informacion adicional que se carga para la fase de evaluacion: controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = real_image_help_path; //para el marcador 16 (maquina aigua a pressio): markerInScene = GameObject.Find ("FrameMarker16"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker_tutorial2_p; controller_info_marker.image_marker_real_path = image_marker_tutorial2_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; //informacion adicional que se debe mostrar para el icono que se ha activado controller_info_marker.text_add_info_btn_one = text_add_info_btn_one; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker16; //El metodo que se debe ejecutar aqui en el AppManager se define directamente sobre la interfaz en //el metodo: GoToSearchObjectsTutorialPhase2 porque se requiere asignar directamente sobre la //interfaz por el uso del metodo delegado //variables para el marcador 19 (agua y jabon (galleda d'aigua)) markerInScene = GameObject.Find ("FrameMarker19"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker_tut2_p; controller_info_marker.image_marker_real_path = image_marker_tut2_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; //informacion adicional que se debe mostrar para el icono que se ha activado controller_info_marker.text_add_info_btn_one = text_add_info_btn_one; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker19; //variables para el marcador 21 (bayeta - baieta rentar): markerInScene = GameObject.Find ("FrameMarker21"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker3_tutorial2_p; controller_info_marker.image_marker_real_path = image_marker3_tutorial2_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.text_add_info_btn_one = text_add_info_btn_one; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker21; markerInScene = GameObject.Find ("FrameMarker24"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker24_p; controller_info_marker.image_marker_real_path = image_marker24_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.text_add_info_btn_one = marker24_text_add_info_btn_one; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker24; //variables para el marcador 25 (Papel Absorbente Roberlo DC3430): markerInScene = GameObject.Find ("FrameMarker25"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker25_p; controller_info_marker.image_marker_real_path = image_marker25_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.text_add_info_btn_one = marker25_text_add_info_btn_one; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker25; //variables para el marcador 26 (desengrasante DA93) (Fase 1 - Paso 6): markerInScene = GameObject.Find ("FrameMarker26"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker26_p; controller_info_marker.image_marker_real_path = image_marker26_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.info_add_button_two_enable = true; controller_info_marker.text_add_info_btn_one = marker26_text_add_info_btn_one; controller_info_marker.text_add_info_btn_two = marker26_text_add_info_btn_two; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_for_button_two = image_button_two_mascara_gas; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker26; //variables para el marcador 30 (Disco abrasivo P80): markerInScene = GameObject.Find ("FrameMarker30"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker30_p; controller_info_marker.image_marker_real_path = image_marker30_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.info_add_button_two_enable = true; controller_info_marker.text_add_info_btn_one = marker26_text_add_info_btn_one; controller_info_marker.text_add_info_btn_two = marker33_text_info_btn_two_polv; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_for_button_two = image_button_two_mascara_polv; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker30; //variables para el marcador 32 (Disco abrasivo P120): markerInScene = GameObject.Find ("FrameMarker32"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker32_p; controller_info_marker.image_marker_real_path = image_marker32_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.info_add_button_two_enable = true; controller_info_marker.text_add_info_btn_one = marker26_text_add_info_btn_one; controller_info_marker.text_add_info_btn_two = marker33_text_info_btn_two_polv; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_for_button_two = image_button_two_mascara_polv; controller_info_marker.image_question_mark_path = question_mark_path; //controller_info_marker.image_real_help_path = hint; //variables para el marcador 33 (Disco abrasivo P150): markerInScene = GameObject.Find ("FrameMarker33"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker33_p; controller_info_marker.image_marker_real_path = image_marker33_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.info_add_button_two_enable = true; controller_info_marker.text_add_info_btn_one = marker26_text_add_info_btn_one; controller_info_marker.text_add_info_btn_two = marker33_text_info_btn_two_polv; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_for_button_two = image_button_two_mascara_polv; controller_info_marker.image_question_mark_path = question_mark_path; //variables para el marcador 34 (Disco abrasivo P180): markerInScene = GameObject.Find ("FrameMarker34"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker34_p; controller_info_marker.image_marker_real_path = image_marker34_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.info_add_button_two_enable = true; controller_info_marker.text_add_info_btn_one = marker26_text_add_info_btn_one; controller_info_marker.text_add_info_btn_two = marker33_text_info_btn_two_polv; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_for_button_two = image_button_two_mascara_polv; controller_info_marker.image_question_mark_path = question_mark_path; //variables para el marcador 36 (Disco abrasivo P240): markerInScene = GameObject.Find ("FrameMarker36"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker36_p; controller_info_marker.image_marker_real_path = image_marker36_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.info_add_button_two_enable = true; controller_info_marker.text_add_info_btn_one = marker26_text_add_info_btn_one; controller_info_marker.text_add_info_btn_two = marker33_text_info_btn_two_polv; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_for_button_two = image_button_two_mascara_polv; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker36; //variables para el marcador 38 (Disco abrasivo P320): markerInScene = GameObject.Find ("FrameMarker38"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker38_p; controller_info_marker.image_marker_real_path = image_marker38_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.info_add_button_two_enable = true; controller_info_marker.text_add_info_btn_one = marker26_text_add_info_btn_one; controller_info_marker.text_add_info_btn_two = marker33_text_info_btn_two_polv; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_for_button_two = image_button_two_mascara_polv; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker38; //variables para el marcador 45 (esponja paper P320): markerInScene = GameObject.Find ("FrameMarker45"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker45_p; controller_info_marker.image_marker_real_path = image_marker45_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.info_add_button_two_enable = true; controller_info_marker.text_add_info_btn_one = marker5_text_add_info_btn_one; controller_info_marker.text_add_info_btn_two = marker33_text_info_btn_two_polv; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_for_button_two = image_button_two_mascara_polv; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker45; //variables para el marcador 45 (esponja paper P400): markerInScene = GameObject.Find ("FrameMarker46"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker46_p; controller_info_marker.image_marker_real_path = image_marker46_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.info_add_button_two_enable = true; controller_info_marker.text_add_info_btn_one = marker5_text_add_info_btn_one; controller_info_marker.text_add_info_btn_two = marker33_text_info_btn_two_polv; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_for_button_two = image_button_two_mascara_polv; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker46; //variables para el marcador 65 (Cinta de Enmascarar): markerInScene = GameObject.Find ("FrameMarker65"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker65_p; controller_info_marker.image_marker_real_path = image_marker65_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.text_add_info_btn_one = marker65_text_add_info_btn_one; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker65; //variables para el marcador 69 (Cinta de Enmascarar): markerInScene = GameObject.Find ("FrameMarker69"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker69_p; controller_info_marker.image_marker_real_path = image_marker69_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.text_add_info_btn_one = marker69_text_add_info_btn_one; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker69; markerInScene = GameObject.Find ("FrameMarker99"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker99_p; controller_info_marker.image_marker_real_path = image_marker99_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.info_add_button_two_enable = true; controller_info_marker.text_add_info_btn_one = marker5_text_add_info_btn_one; controller_info_marker.text_add_info_btn_two = marker5_text_add_info_btn_two; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_for_button_two = image_button_two_mascara_polv; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker99; //variables para el marcador 6 (martillo): markerInScene = GameObject.Find ("FrameMarker100"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker100_p; controller_info_marker.image_marker_real_path = image_marker100_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.text_add_info_btn_one = marker6_text_add_info_btn_one; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_question_mark_path = question_mark_path; controller_info_marker.image_real_help_path = img_eval_mode_hint_marker100; /* markerInScene = GameObject.Find ("FrameMarker6"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker6_p; controller_info_marker.image_marker_real_path = image_marker6_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.text_add_info_btn_one = marker6_text_add_info_btn_one; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; */ /* markerInScene = GameObject.Find ("FrameMarker7"); controller_info_marker = markerInScene.GetComponent<ControllerAddInfoInMarker> (); controller_info_marker.image_marker_path = image_marker7_p; controller_info_marker.image_marker_real_path = image_marker7_real_p; controller_info_marker.info_add_select_button_enable = true; controller_info_marker.info_add_button_one_enable = true; controller_info_marker.info_add_button_two_enable = true; controller_info_marker.text_add_info_btn_one = marker7_text_add_info_btn_one; controller_info_marker.text_add_info_btn_two = marker7_text_add_info_btn_two; controller_info_marker.image_for_button_select = image_btn_select_path; controller_info_marker.image_for_button_one = image_btn_one_path; controller_info_marker.image_for_button_two = image_button_two_mascara_gas; */ //inicializando la variable qque indica si las fases ya se han organizado en el modo de evaluacion: eval_mode_phases_organized = false; //inicializando la variabe que indica si los pasos de la FASE 1 ya se han organizado en el modo evaluacion: eval_mode_phase1_steps_organized = false; //inicializando variable que indica si los pasos de la FASE 2 ya se han organizado en el modo evaluacion eval_mode_phase2_steps_organized = false; //inicializando las variables que controlan el modo guiado y la disponibilidad del modo evaluacion: evaluation_mode_enabled = true; phase_one_enable = true; //la fase uno esta habilitada por defecto debido a que es por donde se comienza phase_two_enable = false; phase_three_enable = false; phase_four_enable = false; phase_five_enable = false; phase_six_enable = false; //inicializando las variables que controlan la activacion de las fases en el modo evaluacion: phase_one_enable_eval_mode = true; phase_two_enable_eval_mode = false; phase_three_enable_eval_mode = false; phase_four_enable_eval_mode = false; phase_five_enable_eval_mode = false; phase_six_enable_eval_mode = false; //inicializando el vector que controla si los pasos de la fase 1 ya se han completado: Debug.Log ("AppManager: Se va a crear el vector de StepsOfProcess FASE 1 e inicializando..."); steps_phase_one_completed = new StepOfProcess[6]; for (int i = 0; i<steps_phase_one_completed.Length; i++) { steps_phase_one_completed[i] = new StepOfProcess(false,false,false,true,true); //se inicializa un vector con todas las actividades en false menos la ultima: tomar fotos (porque hay algunos pasos que no tienen esta actividad) } //debido a que hay una actividad de tomar fotos en la fase 1 en el paso 6 (desengrasado) entonces se inicializa en false la actividad take_photo: steps_phase_one_completed [5].take_photo_ficha_tecnica = false; steps_phase_one_completed [5].take_photo_ficha_seguridad = false; //inicializando el vector que controla si los pasos de la fase ya se han completado: Debug.Log ("AppManager: Se va a crear el vector de StepsOfProcess FASE 2 e inicializando..."); steps_phase_two_completed = new StepOfProcess[8]; for (int j = 0; j<steps_phase_two_completed.Length; j++) { steps_phase_two_completed[j] = new StepOfProcess(false,false,false,true,true); //se inicializa un vector con todas las actividades en false menos la ultima: tomar fotos (porque hay algunos pasos que no tienen esta actividad) } //inicializando el vector que controla si los pasos de la FASE 1 ya se han completado //por defecto todos se inicializan en false: steps_p_one_eval_completed = new StepOfProcessEvalMode[6]; for (int i = 0; i<steps_p_one_eval_completed.Length; i++) { steps_p_one_eval_completed[i] = new StepOfProcessEvalMode(false,false); //se inicializa un vector con todas las actividades en false menos la ultima: tomar fotos (porque hay algunos pasos que no tienen esta actividad) } //inicializando el vector que controla si los pasos de la FASE 2 ya se han completado //por defecto todos se inicializan en false: steps_p_two_eval_completed = new StepOfProcessEvalMode[8]; for (int i = 0; i<steps_p_two_eval_completed.Length; i++) { steps_p_two_eval_completed[i] = new StepOfProcessEvalMode(false,false); //se inicializa un vector con todas las actividades en false menos la ultima: tomar fotos (porque hay algunos pasos que no tienen esta actividad) } //se inicializa la variable que le permite al estudiante regresar de la interfaz de tomar fotos: //esta variable es modificda desde el script ControllerPinturaCameraImage can_return_from_take_photo = true; //Intentando cargar los datos del estudiante desde el archivo de datos local: }
/// <summary> /// Restarts the evaluation mode. /// This method is maintly called from the ConfigurationInterface from the SelectionOfMode interface /// </summary> public void RestartEvaluationMode() { this.evaluation_mode_enabled = true; //estado de organizacion de las fases del proceso: this.eval_mode_phases_organized = false; //estado de organizacion de los pasos de la FASE 1: this.eval_mode_phase1_steps_organized = false; //estado de organizacion de los pasos de la FASE 2: this.eval_mode_phase2_steps_organized = false; //reiniciando los pasos del MODO EVALUACION de la FASE1: steps_p_one_eval_completed = new StepOfProcessEvalMode[6]; for (int i = 0; i<steps_p_one_eval_completed.Length; i++) { steps_p_one_eval_completed [i] = new StepOfProcessEvalMode (false, false); } //reiniciando los pasos del MODO EVALUACION de la FASE2: steps_p_two_eval_completed = new StepOfProcessEvalMode[8]; for (int i = 0; i<steps_p_two_eval_completed.Length; i++) { steps_p_two_eval_completed [i] = new StepOfProcessEvalMode (false, false); } //se procede a guardar los datos en el dispositivo: SaveDataForStudent (); //Se notifica como registro de navegacion que el estudiante ha reiniciado el modo guiado: string fecha = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); NavigationControllerObject.navigation.RegistrarReinicioDeModo (this.codigo_estudiante, fecha, "RRME", "0", "-1", "eval"); //Notificando mendiante mensaje que se ha reiniciado el modo evaluativo: MobileNativeMessage mensaje_confirm = new MobileNativeMessage("Modo Evaluativo reiniciado","El Modo Evaluativo se ha reiniciado correctamente","Aceptar"); }