黑莓开发:电话状态监控,处理

转发个黑莓官方英文资料链接,见页面最下面。

 

不错的资料,特别是Phone.addPhoneListener()一节,说的比较清楚,需要实现listener,并且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()
  • The PhoneCallLog Class
    • getParticipant()
    • getType()
    • PhoneCallLog.setParticipant()
    • setType()
  • The ConferencePhoneCallLog 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

你可能感兴趣的:(Class,include,BlackBerry,黑莓,电话)