Thursday, February 21, 2013

Re: [android-developers] How to enable data roaming programmatically?

Data roaming can cost a significant amount of money. I think that's also the reason why an ordinary "user land" app cannot switch it on. Just think of the possible exploitation. It's good that it does not work.

On Thursday, February 21, 2013 9:00:24 PM UTC-6, Suraj wrote:

Is there a way to turn on data roaming programmatically?
I m writing an app to turn on Wi-Fi, Mobile data, and data roaming.
I have found ways to turn on Wi-Fi and mobile dat
I have tried 

ServiceState serviceState = new ServiceState(); serviceState.setRoaming(true);

but this doesn't work.. 

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate