摘要: 1 public void onCreate(Bundle savedInstanceState) { 2 super.onCreate(savedInstanceState); 3 Context cx = Context.enter();//当前线程上下文创建 4 5 // 初始化标准对象function object 等等 6 // 这个事必须执行的 7 Scriptable scope = cx.initStandardObjects(null); 8 9 // 现在可以执行js脚本了10... 阅读全文
posted @ 2013-08-29 16:34 HeiMan 阅读(365) 评论(0) 推荐(0)