network programming - In Android, Which is more suitable for uploading large files? a service on separate process or -


when application needs upload many large files, better solution:

1) doing on separate process (i.e. remote service)?

2) using separate thread (or asynctask)?

is there clear , definite answer this?

the application, way, uploading things time - small chunks of data. every , needs send large files, want separate mechanism 1 using. (btw small chunks using single task thread works great)

i understand asynctask one-time operations , threads better many-operations

it better use asynctask asynstask nothing thread since uploading multiple files, multithreading necessary avoid exception


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -