Activating Mobile Data

Asked

Viewed 56 times

0

I want a button that activates and deactivates the mobile data through my app. wifi I can already manipulate, but the mobile data did not find the form.

  • Could post the code you used to connect to wifi?

  • Follow code to activate wifi Wifimanager wifi = (Wifimanager) getSystemService(Context.WIFI_SERVICE); wifi.setWifiEnabled(true);

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.