// 获取文件路径 /** 1 *
bundle是一个目录,其中包含应用程序的所有资源,通过mainBundle 得到这个目录后就可以获取resource下的资源 */ NSString
*filePath = [[NSBundle mainBundle] pathFo...
分类:
移动开发 时间:
2014-07-22 23:13:34
阅读次数:
349
compressp_w_picpathsaccordingtogooglesuggestion.1.环境:ubuntu12.04、python2.7.32.工具:optipng、jpegoptim。3.安装工具:a.sudoapt-getinstalloptipngb.sudoapt-getinstalljpegoptim4.a.使用方法:optipng/filepath/filename.png.一个例子:optipng/home/pwprice/work/p..
分类:
编程语言 时间:
2014-05-06 15:47:33
阅读次数:
430
#if UNITY_EDITORstring filepath =
Application.dataPath + "/StreamingAssets";#elif UNITY_IPHONEstring filepath =
Application.dataPath +"/Raw";#elif UNI...
分类:
其他好文 时间:
2014-05-03 23:43:39
阅读次数:
303
保存image到databasepublic bool SaveImage(string
filePath) { bool isSuccess = false; string FilePath = filePath; s...
分类:
数据库 时间:
2014-05-01 12:24:58
阅读次数:
411
【创建目录】using
System.IO;Directory.CreateDirectory(FilePath);【使用WriteFile下载文件】private string
fileName = HttpContext.Current.Server.UrlEncode("规范.rar"); p...
分类:
其他好文 时间:
2014-04-30 23:34:03
阅读次数:
443