Inheritance: Microsoft.Xna.Framework.AndroidGameActivity
Exemplo n.º 1
0
 public override void FinishedLaunching(UIApplication app)
 {
     Instance = this;
     Application application = new Application ();
     kernel = new Kernel (application);
     kernel.Run ();
 }
Exemplo n.º 2
0
        /// <summary>
        /// The main method which loads Application.
        /// </summary>
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            Kernel.Activity = this;

            kernel = new Kernel(this);
            SetContentView(kernel.Window);

            Instance = this;
            Syderis.CellSDK.Common.Preferences.SkinXMLFileStream = Assets.Open("Content/Skin/Skin.xml");
            Syderis.CellSDK.Common.Preferences.ApplicationActivity = this;

            Application application = new Application();
            kernel.Application = application;
            kernel.Run();
        }