深度研究chromium content api,子定制自己的webview(支持硬件加速、支持sandbox)...
分类:
Windows程序 时间:
2014-12-01 14:22:00
阅读次数:
1025
1.enablelogging
javapns使用的log4j,为确保log的正常工作,在使用过程中添加如下代码:
importorg.apache.log4j.*;
...
try{
BasicConfigurator.configure();
...
}catch(Exceptione){
//dosth.
}
log4j.properties中添加:
log4j.logger.javapns=debug
2.sandbox(开发环境..
分类:
移动开发 时间:
2014-11-23 23:36:34
阅读次数:
486
默认情况下div无法获取焦点,无法触发focus与blur事件,猜测span,a等标签也无法触发焦点事件(input:button,及button标签可以触发)
如何使div触发blur事件:可以给div加上tabindex属性
在线演示:http://sandbox.runjs.cn/show/e0bvfcag
源码:
Document
.box{
width:...
分类:
其他好文 时间:
2014-11-18 13:34:30
阅读次数:
199
在模拟器中运行iOS程序,都会为该程序创建一个沙盒(SandBox)。首先声明,我用的系统是Max OS X 10.7.3,编译器是Xcode 4.3.2。想要找到沙盒目录,先运行Finder,然后在Finder的菜单栏找到前往—前往文件夹…,在打开的窗口输入/Users/UserName/Libr...
分类:
移动开发 时间:
2014-11-13 14:38:15
阅读次数:
207
IOS沙盒机制(SandBox)原文http://www.cnblogs.com/taintain1984/archive/2013/03/19/2969201.htmlIOS中的沙盒机制(SandBox)是一种安全体系,它规定了应用程序只能在为该应用创建的文件夹内读取文件,不可以访问其他地方的内容...
分类:
移动开发 时间:
2014-11-11 12:38:29
阅读次数:
245
沙箱模式常见于YUI3 core,它是一种采用同一构造器(Constructor)生成彼此独立且互不干扰(self-contained)的实例对象,而从避免污染全局对象的方法。命名空间JavaScript本身中没有提供命名空间机制,所以为了避免不同函数、对象以及变量名对全局空间的污染,通常的做法是为...
分类:
数据库 时间:
2014-11-08 22:09:36
阅读次数:
470
更新Cocoapod之后出现问题:
diff: /../Podfile.lock: No such file or directory
diff: Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or updat...
分类:
移动开发 时间:
2014-11-03 19:31:04
阅读次数:
194
server{listen80default;server_name_;indexindex.htmlindex.htmindex.php;#root/alidata/www/default;root/alidata/www/sandbox_pro/sandbox;#rewrite^/box/list/index.php?r=box/list;#rewrite^/(.*)$/index.php?r=$1;if(-f$request_filename/index.php){rewrite(.*)$1/index..
分类:
Web程序 时间:
2014-11-03 16:34:12
阅读次数:
253
??
在研究Android系统时,有时会遇到Sandbox(沙箱)这个概念。沙箱概念本身并不是太新奇,但是一直不是很清楚Android是如何实现它所称的“沙箱”的。网上不少人声称应用使用了虚拟机就是应用了沙箱,一直对这种说法表示怀疑。
最近发现Android的网站上更新了一些文档,其中包括对Sandbox的解释,这才明白Android中Sandbox的含义。
Android的”沙箱“...
分类:
移动开发 时间:
2014-10-29 17:06:42
阅读次数:
503
http://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/login&ADUIN=549920744&ADSESSION=1414457650&ADTAG=CLIENT.QQ.5365_.0&ADPUBNO=26405
分类:
微信 时间:
2014-10-28 17:26:57
阅读次数:
296