屏幕区域的获取: activity.getWindowManager().getDefaultDisplay(); 应用区域的获取: Rect outRect = new Rect(); activity.getWindow().getDecorView().getWindowVisibleDisplayFrame(outRect); view图形绘制区域的获取: Rect outRect = new Rect(); activity.getWindow().findViewById(Windo
1.查看内核版本命令 [root@AY130616190837708391Z ~]# cd .. (管理员权限) [root@AY130616190837708391Z /]# cd proc [root@AY130616190837708391Z proc]#uname -a Linux AY130616190837708391Z 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU
IE9及以下版本不能识别files属性:获取图片需要设置浏览器 打开IE_工具_internet选项_安全_自定义级别. 启用ActiveX,开启跨域: var fso=new ActiveXobject("Scripting.FileSystemObject"); file.select(); file.blur(); var filePath=document.selection.createRange().text; var file=fso.GetFile(filePath);