コード例 #1
0
        // http://www.samsung.com/us/support/owners/product/GT-I9250TSGGEN

		protected override void onCreate(Bundle savedInstanceState)
		{
            ScriptCoreLib.Android.ThreadLocalContextReference.CurrentContext = this;


			base.onCreate(savedInstanceState);
            
            // USB tether 
            // SAMSUNG Android USB Remote NDIS Network Device

            ((WifiManager)this.getSystemService(Context.WIFI_SERVICE)).createWifiLock(
                WifiManager.WIFI_MODE_FULL_HIGH_PERF,
                "InteractivePortForwarding"
                ).acquire();

			var r = default(global::ScriptCoreLib.Android.Windows.Forms.IAssemblyReferenceToken_Forms);

			var u = new UserControl1();

			u.AttachTo(this);
		}
コード例 #2
0
        // http://www.samsung.com/us/support/owners/product/GT-I9250TSGGEN

        protected override void onCreate(Bundle savedInstanceState)
        {
            ScriptCoreLib.Android.ThreadLocalContextReference.CurrentContext = this;


            base.onCreate(savedInstanceState);

            // USB tether
            // SAMSUNG Android USB Remote NDIS Network Device

            ((WifiManager)this.getSystemService(Context.WIFI_SERVICE)).createWifiLock(
                WifiManager.WIFI_MODE_FULL_HIGH_PERF,
                "InteractivePortForwarding"
                ).acquire();

            var r = default(global::ScriptCoreLib.Android.Windows.Forms.IAssemblyReferenceToken_Forms);

            var u = new UserControl1();

            u.AttachTo(this);
        }