*** Does NOT work on Android 4.2 or higher due to new permissions scheme ***
Problems with your 3G connection? Does your phone lose data signal and, often, is not able to reconnect (despite having network coverage), leaving you without emails until you realize and then you must turn flight mode on and off to get back in business? That is a known issue that affects some people, and seems to be caused by some combinations of Carrier / Phone model. If all of this sounds familiar to you, try this application. I built it for my own usage since I was affected too.
3G Reconnect checks data connectivity at fixed intervals and, if needed, restarts data connections in the background by turning flight mode on and off for you. You won't miss emails or chats anymore, at least while you're in an area with data coverage.
Don't worry: it won't restart anything if you're in a phone call or if you're connected to a Wi-Fi network. Likewise, it won't try this trick if you're in an area with no network coverage at all (it would be useless), or if you disabled the data connections from the Android setting.
Please send me an email if you find any problem or bug, or if you have any suggestion to improve the tool.
*** Removed the app from the Store for Android versions higher than 4.1 ***