Unity integration with Android

Hi all,

I have some question on Unity integration with Android.

I am able to launch the Unity Game from Android application successfully by following the Steps from this link “http://unity3d.com/support/documentation/Manual/Android-Integrating%20Unity%20With%20Eclipse.html

Now the game launches as soon as the app starts. Instead of this I want to launch the Unity game by Clicking a button. If some one knows the solution please reply back.

Thanks in Advance,
Vamsi.

Instead of just extending UnityPlayerActivity, check its source code on <UNITY_INSTALLATION_PATH>\Editor\Data\PlaybackEngines\androidplayer\src\com\unity3d\player. Based on that, you can create your own Activity and launch the UnityPlayer when needed.

Gus