Is it possible to use Android Java Libraries in UE4 Game (OUYA SDK, Google Play Game Services, etc.)?

Is it possible to use Java Libraries in UE4 Game such as OUYA SDK or Google Play Services and Google Play Services?

P.S.: Is there support for a Eclipse project for your Android UE4 game?

Yes, as you may now all Android applications are in Java and native code is executed by java apis, Unreal is not exception and you can find source code to java portion of Unreal in \Engine\Build\Android\Java, there you can place Android APIs stuff and link to native code to use it (you probably will need to implement Unreal classes for them, you might look on source code for Steam Works implementation and base on that). You might find some APIs in Android NDK APIs too which you can direclly access from C++, you will need those APIs to link with Java code anyway, go study Android documentation for that.

As for Eclipse, i think it possible but not officially supported, unreal uses it’s own build system (but it gonnan use VS compilers anyway), so you need to hook right build commands. You might have problems doing that toghther with Android compilers.

I guess I worded this question wrong I mean how do you add a jar to the project. I’m not sure if you are familiar with eclipse but if you are when you right click and add jar to build path thats what I want to do is add my ouya-sdk.jar to my project.

I might be resurrecting old question but I found this in Epic Games\4.5\Engine\Build\Android\Java\src\com\epicgames\ue4\GameActivity.java

//Extending NativeActivity so that this Java class is instantiated
//from the beginning of the program. This will allow the user
//to instantiate other Java libraries from here, that the user
//can then use the functions from C++
//NOTE – This class is not necessary for the UnrealEngine C++ code
// to startup, as this is handled through the base NativeActivity class.
// This class’s functionality is to provide a way to instantiate other
// Java libraries at the startup of the program and store references
// to them in this class.

not to mention you’ll need to setup jni here but this is doubltful as lot of generalized code used by each android project is written here so may you mess up something the behavior if the current and following projects may go erratic

UE4 is now supported on OUYA. Check out the latest plugin and docs.

There is, as of this moment time, no Java support on the Unreal Engine. There is a C# plugin available however, you could probably explore how they accomplished it if you plan on making your own wrapper. However, if you have some experience in programming and prefer quality graphics as much as possible, Unreal Engine 4 is your choice. There is still no consensus on which engine is best for developing mobile games on Android because both Unity and Unreal have beneficial options. Regards - Java Training in Pune