7
ブラックベリーでは、電話が鳴る直前と直後に発生する可能性がある、露出したイベントはありますか?電話が鳴っているときまたは会う前に、どのようにしてイベントを起こすことができますか?
あなたはその場でリング設定を無効にすることができますか?番号が999-9999であればそれは鳴りませんか?
ブラックベリーでは、電話が鳴る直前と直後に発生する可能性がある、露出したイベントはありますか?電話が鳴っているときまたは会う前に、どのようにしてイベントを起こすことができますか?
あなたはその場でリング設定を無効にすることができますか?番号が999-9999であればそれは鳴りませんか?
非常に可能です。 「電話イベント」に接続して電話リスナーを作成する必要があります。 文書にはこれに関するいくつかのヒントがあります。あなたの好きなJava IDEを起動してください!
http://na.blackberry.com/eng/deliverables/1076/development.pdf(ページ190を見て回る)
Listen for phone events. >Implement the PhoneListener interface.
Register the phone listener. >Invoke Phone.addPhoneListener().
Remove a phone listener. >Invoke removePhoneListener().
新しいコールが、それは着信(int型)コールバックを使用しています到着。もっとたくさんある:
A call is added to a conference call.
callAdded(int)
A BlackBerry® device user answers a call (user driven).
callAnswered(int)
A conference call is established.
callConferenceCallEstablished(int)
The network indicates a connected event (network driven).
callConnected(int)
A direct-connect call is connected.
callDirectConnectConnected(int)
A direct-connect call is disconnected.
callDirectConnectDisconnected(int)
A call is disconnected.
callDisconnected(int)
A BlackBerry device user ends the call.
callEndedByUser(int)
A call fails.
callFailed(int, int)
A new call arrives.
callIncoming(int)
The BlackBerry device initiates an outgoing call.
callInitiated(int)
A call is removed from a conference call.
callRemoved(int)
A held call resumes.
callResumed(int)
A call is waiting.
callWaiting(int)
A conference call is ended (all members are disconnected).
conferenceCallDisconnected(int)