Hi,

I need to find a way to enable / disable mobile data (the thing you
can manually enable / disable in Settings->Wireless->Mobile Network
(android 2.1)

But I can't find any API for that!

For WIFI, there's a method setWifiEnabled(boolean) on the class
WifiManager.
But I can't find anything like that for the data network... no method
for this on TelephonyManager or ConnectivityManager

Isn't it possible to programmatically enable / disable mobile data?

Any idea?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to