How to make use of Virtual Phone?
I��m use VirtualPhone+simulator5.1+CW9.0 to debug my telephony application.
I finished the phone book section successfully, but when I implement number
call (voice call) section, I ran into a trouble:
The below are my source codes:
1 err = SysLibLoad(kTelMgrDatabaseType,kTelMgrDatabaseCreator, telRefNumP);
returned value err =0;(successful)
2 err = TelOpen(*telRefNumP, kTelMgrVersion, telAppIdP);
returned value err =0;(successful)
3 err = TelIsSpcServiceAvailable(telRefNum, telAppId, NULL);
returned value err =0;(successful)
4 err = TelIsSpcCallNumberSupported(telRefNum, telAppId, NULL);
returned value err =0;(successful)
5 err = TelSpcCallNumber(telRefNum, telAppId, number, NULL),number is A
pointer to the telephone number to call.
The returned value err = 0x2F20!
#define telErrorClass 0x2F00
#define telErrNoNetwork (telErrorClass | 0x20) //no network available
the two macros defined in TelephonyMgrTypes.h
how to configure the Virtual Phone? Thanks in advance.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/