I'm already initializing it inside an activity and am able to catch all errors from the application. However, SyncAdapter is a special case because the application need not be running for a sync to take place.

I would like to capture the errors from sync service also and since there is no running application, the main thread does not have a looper prepared to receive messages. I think posting the messages from a new thread gives users more flexibility because they need not worry about the thread on which Sentry is initiated.