Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi,

This is the code I am using to calculate MIN. But I am getting 0 as MIN on some handsets. How could this be possible ?

Thank you.

Code :

if( SUCCESS != ISHELL_CreateInstance( engine->m_pIShell, AEECLSID_TAPI, (void **)( &pITAPI ) ) )
{
goto err;
}

if (pITAPI)
{
ITAPI_GetStatus(pITAPI, &ps);
pwszTemp=(char*)MALLOC(20);
STRCPY(pwszTemp,ps.szMobileID);

iLen=STRLEN(pwszTemp);
MEMSET(_rapmin,'\0',ARRAY_SIZE(_rapmin));
for(i=iLen-10;i

You can simple use AEE_DEVICEITEM_MOBILE_ID item id in ISHELL_GetDeviceInfoEx(). This will return MIN.
Pls refer BREW Api reference for more information.
Thanks,
Mahesh

You can simple use AEE_DEVICEITEM_MOBILE_ID item id in ISHELL_GetDeviceInfoEx(). This will return MIN.
Pls refer BREW Api reference for more information.
Thanks,
Mahesh

smahesh wrote:You can simple use AEE_DEVICEITEM_MOBILE_ID item id in ISHELL_GetDeviceInfoEx(). This will return MIN.
Pls refer BREW Api reference for more information.
Thanks,
Mahesh
Why this method return EUNSUPPORT ?
I tried on the handset device.

smahesh wrote:You can simple use AEE_DEVICEITEM_MOBILE_ID item id in ISHELL_GetDeviceInfoEx(). This will return MIN.
Pls refer BREW Api reference for more information.
Thanks,
Mahesh
Why this method return EUNSUPPORT ?
I tried on the handset device.