The getApplication() method is located in the Activity class, that’s why you can’t access it from your helper class.
If you really need to access your application context from your helper, you should hold a reference to the activity’s context and pass it on invocation to the helper.