摘要: private void Btn_Click(object sender, EventArgs e) { var u = FindViewById(Resource.Id.editText1).Text; var p = FindViewById(Resource.Id.editText2).Text; var progressDialog = ProgressDialog... 阅读全文
posted @ 2015-06-11 17:49 czcz1024 阅读(419) 评论(0) 推荐(0) 编辑
摘要: public override bool OnKeyDown([GeneratedEnum]Keycode keyCode, KeyEvent e) { if (keyCode == Keycode.Back) { Finish(); System.Environment.Exit(0); } return base.OnKeyDow... 阅读全文
posted @ 2015-06-11 16:52 czcz1024 阅读(1040) 评论(0) 推荐(0) 编辑
摘要: 跳转无需intent,直接给要跳转的activity的type就可以了 StartActivity(typeof(Login)); 阅读全文
posted @ 2015-06-11 16:33 czcz1024 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 读 PreferenceManager.GetDefaultSharedPreferences(this).GetInt("uid", 0); 写 var editor = PreferenceManager.GetDefaultSharedPreferences(this).Edit(); editor.PutInt("uid", id); editor.Apply(); 阅读全文
posted @ 2015-06-11 16:31 czcz1024 阅读(336) 评论(0) 推荐(0) 编辑