1、在AudioManager.java中的handleKeyDown函数中接收音量键的按键消息public void handleKeyDown(KeyEvent event, int stream) { int keyCode = event.getKeyCode(); switch (keyC...
分类:
移动开发 时间:
2015-08-07 10:50:23
阅读次数:
580
?Avoid Scheduling FailuresNorman CarnovaleFAilEd pRojECTS CAn HAppEn FoR A MulTiTudE oF REASonS. One of the most common sources of failure is altering the project schedule in mid- stream without proper...
分类:
其他好文 时间:
2015-08-07 09:38:05
阅读次数:
131
头件 : #include两个必须函数: FILE * fopen(const char * path,const char * mode); //path:文件路径 mode: {r,w,a,b+}组合, 具体功能别记int fclose(FILE * stream);size_t fread(v...
分类:
其他好文 时间:
2015-08-07 01:47:53
阅读次数:
143
array( "method"=>"GET", "header"=>"", "timeout"=>$timeout) ); $context = stream_context_create($opts); ...
分类:
Web程序 时间:
2015-08-06 12:56:30
阅读次数:
196
方法:到laravel跟目录下执行如下操作:
1)php artisan cache:clear
2)chmod -R 777 app/storage
3)php artisan dump-autoload...
分类:
移动开发 时间:
2015-08-05 12:51:59
阅读次数:
231
gulpjs是一个前端构建工具,与gruntjs相比,gulpjs无需写一大堆繁杂的配置参数,API也非常简单,学习起来很容易,而且gulpjs使用的是nodejs中stream来读取和操作数据,其速度更快。如果你还没有使用过前端构建工具,或者觉得gruntjs太难用的话,那就尝试一下gulp吧。本...
分类:
Web程序 时间:
2015-08-05 06:36:23
阅读次数:
266
今天在做poi修改样式时,报了以下错误:Exception in thread "main" org.apache.poi.POIXMLException: java.io.IOException: Can't obtain the input stream from /docProps/app.x...
分类:
移动开发 时间:
2015-08-04 18:45:00
阅读次数:
273
上期我们讨论了IO处理过程:Process[I,O]。我们说Process就像电视信号盒子一样有输入端和输出端两头。Process之间可以用一个Process的输出端与另一个Process的输入端连接起来形成一串具备多项数据处理功能的完整IO过程。但合成的IO过程两头输入端则需要接到一个数据源,而另外一端则可能会接到一个数据接收设备如文件、显示屏等。我们在这篇简单地先介绍一下IO数据源Source...
分类:
其他好文 时间:
2015-08-04 15:49:39
阅读次数:
127
上期我们讨论了IO处理过程:Process[I,O]。我们说Process就像电视信号盒子一样有输入端和输出端两头。Process之间可以用一个Process的输出端与另一个Process的输入端连接起来形成一串具备多项数据处理功能的完整IO过程。但合成的IO过程两头输入端则需要接到一个数据源,而....
分类:
其他好文 时间:
2015-08-04 15:23:47
阅读次数:
98
public string GetPage(string posturl, string postData) { Stream outstream = null; Stream instream = null; StreamReader sr = nu...
分类:
其他好文 时间:
2015-08-04 15:23:44
阅读次数:
113