problem with creating record in addressbook in Motorola K1m | developer.brewmp.com problem with creating record in addressbook in Motorola K1m | developer.brewmp.com

Developer

problem with creating record in addressbook in Motorola K1m

Forums:

Hi,

I am newbie to brew i want to know how to create the record in Motorola K1m.
i am creating the record in emulator it running fine but when i run the same code in K1m device it is not creating the record. My code is

#define AEE_ADDR_CAT_GENERAL AEE_ADDR_CAT_USER + 1

pMe->pAddrRec = IADDRBOOK_CreateRec(pMe->pAddrBook,AEE_ADDR_CAT_GENERAL,pMe->pField,2);

if anybody knows what i am doing wrong plz plz... help for that and if somebody give me some code about how to create record in K1m.

Thanks

Are you successful using other AddressBook Categories available.
Try using IADDRBOOK_GetLastError() after IADDRBOOK_CreateRec()
Can you paste your code.

Are you successful using other AddressBook Categories available.
Try using IADDRBOOK_GetLastError() after IADDRBOOK_CreateRec()
Can you paste your code.

There are different categories available. So try each one and check if it works rather directly going to the user category.

There are different categories available. So try each one and check if it works rather directly going to the user category.