> Opinions/advice?

Further to Nick's input, this sounds perfectly like an intent-driven service. 
Hang it off Fennec launch, network state, whatever else you think is a suitable 
trigger, short-circuit quickly, and job done.

Looking at some of the services we already have under /background/ in the 
mobile tree might be useful.

This shouldn't be a big rewrite -- the core upload work should be entirely 
untouched, you would just call it after a couple of checks in 
IntentService#handleIntent, rather than AbstractThreadedSyncAdapter#performSync.
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to