using Android.App; using Android.Content.PM; using Android.OS; using Microsoft.Xna.Framework; namespace Waypoint.Android { [Activity(Label = "Waypoint", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.Keyboard | ConfigChanges.KeyboardHidden)] public class MainActivity : AndroidGameActivity { protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); var g = new WaypointGame(); SetContentView((View)g.Services.GetService(typeof(View))); g.Run(); } } }