I would definitely dedicate a service for things that do persistent work in the background. There is no real advantage to using a separate process unless your upload needs a truckload of memory.
Doug On Thursday, April 18, 2013 12:21:47 AM UTC-7, AndroidCompile wrote: > > Hi, > When an application needs to upload many large files, which would be a > better solution: > 1) Doing this on a separate process (i.e. remote service)? > 2) Using a separate thread (or AsyncTask)? > > Is there a clear and definite answer to this? > > The application, by the way, is uploading things all the time - usually > very small chunks of data. > Every now and then it needs to send large files, so I want to do that with > a separate mechanism then the one I am using. > (BTW for the small chunks I am using a single task thread which works > great) > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.