SyntaxFix
Write A Post
Hire A Developer
Questions
Casting a Context object to an Activity object compiles fine.
Try this:
((Activity) mContext).getApplication(...)