java - Android best method to send files from client to server when network is not stable -


i'm using httpurlconnection send files server android application. it's working fine when network stable.

whenever network not stable , i'm sending files again , again server data missing.

can 1 tell me whether socket implementation solve issue? or other solution me in handling scenario?

thanks in advance.

you should check network failure test cases.when network failure while data transfering , should maintain list of items not sent.when network connected,then try send remaining items.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -