protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // this.Window.AddFlags(WindowManagerFlags.Fullscreen);

            mXWalkInitializer = new XWalkInitializer(this, this);
            mXWalkInitializer.InitAsync();

            SetContentView(Resource.Layout.XWalkView);

            xwv = (Org.Xwalk.Core.XWalkView)FindViewById(Resource.Id.xwalkview);

            hh = new AppPreferences(this);
        }
Exemple #2
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            mXWalkInitializer = new XWalkInitializer(this, this);
            mXWalkInitializer.InitAsync();

            SetContentView(Resource.Layout.Main);

            // xwv.SetWebChromeClient(new WebChromeClient());
            // xwv.SetWebViewClient(new SampleWebViewClient(xwv));
            xwv.SetResourceClient(new SampleXWalkWebViewClient(xwv));



            xwv = (Org.Xwalk.Core.XWalkView)FindViewById(Resource.Id.xwalkview);
        }
Exemple #3
0
 protected override void OnResume()
 {
     base.OnResume();
     mXWalkInitializer.InitAsync();
 }