- 博客(5)
- 收藏
- 关注
原创 C#如何生成图种
//以下三个路径都是完整路径,含后缀名 var path1 = @"图片路径";//.jpg var path2 = @"rar或者7z路径";//.7z||.rar var path3 = @"生成路径";//.jpg const int rbuffer = 1024; FileStream fs1 = new FileStream(path1, FileMode.Open, File
2016-12-20 22:28:13 408
原创 安卓开发 listviev异步加载网络图片
将这个类写在listviev对应的activit中 private class asyncIma extends AsyncTask { Bitmap bitmapTemp21; ImageView des; public asyncIma(ImageView imageView) { des=imageView; } @Ove
2016-11-03 22:33:22 469
原创 UWP保存网页到本地
布局文件 x:Class="webrequestWeb.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:
2016-05-25 09:46:42 1362
转载 UWP 带有header的webrequest请求
HttpRequestMessage httpRequestMessage = new HttpRequestMessage( HttpMethod.Post, new Uri("http://www.contoso.com")); httpRequestMessage.Content = new HttpStringContent("hello, world"); httpRequest
2016-05-24 23:07:44 1210
原创 UWP将图片保存到相册的文件下
async void IsSave(string uri) { try { List allbytes = new List(); using (var response = await HttpWebRequest.Create(uri).GetResponseAsync()) { using (Stream responseStream = response.GetResponseStream
2016-05-07 01:31:34 1227
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人