I want to develop an application that disables background data (a new feature in Android 1.5) and auto-sync, and then activates the GPRS / EDGE connection and vice versa.
I figured out how to enable / disable GPRS / EDGE by changing APN settings. (a strange solution. However, Android developers could not think that the user could disable GPRS / EDGE). But I could not find a way to enable / disable the auto sync and background data.
I researched the Android code, and as I understood it, the synchronization operation is the intention. So, I wanted to contact putExtra and intend to enable / disable. But; I could not find the correct keyword. Or maybe I'm completely wrong. So I need some advice.
If you could tell me how I can do this or where I should look, I would be very happy. Thanks.
Γmer source
share