摘要: public class Option { public string OptionName { get; set; } public string URL { get; set; } public string Username { get; set; } public string Password { get; set; } } public class CCTVConfig { static ISharedPreferences preference = null; public static void Save(Activity a, List<Option> optio 阅读全文
posted @ 2012-10-17 17:42 静艳 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 简洁弹出方式:Toast.MakeText(mContext,"Hello", ToastLength.Short).Show(); 使用.net开发安卓,以下是 AlertDialog与ProgressDialog的使用#region AlertDialog public static void AlertDialog(Context ctx, string title, string msg) { AlertDialog.Builder ad = new AlertDialog.Builder(ctx); ad.SetTitle(title); //ad.SetTitl 阅读全文
posted @ 2012-10-17 17:27 静艳 阅读(601) 评论(0) 推荐(1) 编辑
摘要: Microsoft.Phone.Tasks.WebBrowserTask task = new Microsoft.Phone.Tasks.WebBrowserTask(); task.Uri = new Uri("http://www.windowsphone.com/s?appid=bb62cb87-2015-4c0c-adf7-fe79c74ad3ac", UriKind.Absolute); task.Show(); 阅读全文
posted @ 2012-10-17 17:24 静艳 阅读(277) 评论(0) 推荐(0) 编辑