I second that, but how do we make it happen? I've been testing the code in post #23 for the past 24 hours and no problems yet. When I leave wifi coverage, my phone switches to mobile connection and when I return to known wifi coverage, it automatically connects and the connection does not revert to 'Manually used'.