There is a mechanism called UPL (or APL?) through which it is possible to modify the Android manifest and Activity class.
For example this plugin adds some Java methods to the Activity class and calls them through JNI.
It would be interesting to know the list of available commands.
Is there any reference or documentation about this feature?
And if not, which source file could I see to find out more about it?
Fragment of the example library: adding a method to Activity class:
<gameActivityClassAdditions>
<insert>
public boolean AndroidThunkJava_CheckInternetConnection()
{
....
}
</insert>
</gameActivityClassAdditions>
Currently the comment block at the top of UnrealPluginLanguage.cs is the best documentation for UPL. There are some of plugins using UPL which you may reference in Engine/Plugins for example usage.
I didn’t use C# for this to remove the need for compiling and for more flexibility in controlling optional sections.