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
Post a Comment