anysoft
anysoft
@ryanio thank you! I can't understand the reason. ethereum wallet connet node by rpc service or ipc.in ethereum wallet i use the development tools (CTRL +SHIFT +I) console command “web3.eth.getGasPrice(function(e,result){console.log(result)})”...
+1
直接release下载安装的 本机node版本, node --version v16.13.2
> 问题描述:编写情景模式时未找到任何“等待”的函数。 > > 需求示例:比如知乎的广告页,启动后会延迟0.5-1s出现。如果只是用find text去查找“跳过广告”,当thanox查找时,广告页未出现,当广告页出现后,情景模式已经查找完毕了。 > > 需求:我需要一个time.sleep(0.5)这样的函数。 java.lang.Thread.sleep(500); 或者直接Thread.sleep(500); 支持java代码的
> java.lang.Thread.sleep(500); 就可以。 > > 理论上所有jdk的方法都支持。 请问下actions和conditions脚本解析环境是一样的吗?该环境是groovy?还是其他环境? 最后请问下定时任务啥时候推出?着急尝鲜下😬
> @anysoft 一样,运行在Android runtime,SystemServer进程,可以访问JDK、Android SDK,framework/services.jar里的方法。 > > 什么时候出没法确定,有时间了就写一点。 了解了🙏 那直接java代码可以做很多事情了。
> 问题3,可能是情景模式的文档不够完善。其实所有thanox app页面上的操作,都可以通过thanos api来实现,thanos api可以获取到负责情景模式相关操作的ProfileManager,ProfileManager可以对全局变量进行查询修改操作: > > https://github.com/Tornaco/Thanox/blob/master/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/profile/ProfileManager.java > > ```java > > @SneakyThrows > public boolean addGlobalRuleVar(String varName, String[] varArray) { > return server.addGlobalRuleVar(varName, varArray); > } > >...
https://github.com/briandilley/jsonrpc4j/blob/master/src/test/java/com/googlecode/jsonrpc4j/client/JsonRpcClientTest.java final String auth = "auth"; final String authValue = "secret"; client.setAdditionalJsonContent(new HashMap() { { put(auth, authValue); } }); client.invoke("test", new Object[]{1, 2}, byteArrayOutputStream);
maybe you need to fork this repo and modify it yourself.
did you have a solution?