I made it by following steps: Integrating Unity and Eclipse. Can I call functions (that I created with JavaScript or C# in Unity) with the Android SDK or NDK and the other way around? There are an interface between UnityPlayer and Android SDK or NDK?
Share
For whom this may help:
As @Oli mentioned, you can communicate between Unity and an Android app by using this method:
In order for this method to work, you must follow this guide: http://forum.unity3d.com/threads/71607-Integrating-Unity-and-Eclipse
You can also call Java methods from Unity C# file – http://docs.unity3d.com/Documentation/Manual/Plugins.html
You can use this code in order to start the Unity app after you add it as library to your Android project:
Hope this helps anyone… I’ve researched a lot until I found this information.