SyntaxFix
Write A Post
Hire A Developer
Questions
No, I don't think there is. Unfortunately, you're stuck calling getApplicationContext() from Activity or one of the other subclasses of Context. Also, this question is somewhat related.
getApplicationContext()
Activity
Context