Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
How do you turn on/off mobile data in gingerbread or ICS without changing APN names? ACTION_MODIFY_PHONE_STATE is blocked but somehow market apps are still pulling it off.
Post Body

Basically what the title says. I'm trying to make an application that toggles data, 2g/3g, wifi, etc based on screen on/off or if the phone is locked.

However, I'm finding that using telephony has been blocked in gingerbread and APN changing has been blocked in ICS. These are the only options I am finding, but somehow applications on the market are still achieving this. (Extended Controls for example)

Does anyone know another way that this is possible, or at least another approach I could investigate further and maybe make work?

Thanks for your help in advance!

(Also, if root MUST be requested I suppose it's better than nothing, but I'd prefer to make this application not require root, like Extended Controls.)

Author
Account Strength
90%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,640
Link Karma
1,011
Comment Karma
629
Profile updated: 1 day ago
Posts updated: 2 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
12 years ago