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?
– Don't Panic
Follow code to activate wifi Wifimanager wifi = (Wifimanager) getSystemService(Context.WIFI_SERVICE); wifi.setWifiEnabled(true);
– Juliano Morche