0

3G 开启或关闭时是否有任何广播事件?

现在我正在尝试接收以下事件:

<receiver android:name="tw.com.xxx">
  <intent-filter>
    <action android:name="android.net.wifi.STATE_CHANGE" /> <!-- for test -->
    <action android:name="android.net.nsd.STATE_CHANGED" /> <!-- Seems not 3G event -->
  </intent-filter>
</receiver>

似乎它们根本不是 3G 事件。

我应该收到哪个动作来监控 3G 已打开/关闭?

有什么办法知道3G是打开还是关闭?

欢迎任何建议:-)

4

0 回答 0