摘要:
BarcodeScanner You can use the BarcodeScanner plugin to scan different types of barcodes (using the device's camera) and get the metadata encod... 阅读全文
摘要:
View.inflate(getContext(), R.layout.custom_lay, this); 阅读全文
摘要:
重写textview 的 isFocused() 方法,直接返回true 阅读全文
摘要:
1.cordova create 文件夹名称 包名 项目名称 示例:demo com.exeample.demo 示例2.添加android平台 cd hello 进入项目文件夹cordova platform add android3.添加常用插件cordova plugin add org.ap... 阅读全文
摘要:
public void installApk() { /* * */ String fileName = Environment.getExternalStorageDirectory() + "/m... 阅读全文
摘要:
new Thread(new Runnable() { @Override public void run() { //记录线程开始时间 long currentTime = System.cur... 阅读全文
摘要:
//应用版本号public String getVersionName() { String versionName = ""; PackageManager packageManager = getPackageManager(); try { ... 阅读全文
摘要:
1. future furetask callable用来实现线程执行结束之后的回调future 接口futuretask实现futureCallable 执行线程耗时操作,并返回结果public void run() { if (state != NEW || ... 阅读全文