public override void FinishedLaunching (UIApplication app) { // Fun begins.. game = new Game1(); game.Run(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); #if OUYA Ouya.Console.Api.OuyaFacade.Instance.Init(this, "f3366755-190b-4b95-af21-ca4a01a99478"); // Our UUID dev ID #endif Game1.Activity = this; var game = new Game1(); var frameLayout = new FrameLayout(this); frameLayout.AddView(game.Window); this.SetContentView(frameLayout); //SetContentView(game.Window); game.Run(GameRunBehavior.Asynchronous); }