how to read msg frm inbox. | developer.brewmp.com how to read msg frm inbox. | developer.brewmp.com

Developer

how to read msg frm inbox.

Forums:

hi...
can any one tell me how to read msg frm inbox...
i m using ISMSSTORAGE_ReadMsg to read msg...wat i dont knw wat value i hv to gv in callback function....
so can any body help me.....

thanx in advance.........

you need to create AEECallback variable in pMe:
AEECallback cb;
and initilize as follows:
CALLBACK_Cancel(&pMe->cb);
CALLBACK_Init(&pMe->cb, ReadSMS, (void*)pMe); // ReadSMS is function
make sure you call CALLBACK_Cancel before calling CALLBACK_Init.

you need to create AEECallback variable in pMe:
AEECallback cb;
and initilize as follows:
CALLBACK_Cancel(&pMe->cb);
CALLBACK_Init(&pMe->cb, ReadSMS, (void*)pMe); // ReadSMS is function
make sure you call CALLBACK_Cancel before calling CALLBACK_Init.