Problem in loading phone driver phonetsy.tsy
| Fri, 2006-03-24 07:29 | |
|
Hi ,
I am writing an app for the P900i ( UIQ ) . I need a module to notify on incomming call .. I am able to do this on Series 60 but when i try to load the driver for UIQ P900i .. it gives error . Can any buddy tell me what is the way out .. My understanding is that i need to load the right device driver of the phone for P900i family .. I don't know the device driver for p900i .... If i am right just tell me the .tsy name for this family I am giving below the code piece .. and indicating the place where i get the error User::LeaveIfError(iServer.Connect()); //Load in the phone device driver         /**** error : not able to load device drive here i am using 'phonetsy.tsy' for KTsyName ****/ User::LeaveIfError(iServer.LoadPhoneModule(KTsyName)); //Find the number of phones available from the tel server TInt numberPhones; User::LeaveIfError(iServer.EnumeratePhones(numberPhones)); //Check there are available phones if (numberPhones < 1) { User::Leave(KErrNotFound); } //Get info about the first available phone RTelServer::TPhoneInfo info; User::LeaveIfError(iServer.GetPhoneInfo(0, info)); //Use this info to open a connection to the phone, the phone is identified by its name User::LeaveIfError(iPhone.Open(iServer, info.iName)); //Get info about the first line from the phone RPhone::TLineInfo lineInfo; User::LeaveIfError(iPhone.GetLineInfo(0, lineInfo)); User::LeaveIfError(iLine.Open(iPhone, lineInfo.iName)); Please help .. any pointer will be of great help Regards Veeraj Thaploo |
|






Forum posts: 112
server.GetTsyName (0, iTsyName);
iTsyName.Append (_L(".tsy"));
Bye,
Gábor
Forum posts: 3
check this: http://www3.symbian.com/faq.nsf/0/D1F6A2714BDE4B8880256E320052409A?OpenDocument
Regards,
Ivey