Question: Is there a (simple) possibility for turning the mobile network on/off with Java code?
If so, for mobile service too?
'Cause I'd like to make an app which turns the network on and service off (or the opposite).

Thanks for help.

Answer: 
The wireless network you can turn on by the following code:

```
WifiManager wifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
wifiManager.setWifiEnabled(true);

```
You need permissions to do that. I think CHANGE\_WIFI\_STATE is the right one.