|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object android.telephony.PhoneStateListener sk.baka.ambient.PhoneStateHandler
final class PhoneStateHandler
Handles the phone state events and reacts appropriately.
Field Summary |
---|
Fields inherited from class android.telephony.PhoneStateListener |
---|
LISTEN_CALL_FORWARDING_INDICATOR, LISTEN_CALL_STATE, LISTEN_CELL_LOCATION, LISTEN_DATA_ACTIVITY, LISTEN_DATA_CONNECTION_STATE, LISTEN_MESSAGE_WAITING_INDICATOR, LISTEN_NONE, LISTEN_SERVICE_STATE, LISTEN_SIGNAL_STRENGTH |
Constructor Summary | |
---|---|
PhoneStateHandler(AmbientApplication context)
Creates new phone state handler. |
Method Summary | |
---|---|
void |
onCallStateChanged(int state,
String incomingNumber)
|
Methods inherited from class android.telephony.PhoneStateListener |
---|
onCallForwardingIndicatorChanged, onCellLocationChanged, onDataActivity, onDataConnectionStateChanged, onMessageWaitingIndicatorChanged, onServiceStateChanged, onSignalStrengthChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
PhoneStateHandler(AmbientApplication context)
context
- the contextMethod Detail |
---|
public void onCallStateChanged(int state, String incomingNumber)
onCallStateChanged
in class PhoneStateListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |