Monitor when the user enables/disables mobile data

前端 未结 2 854

I\'m building an app, on which I want to capture when a user enables or disables mobile data usage on his device.

I read about using android.net.conn.CONNECTIVITY_CH

2条回答
  •  旧巷少年郎
    2021-01-15 18:07

    Hey you can find what you looking for by downloading from here the sample app NetworkUsage.

提交回复
热议问题