I am launching a Unity activity from a parent or "shell" app. I want to be able to pass it a bundle that has preferences for animations. I.E. color maps, language etc...
Intent intent = new Intent(); intent.setComponent(new ComponentName( "com.qualcomm.QCARUnityPlayer", "com.qualcomm.QCARUnityPlayer.PlayerActivity")); intent.putExtra("BACK_GROUND_COLOR", "RED" ); startActivity(intent);
Does anyone have an example of extracting the bundle after launching the Unity activity?
Also, is there an example of actually exiting the Unit/QCAR app. The only mechanism I have found was the home key which only suspends the app, and does not exit.
Right now, I am going to the application manager to force close the Unity activity.
Sorry if these are noob questions.