Build 1.0_r1(from source)

android.webkit.gears
Class AndroidRadioDataProvider

java.lang.Object
  extended by android.telephony.PhoneStateListener
      extended by android.webkit.gears.AndroidRadioDataProvider

public final class AndroidRadioDataProvider
extends PhoneStateListener

Radio data provider implementation for Android.


Nested Class Summary
static class AndroidRadioDataProvider.RadioData
          Simple container for radio data
 
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
AndroidRadioDataProvider(WebView webview, long object)
          Public constructor.
 
Method Summary
 void onCellLocationChanged(CellLocation location)
          Callback invoked when device cell location changes.
 void onServiceStateChanged(ServiceState state)
          Callback invoked when device service state changes.
 void onSignalStrengthChanged(int asu)
          Callback invoked when network signal strength changes.
 void shutdown()
          Should be called when the provider is no longer needed.
 
Methods inherited from class android.telephony.PhoneStateListener
onCallForwardingIndicatorChanged, onCallStateChanged, onDataActivity, onDataConnectionStateChanged, onMessageWaitingIndicatorChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndroidRadioDataProvider

public AndroidRadioDataProvider(WebView webview,
                                long object)
Public constructor. Uses the webview to get the Context object.

Method Detail

shutdown

public void shutdown()
Should be called when the provider is no longer needed.


onServiceStateChanged

public void onServiceStateChanged(ServiceState state)
Description copied from class: PhoneStateListener
Callback invoked when device service state changes.

Overrides:
onServiceStateChanged in class PhoneStateListener
See Also:
ServiceState.STATE_EMERGENCY_ONLY, ServiceState.STATE_IN_SERVICE, ServiceState.STATE_OUT_OF_SERVICE, ServiceState.STATE_POWER_OFF

onSignalStrengthChanged

public void onSignalStrengthChanged(int asu)
Description copied from class: PhoneStateListener
Callback invoked when network signal strength changes.

Overrides:
onSignalStrengthChanged in class PhoneStateListener
See Also:
ServiceState.STATE_EMERGENCY_ONLY, ServiceState.STATE_IN_SERVICE, ServiceState.STATE_OUT_OF_SERVICE, ServiceState.STATE_POWER_OFF

onCellLocationChanged

public void onCellLocationChanged(CellLocation location)
Description copied from class: PhoneStateListener
Callback invoked when device cell location changes.

Overrides:
onCellLocationChanged in class PhoneStateListener

Build 1.0_r1(from source)

Please submit a feedback, bug or feature