protected override void OnPause () { Options options = AndroidRunner.Runner.Options; options.EnableNetwork = remote.Value; options.HostName = host_name.Value; options.HostPort = GetPort (); options.Save (this); base.OnPause (); } }