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

Developer

Forums

Forums:

Hi every one

my application require to browse the address book and fatch the contect from address book and then make a call.

is it possible that the application open the address book and user select the contect and use that contect to make a call if yes then haw is it possible. please give me some guidline to do it.

thanks to all

Yes, it should be possible, assuming the handset supports it. I don't know of any handsets that don't support the address book and making voice calls in BREW, but I haven't tried it on a lot of handsets, so I couldn't say for sure. To get the user's contacts you will want to look at IAddrBook, specifically IADDRBOOK_EnumRecInit and IADDRBOOK_EnumNextRec. To make a phone call you will want to look at ITAPI, specifically ITAPI_MakeVoiceCall.

Yes, it should be possible, assuming the handset supports it. I don't know of any handsets that don't support the address book and making voice calls in BREW, but I haven't tried it on a lot of handsets, so I couldn't say for sure. To get the user's contacts you will want to look at IAddrBook, specifically IADDRBOOK_EnumRecInit and IADDRBOOK_EnumNextRec. To make a phone call you will want to look at ITAPI, specifically ITAPI_MakeVoiceCall.

Thanks for quick reply, Greg
Hi friend actualy fist problem is that how can i browse the address book. I want open the address book and select the contect from address book can you please give me some sample code if you have please it is urgent
i am thankful to you.
dear friend i do some thing like that as you saying but the address book is not open but i can read the contact through code
thanks to all

Thanks for quick reply, Greg
Hi friend actualy fist problem is that how can i browse the address book. I want open the address book and select the contect from address book can you please give me some sample code if you have please it is urgent
i am thankful to you.
dear friend i do some thing like that as you saying but the address book is not open but i can read the contact through code
thanks to all

You can't open the phone's address book application and use it to select a contact. You will need to use IAddrBook to get the contacts from the address book and then display the list of contacts yourself.
-Erik

You can't open the phone's address book application and use it to select a contact. You will need to use IAddrBook to get the contacts from the address book and then display the list of contacts yourself.
-Erik

Thanks for quick reply,ebrowne
ok it means i can read the contect from the address book and i will make the function that will behave like address book .
thanks to all

Thanks for quick reply,ebrowne
ok it means i can read the contect from the address book and i will make the function that will behave like address book .
thanks to all