Android Question Connectivity Change HTTP Request

Derek Jee

Active Member
Licensed User
Hello there

Can you answer this for me. Simply put, I am sending an HTTP request to an API which contains a string which will update a database. If I have wifi and it changes to 3g for example half way through the send will it just carry on or will it fail? I am assuming it just carries on sending but would love to know..

Many thanks,


Peter Simpson

Licensed User
I presume that it would fail, actually I'm sure of it.
When I'm streaming video late it night, when my IP address changes at midnight my stream stops, I have to click play again. I'm presuming that in your case switching from WiFi to 3G/4G etc would have the exact same effect. Not only does will the IP address and MAC address change (be different), but the whole route that the data on your device takes (hops) to get to its point of destination will also change.

So as far as I'm concerned it will fail without a doubt...