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
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
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
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
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
5 matches
Mail list logo