Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Fabien
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Mar 2005
Default Call IntelliDialer from another application?

Hello,

I would like to know if IntelliDialer supports of being called from an external application with a phone number in parameter?

If yes, what is its command line or whatever?

Thanks a lot,
This is a brilliant software,
Fabien.
 
Fabien
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Mar 2005
Default auto-reply: RTFM

Well, I was looking for it... I spent time but probably not using the correct reference book...

What I wanted is finally working great; in MFC it could look like the foolowing:

BOOL CPhoneHelper::MakePhoneCall(CString strPhoneNumber, CString strCalledName)
{
WCHAR pszDestAddress[TAPIMAXDESTADDRESSSIZE];
WCHAR pszCalledParty[TAPIMAXCALLEDPARTYSIZE];
PHONEMAKECALLINFO pmci;

wcsncpy(pszDestAddress, strPhoneNumber, TAPIMAXDESTADDRESSSIZE-1);
wcsncpy(pszCalledParty, strCalledName, TAPIMAXCALLEDPARTYSIZE-1);

pmci.cbSize = sizeof(PHONEMAKECALLINFO);
pmci.dwFlags = PMCF_DEFAULT;
pmci.pszDestAddress = pszDestAddress;
pmci.pszAppName = NULL;
pmci.pszCalledParty = pszCalledParty;
pmci.pszComment = NULL;

if (PhoneMakeCall(&pmci) == 0)
return TRUE;
else
return FALSE;
}
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...