mycube ¿¡¼­ MMI¸¦ ÀÌ¿ëÇÑ ÀüÈ­°É±â ¹× SMS
 °ü·ÃÇÁ·Î±×·¥ : RA SMS

#include "MMILib.h"

/* ÁöÁ¤µÈ ÀüÈ­¹øÈ£·Î ÀüÈ­¸¦ °Ç´Ù */
STATUS PhoneCall( char *phonenum )
{
   static char telNum[MAX_TELNUM_LEN];
   strcpy( telNum, phonenum );
   return RequestToApplication( MMIAppID, REQ_MMI_CALL_WITH_RETURN, (void*)&telNum );
}

/* »õ·Î¿î ¸Þ½ÃÁö ÀÛ¼º½Ã */
STATUS SMSCall( void )
{
   return RequestToApplication( MMIAppID, REQ_MMI_COMPOSE_MSG, NULL );
}

/* ¸Þ½ÃÁö ³»¿ëÀ» ÀÛ¼ºÇÏ¿© ÆíÁý½Ã */
STATUS SMSCallwithMsg( char *m_from, char *m_to, char *m_msg )
{
   static T_MSG msg;
   strcpy( msg.pFrom, m_from );
   strcpy( msg.pTo, m_to );
   strcpy( msg.Body, m_msg );

   return RequestToApplication( MMIAppID, REQ_MMI_COMPOSE_MSG, NULL );
}


Copyright © 1998-2006 PDAProgramming.com All rights reserved.