/***************************************************************************** * FUNCTION * mmi_nfc_entry_main_menu * DESCRIPTION * This function is Main menu entry function * PARAMETERS * void * * * RETURNS * void *****************************************************************************/ void mmi_nfc_entry_main_menu(void) { /*----------------------------------------------------------------*/ /* Local Variables */ /*----------------------------------------------------------------*/ mmi_id cui_gid; /*----------------------------------------------------------------*/ /* Code Body */ /*----------------------------------------------------------------*/ mmi_frm_group_create_ex( GRP_ID_ROOT, GRP_ID_NFC_SETTINGS, mmi_nfc_entry_main_menu_proc, NULL, MMI_FRM_NODE_SMART_CLOSE_FLAG); cui_gid = cui_menu_create( GRP_ID_NFC_SETTINGS, CUI_MENU_SRC_TYPE_APPCREATE, CUI_MENU_TYPE_APPSUB, MENU_CONN_NFC_MAIN, MMI_FALSE, NULL); cui_menu_run(cui_gid); }
VMINT vm_dialer_launch(VMWSTR phone_num) { #ifndef __COSMOS_MMI_PACKAGE__ mmi_id parent_id; parent_id = mmi_frm_group_create_ex(GRP_ID_ROOT, GRP_ID_AUTO_GEN, vm_dialer_proce, NULL, MMI_FRM_NODE_SMART_CLOSE_FLAG); g_vm_dialer_id = cui_dialer_create(parent_id); if (g_vm_dialer_id <= 0) { return -2; } if (phone_num) { cui_dialer_set_dial_string(g_vm_dialer_id, (WCHAR *)phone_num); } cui_dialer_run(g_vm_dialer_id); #else vm_dialer_launch_adp((VMSTR)phone_num); #endif return 0; }
/***************************************************************************** * FUNCTION * SSCHandleIMEI * DESCRIPTION * Send req to get the IMEI number * PARAMETERS * void * RETURNS * void *****************************************************************************/ void SSCHandleIMEI(void) { /*----------------------------------------------------------------*/ /* Local Variables */ /*----------------------------------------------------------------*/ /*----------------------------------------------------------------*/ /* Code Body */ /*----------------------------------------------------------------*/ #ifndef __COSMOS_MMI_PACKAGE__ mmi_frm_group_create_ex(GRP_ID_ROOT, SCR_ID_DUMMY, NULL, NULL, MMI_FRM_NODE_SMART_CLOSE_FLAG); scrn_dummy_entry(); #endif ClearInputEventHandler(MMI_DEVICE_ALL); /* send message and wait response in the same screen and no input can be accepted */ //memset(gstrIMEI, 0x00, sizeof(gstrIMEI)); mmi_ssc_handle_imei(MOD_L4C,mmi_ssc_get_imei_rsp); }