ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.DATA_USAGE_SETTINGS }

1.4k views Asked by At

In my app, I am trying to use Android's Settings.ACTION_DATA_USAGE_SETTINGS intent to open the device's Data usage screen.

The documentation for Settings.ACTION_DATA_USAGE_SETTINGS says:

Activity Action: Show settings to allow configuration of data and view data usage.

In some cases, a matching Activity may not exist, so ensure you safeguard against this.

I can obviously catch the exception but, when in that situation, is there another intent I can use to open the device's Data usage screen?

(NB - I have seen this similar question, but none of the suggestions work for me.)

0

There are 0 answers