I have an app Android that send file on pc via wifi network This is the example followed
The files is 1-2 Gygabyte, and so the transfer time is tens of minutes
After the start of the transfer operations, the user interface is completely frozen, meaning that even if the transfer takes place in the background the user interface seems to be heavily affected
How do I allow the user interface to be used when transferring big dimensions files?
The actual uploading happens in the background. The UI shouldn't be frozen. The performance might be degraded but it shouldn't be frozen.
With that said, it is very problematic to upload 2gb file like this. If you have control over the server then it is better to create a jServer that accepts the files in chunks and allows your app to resume uploads.
I tried the first suggestion, and already with the Wait For ... it works leaving time for the user interface to react
And so for me it is already enough like this