I think this has been asked before, but I really need to deal with this issue now.
On Android, it's currently not possible to separate Juce's GUI features from its core features. The main reason is because everything Android-related is linked to a Juce Activity. This makes impossibile to use the core features in a context where no GUI and Main Activity can be instantiated.
Now, since in Juce it's already possible to use those features on a BSD/linux platform, I would like to propose the following changes:
- remove linkage to JuceAppActivity (JUCE_ANDROID_ACTIVITY_CLASSNAME, JUCE_ANDROID_ACTIVITY_CLASSPATH)
- remove all JNI connections
- expose the necessary methods to configure Juce's environment as C or C++ functions (working directories, environment, etc.), so these can be called by another JNI bridge that isn't based on an Activity