Like I said, you should use getApplicationContext, though the preferred way is to not keep static references at all: http://stackoverflow.com/questions/10258507/is-it-safe-to-save-the-app-context-to-a-static-variable-in-android