DateTime dt = DateTime.Now;//2010年10月4日 17点05分 string str = ""; //str = string.Format("{0:y yy yyy yyyy}", dt); //10 10 2010 20...
分类:
其他好文 时间:
2014-06-27 21:18:51
阅读次数:
207
最近接受的这个项目需要Android SDK Tools revision 22.6.2 or above.,所以必须得更新SDK,然而在SDKmanager中更新android SDK 总是提示:Fetching http://dl-ssl.google.com/android/repositor...
分类:
移动开发 时间:
2014-06-26 20:41:54
阅读次数:
918
第一种:日期格式 cell.setCellValue(new Date(2008,5,5)); //set date format HSSFCellStyle cellStyle = demoWorkBook.createCellStyle(); HSSFDataFo...
分类:
其他好文 时间:
2014-06-26 18:15:38
阅读次数:
192
sscanf函数sscanf函数基本知识函数原型int sscanf( const char *buffer, const char *format [, argument ] ... );函数功能将buffer中的数据按照format格式读取后存储在argument中,返回值表示为成功转换的的数据...
分类:
其他好文 时间:
2014-06-26 15:49:14
阅读次数:
160
在进行移动端视频直播项目时遇到的问题,手机端在推的流时的是没问题的,主要现在是IOS和安卓连接CRtmpServer后进行播放时checkBW过不了,出现异常:NetConnection.Call.Failed,但连FMS服务器时能正常播放,由于用的是VLC的库,是封装好的,确定不了是哪个环节出了问题,以下是安卓与IOS开发报出来的异常截图。...
分类:
移动开发 时间:
2014-06-26 07:27:15
阅读次数:
650
问题提示:Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.Conversion to Dalvik format failed: Unable to exec...
分类:
编程语言 时间:
2014-06-25 17:18:38
阅读次数:
292
这几天百度的结果,总结一下举例说明:某网站提供发送短信接口业务接口:SERVICE_URL变量参数:username,pwd,mobiles,content返回:resultcode1、构建发送的xml或者其他形式的请求stringpostData=string.Format("ActionCode...
分类:
Web程序 时间:
2014-06-25 15:12:11
阅读次数:
230
1、格式化货币(跟系统的环境有关,中文系统默认格式化人民币,英文系统格式化美元)string.Format("{0:C}",0.2) 结果为:¥0.20 (英文操作系统结果:$0.20)默认格式化小数点后面保留两位小数,如果需要保留一位或者更多,可以指定位数 string.Format("{0:C1...
分类:
其他好文 时间:
2014-06-25 12:01:42
阅读次数:
271
android 模拟器手机如何添加文件到sd卡?在DDMS中直接添加文件到模拟器sd卡如果出现错误类似:Failed to push XXXXX.txt on emulator- : Read-only file system的错误,原因是你的sdcard权限不够,需要直接创建一个SDCARD 。一...
分类:
其他好文 时间:
2014-06-25 11:35:42
阅读次数:
184
下面是mybatis配置文件xxxx.xml缺失resultMap的错误:
严重: Servlet.service() for servlet [SpringMVC] in context with path [/ZHDM] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyB...
分类:
其他好文 时间:
2014-06-25 07:35:36
阅读次数:
261