MediaRecorder即录音
要想使用首先查看API,可以看到MediaRecorder的生命周期
API不仅给了生命周期图,还有例子如下MediaRecorder recorder = new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setOutputFormat...
分类:
移动开发 时间:
2015-09-20 10:32:51
阅读次数:
288
CSS与Script的引入在link script中忽略type标签,css默认为text/css javascript默认为text/javascriptrel用于指定创建的连接类型(不能省略)type用于指定文档MIME类型(需要与rel对应否则,不会引入连接)media指定文档的应用环境asy...
分类:
Web程序 时间:
2015-09-19 13:38:43
阅读次数:
165
引言: 在Http请求中,我们每天都在使用Content-type来指定不同格式的请求信息,但是却很少有人去全面了解content-type中允许的值有多少,这里将讲解Content-Type的可用值,以及在Spring MVC中如何使用它们来映射请求信息。1. Content-Type Media...
分类:
编程语言 时间:
2015-09-18 21:42:40
阅读次数:
641
@charset "utf-8";/** * iPhone 4/4s landscape & portrait */@media only screenand (min-device-width: 320px)and (max-device-width: 480px)and (-webkit-dev...
分类:
Web程序 时间:
2015-09-18 11:58:28
阅读次数:
169
采用HTML5在开发移动应用程序满足各种需求Android分辨率和屏幕的平板设备密度,这是非常麻烦的过程,最终的解决方案是使用css media query,匹配相同的时间分辨率和屏幕像素密度。上进行兼容性測试,终于保证在多数Android平板上都能较好的显示。 一个典型的针对设备的C...
分类:
移动开发 时间:
2015-09-16 19:52:25
阅读次数:
159
Exploiting CVE-2015-2509 /MS15-100 : Windows Media Center could allow remote code executionTrend Micro blog aboutitfew days ago. This vulnerability is...
/* Desktops and laptops ----------- */@media only screen and (min-width:1224px) { }/* Large screens ----------- */@media only screen and (min-width:18...
分类:
其他好文 时间:
2015-09-14 15:29:25
阅读次数:
116
//当屏幕宽度小于480px的时候,引入demo.css//当屏幕大于685px的时候,启用的css样式,(内联写法)@media screen and (min-width : 685px){ .header-top,.search-left,.search-right,.header-n...
分类:
其他好文 时间:
2015-09-13 18:30:12
阅读次数:
547
zz在下面的例子中,我们将media作为静态(CSS\JS\图片文件)文件的目录方法一、1.首先在settings.py文件中自定义参数 STATIC_PATH=’./media’.(意为当前文件目录下的media文件夹)2.在urls.py文件中导入import settings再,urlpatt...
分类:
Web程序 时间:
2015-09-13 15:59:57
阅读次数:
175