easyclick除了往sdcard写文件,
比如,/sdcard/test.log
当然也可以写在软件的数据目录
/data/user/0/com.gibb.easyclick/files/
如果是生成的apk路径就是
/data/user/0/com.xxx.xxx/files/
路径除了上面字符串直接使用
也可以如此
let filepath=ui.getContext().getFilesDir().getPath();
其它一些路径
let mydir1=ui.getContext().getDataDir().getPath();
let mydir2=ui.getContext().getCacheDir().getPath();
然后使用easyclick的file相关读写功能就行了。
网页加载
webView.loadUrl("file:///android_asset/test.html");
webView.loadUrl("layout/test.html");
蜂窝数据 cellular data