摘要:
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 阅读全文
摘要:
简洁弹出方式: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 阅读全文
摘要:
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(); 阅读全文