|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITelephony
Interface used to interact with the phone. Mostly this is used by the TelephonyManager class. A few places are still using this directly. Please clean them up if possible and use TelephonyManager insteadl.
| Nested Class Summary | |
|---|---|
static class |
ITelephony.Stub
Local-side IPC implementation stub class. |
| Method Summary | |
|---|---|
void |
call(String number)
Place a call to the numer. |
void |
cancelMissedCallsNotification()
Cancels the missed calls notification. |
void |
dial(String number)
Dial a number. |
int |
disableApnType(String type)
Disable a specific APN type. |
boolean |
disableDataConnectivity()
Disallow mobile data connections. |
void |
disableLocationUpdates()
Disable location update notifications. |
int |
enableApnType(String type)
Enable a specific APN type. |
boolean |
enableDataConnectivity()
Allow mobile data connections. |
void |
enableLocationUpdates()
Enable location update notifications. |
boolean |
endCall()
End call or go to the Home screen |
int |
getCallState()
|
Bundle |
getCellLocation()
|
int |
getDataActivity()
|
int |
getDataState()
|
boolean |
handlePinMmi(String dialString)
Handles PIN MMI commands (PIN/PIN2/PUK/PUK2), which are initiated without SEND (so dial is not appropriate). |
boolean |
isDataConnectivityPossible()
Report whether data connectivity is possible. |
boolean |
isIdle()
Check if the phone is idle. |
boolean |
isOffhook()
Check if we are in either an active or holding call |
boolean |
isRadioOn()
Check to see if the radio is on or not. |
boolean |
isRinging()
Check if an incoming phone call is ringing or call waiting. |
boolean |
isSimPinEnabled()
Check if the SIM pin lock is enabled. |
boolean |
setRadio(boolean turnOn)
Set the radio to on or off |
boolean |
showCallScreen()
If there is currently a call in progress, show the call screen. |
boolean |
supplyPin(String pin)
Supply a pin to unlock the SIM. |
void |
toggleRadioOnOff()
Toggles the radio on or off. |
void |
updateServiceLocation()
Request to update location information in service state |
| Methods inherited from interface android.os.IInterface |
|---|
asBinder |
| Method Detail |
|---|
void dial(String number)
throws RemoteException
number - the number to be dialed. If null, this
would display the Dialer screen with no number pre-filled.
RemoteException
void call(String number)
throws RemoteException
number - the number to be called.
RemoteException
boolean showCallScreen()
throws RemoteException
RemoteException
boolean endCall()
throws RemoteException
RemoteException
boolean isOffhook()
throws RemoteException
RemoteException
boolean isRinging()
throws RemoteException
RemoteException
boolean isIdle()
throws RemoteException
RemoteException
boolean isRadioOn()
throws RemoteException
RemoteException
boolean isSimPinEnabled()
throws RemoteException
RemoteException
void cancelMissedCallsNotification()
throws RemoteException
RemoteException
boolean supplyPin(String pin)
throws RemoteException
pin - The pin to check.
RemoteException
boolean handlePinMmi(String dialString)
throws RemoteException
dial is not appropriate).
dialString - the MMI command to be executed.
RemoteException
void toggleRadioOnOff()
throws RemoteException
RemoteException
boolean setRadio(boolean turnOn)
throws RemoteException
RemoteException
void updateServiceLocation()
throws RemoteException
RemoteException
void enableLocationUpdates()
throws RemoteException
RemoteException
void disableLocationUpdates()
throws RemoteException
RemoteException
int enableApnType(String type)
throws RemoteException
RemoteException
int disableApnType(String type)
throws RemoteException
RemoteException
boolean enableDataConnectivity()
throws RemoteException
RemoteException
boolean disableDataConnectivity()
throws RemoteException
RemoteException
boolean isDataConnectivityPossible()
throws RemoteException
RemoteException
Bundle getCellLocation()
throws RemoteException
RemoteException
int getCallState()
throws RemoteException
RemoteException
int getDataActivity()
throws RemoteException
RemoteException
int getDataState()
throws RemoteException
RemoteException
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||