摘要: BarcodeScanner You can use the BarcodeScanner plugin to scan different types of barcodes (using the device's camera) and get the metadata encod... 阅读全文
posted @ 2015-04-15 09:06 guduey 阅读(1717) 评论(0) 推荐(0)
摘要: View.inflate(getContext(), R.layout.custom_lay, this); 阅读全文
posted @ 2015-04-14 08:43 guduey 阅读(192) 评论(0) 推荐(0)
摘要: 重写textview 的 isFocused() 方法,直接返回true 阅读全文
posted @ 2015-04-14 08:30 guduey 阅读(611) 评论(0) 推荐(0)
摘要: 1.cordova create 文件夹名称 包名 项目名称 示例:demo com.exeample.demo 示例2.添加android平台 cd hello 进入项目文件夹cordova platform add android3.添加常用插件cordova plugin add org.ap... 阅读全文
posted @ 2015-04-13 15:24 guduey 阅读(234) 评论(0) 推荐(0)
摘要: public void installApk() { /* * */ String fileName = Environment.getExternalStorageDirectory() + "/m... 阅读全文
posted @ 2015-04-07 08:55 guduey 阅读(316) 评论(0) 推荐(0)
摘要: new Thread(new Runnable() { @Override public void run() { //记录线程开始时间 long currentTime = System.cur... 阅读全文
posted @ 2015-04-07 08:43 guduey 阅读(110) 评论(0) 推荐(0)
摘要: //应用版本号public String getVersionName() { String versionName = ""; PackageManager packageManager = getPackageManager(); try { ... 阅读全文
posted @ 2015-04-07 08:28 guduey 阅读(293) 评论(0) 推荐(0)
摘要: 1. future furetask callable用来实现线程执行结束之后的回调future 接口futuretask实现futureCallable 执行线程耗时操作,并返回结果public void run() { if (state != NEW || ... 阅读全文
posted @ 2015-04-02 17:53 guduey 阅读(183) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-03-30 13:46 guduey 阅读(8) 评论(0) 推荐(0)