Joined August 2011
·

codeZeilen

Berlin, Germany
·
·

Hi :)

How did you actually solve that in code. I just can't find a way to keep the Builder object between several invocations of the IntentService.

Edit: Solved it by now. You preserve the Builder simply in a static field. You lazily initialize that field on the first access. You use getApplicationContext() to get the global application context to initialize the Builder. That context will be available even when the Service is killed.

Thanks and Cheers
Patrick

Achievements
49 Karma
0 Total ProTip Views