Android JNI/NDK Application Context

Android JNI/NDK Application Context

I'm using JNI to get the music library from Android with Qt. I call upon
the following Java method (which is already implemented),
public String getArtists(Context context)
...
I need to be able to get the Context of the application in order for it to
work.
If it helps, when I was using Java, the following code provided the
correct context.
MainActivity.this
Could anybody be of assistance in this problem?
Many thanks!