Hi,
I am developing an application for people with disabilities (down
syndrome and so on) and I need to take the control of Data Connection.
My application sends information about the phone activity to a server
that is very useful for people wiht disabilities parents to know what
their kids are doing.
So i would like to force the data connection to be always active.
I can detect the Airplane mode ON and change it to OFF with:
Settings.System.putInt(context.getContentResolver(),Settings.System.AIRPLANE_MODE_ON,
0);
Intent intent = new Intent(Intent.ACTION_AIRPLANE_MODE_CHANGED);
intent.putExtra("state", 0);
context.sendBroadcast(intent);
And i would like to do the same with data connecion, in the case a
user change to no active I would like to change to active data
connection automaticly.
is that possible?
Thanks in advance.
--
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