I need to add an action to an IntentFilter for detecting changes in the mobile-network.. so basically what I need is an equivalent of WifiManager.SUPPLICANT_STATE_CHANGED_ACTION
but for the MobileNetwork. but I'm not really sure what the class I'm looking for is called. Any ideas?
Asked
Active
Viewed 59 times
0

Vadim Kotov
- 8,084
- 8
- 48
- 62

Inx
- 2,364
- 7
- 38
- 55
1 Answers
1
Seems ConnectivityManager would help. It has some description in the documentation. Briefly, I think You need to:
- Register
BroadcastReceiver
withConnectivityManager.CONNECTIVITY_ACTION
- Check changed network(or all connections)

Vadim Kotov
- 8,084
- 8
- 48
- 62

sandrstar
- 12,503
- 8
- 58
- 65