[android-developers] Re: File upload in background: thread/service/AIDL...?

2010-03-01 Thread Anna PS
Brilliant, thank you! So I'm clear, is the best sequence as follows: 1. call a (local) Service 2. from within the Service, call an ASyncTask to initiate a new thread 3. from within the new thread, call the Notifications and file uploading code Also, I need to pass in a filename to the file

Re: [android-developers] Re: File upload in background: thread/service/AIDL...?

2010-03-01 Thread Mark Murphy
Anna PS wrote: Also, I need to pass in a filename to the file uploading code - that wouldn't change anything, I assume it's possible to pass a filename to a Service class as an argument? In a manner of speaking. It really kinda depends on what else you're using this Service for. -- Mark

[android-developers] Re: File upload in background: thread/service/AIDL...?

2010-03-01 Thread Anna PS
Nothing, really. I just want to upload a file in the background, with an icon in the status bar, and update the icon when the upload is complete. I might possibly want to call the main application back again when the upload is complete or if there is a problem, but I don't expect to use the

Re: [android-developers] Re: File upload in background: thread/service/AIDL...?

2010-03-01 Thread Mark Murphy
Anna PS wrote: Nothing, really. I just want to upload a file in the background, with an icon in the status bar, and update the icon when the upload is complete. I might possibly want to call the main application back again when the upload is complete or if there is a problem, but I don't

[android-developers] Re: File upload in background: thread/service/AIDL...?

2010-03-01 Thread Anna PS
Superb - thank you :) On Mar 1, 5:31 pm, Mark Murphy mmur...@commonsware.com wrote: Anna PS wrote: Nothing, really. I just want to upload a file in the background, with an icon in the status bar, and update the icon when the upload is complete. I might possibly want to call the main