Forward a BlackBerry official English information link, see the bottom of the page.
Good information, especially the Phone.addphonelistener () section, said more clearly, the need to achieve listener, and Phone.addphonelistener (Phone_handler);topics within this section include:BlackBerry JDE version 4.0 Package:net.rim.blackberry.api.phone the phone Class addphonelistener () Removephonelistener ( ) Getcall () Getactivecall () The PhoneCall Class getcallid () getdisplayphonenumber () Getdtmftones () GetElapsedTime () GetStatus () getstatusstring () isoutgoing () Senddtmftone () Senddtmftones () The Calllog class the Phonelogs class AddCall () AddListener () () Callat () Deletecall () getinstance () Numberofcalls () RemoveListener () Phonelogs.swapcall () Phonecalllog class Getparticipant () GetType () phonecalllog.setparticipant () SetType class Conferencephonecalllog.addparticipant () Getparticipantat () numberofparticipants () Removeparticipantat () Setparticipantat () The Phonecalllogid Class phonecalllogid.getaddressbookformattednumber () getName () GetNumber () SetName () Invoke phonearguments in closing ...
Http://na.blackberry.com/eng/devjournals/resources/journals/jan_2005/api_spotlight_phone.jsp#phone_addPhoneListener