05 2018 档案

摘要:郭的手机出现提示:条码扫描器,抱歉,Android相机出现问题。您可能需要重启设备 ++++++++++++++++++ 原因是系统没有给应用使用摄像头的权限,我到楼下设置对方手机,选择“设置”-》找到应用“devicescan”,授权使用摄像头,恢复正常 阅读全文
posted @ 2018-05-30 08:55 strongdady 阅读(2304) 评论(0) 推荐(0) 编辑
摘要:设备名称和设备责任人输出写反了,重新写了,重新发送yzx3233@sina.com 阅读全文
posted @ 2018-05-29 17:55 strongdady 阅读(92) 评论(0) 推荐(0) 编辑
摘要:findViewByid一定要放在setContentView(R.layout.a..)之后否则还没布局,根本找不到这些控件setContentView(R.layout.activity_input);editText0 = (EditText) findViewById(R.id.sample 阅读全文
posted @ 2018-05-25 19:07 strongdady 阅读(249) 评论(0) 推荐(0) 编辑
摘要:https://bbs.csdn.net/topics/391985867?page=1 华为P9是android 6.0 的==在API23+以上也就是安卓6.0以上的,进行了权限管理不止要在AndroidManifest.xml里面添加权限<uses-permission android:nam 阅读全文
posted @ 2018-05-25 12:12 strongdady 阅读(2739) 评论(0) 推荐(0) 编辑
摘要:module 的 gradle.build最后三行的compile 是关键dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appco 阅读全文
posted @ 2018-05-25 08:12 strongdady 阅读(388) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/cbc1239a9f6f 阅读全文
posted @ 2018-05-24 09:08 strongdady 阅读(276) 评论(0) 推荐(0) 编辑
摘要:启动扫描闪退,因为忘了在manifest里申请手机镜头使用许可了。 阅读全文
posted @ 2018-05-24 09:05 strongdady 阅读(135) 评论(0) 推荐(0) 编辑
摘要:今天上午完成了devicescan,发送了rar包到yzx3233@sina.com 可以正常扫描和输入了。 还有一个最后的问题,就是选择退出后,程序还在后台 阅读全文
posted @ 2018-05-23 13:16 strongdady 阅读(148) 评论(0) 推荐(0) 编辑
摘要:public class App extends Application { private static List<Activity> lists = new ArrayList<>(); public static void addActivity(Activity activity) { li 阅读全文
posted @ 2018-05-23 12:58 strongdady 阅读(516) 评论(0) 推荐(0) 编辑
摘要:用finish()结束android程序 阅读全文
posted @ 2018-05-23 12:56 strongdady 阅读(172) 评论(0) 推荐(0) 编辑
摘要:除了要在gradel里面加入dependency之外,还得把core-3.3.2.jar拷贝到app下面的lib里面 阅读全文
posted @ 2018-05-23 11:33 strongdady 阅读(362) 评论(0) 推荐(0) 编辑
摘要:integrator.setTimeout 设置一个超时时间,超过这个时间之后,扫描的 Activity 将会被 finish 。 +++++++++++++++++++ 经查,没有这个功能 阅读全文
posted @ 2018-05-23 08:04 strongdady 阅读(207) 评论(0) 推荐(0) 编辑
摘要:目录在d:\android_projects\deviceman 压成了deviceman.rar 发送到了yzx3233@sina.com 阅读全文
posted @ 2018-05-22 18:18 strongdady 阅读(118) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/too 阅读全文
posted @ 2018-05-22 16:10 strongdady 阅读(120) 评论(0) 推荐(0) 编辑
摘要:还剩下一个问题,安装时要求得到打电话的权限,不知道如何去掉 阅读全文
posted @ 2018-05-22 15:11 strongdady 阅读(148) 评论(0) 推荐(0) 编辑
摘要:设备管理的数据库路径是/storage/sdcard0/data/devuce-db 数据库文件名全路径是/storage/sdcard0/data/devuce-db/device.db 数据库文件名是 device.db 阅读全文
posted @ 2018-05-22 14:34 strongdady 阅读(389) 评论(0) 推荐(0) 编辑
摘要:链接https://blog.csdn.net/qq_26296197/article/details/51909423 通过Environment获取的Environment.getDataDirectory().getPath() : 获得根目录/data (内部存储路径)Environment 阅读全文
posted @ 2018-05-22 14:31 strongdady 阅读(507) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_32521313/article/details/52451364 Android startActivityForResult基本用法2016年09月06日 16:46:07阅读数:17007startActivityForResult和start 阅读全文
posted @ 2018-05-22 13:26 strongdady 阅读(151) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_32521313/article/details/52451364 阅读全文
posted @ 2018-05-22 12:39 strongdady 阅读(111) 评论(0) 推荐(0) 编辑
摘要:control+B进入layout文件的xml文本编辑模式 阅读全文
posted @ 2018-05-22 08:38 strongdady 阅读(221) 评论(0) 推荐(0) 编辑
摘要:1.设置扫描超时时间 2 恢复exist判断 3 恢复/data/pacakge/dadabases/目录 4 图标问题 5 显示home的问题 阅读全文
posted @ 2018-05-22 08:26 strongdady 阅读(105) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/hbwxy521/article/details/53101019 阅读全文
posted @ 2018-05-21 17:36 strongdady 阅读(119) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="utf-8"?><menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/navigation_home" androi 阅读全文
posted @ 2018-05-21 16:40 strongdady 阅读(198) 评论(0) 推荐(0) 编辑
摘要:今天完成了,可以扫描条码后显示出设备信息 项目名称qrscan,目录D:\android_projects\scan 做了rar打包,发送到邮箱里了 两个主程序,一个是MainActivity.java,还有一个Device.java MainActivity.java如下 ++++++++++++ 阅读全文
posted @ 2018-05-21 15:27 strongdady 阅读(822) 评论(0) 推荐(0) 编辑
摘要:蓝信窗口没有向下滚动,没有下载最新的apk包,下载的还是以前编译的旧包 阅读全文
posted @ 2018-05-21 14:08 strongdady 阅读(258) 评论(0) 推荐(0) 编辑
摘要:今天上午完成了业务数据导入到手机,能显示汉字了。 阅读全文
posted @ 2018-05-21 11:34 strongdady 阅读(178) 评论(0) 推荐(0) 编辑
摘要:https://stackoverflow.com/questions 可以进行搜索,在页面顶部,有搜索输入框 阅读全文
posted @ 2018-05-21 11:26 strongdady 阅读(364) 评论(0) 推荐(0) 编辑
摘要:sqlite> .mode csvsqlite> .import device.txt device;Error: no such table: device;sqlite> .import device.txt devicesqlite> 之所以出现提示Error: no such table: 阅读全文
posted @ 2018-05-21 11:20 strongdady 阅读(345) 评论(0) 推荐(0) 编辑
摘要:把txt文件另存为时,选择编码为utf-8即可 阅读全文
posted @ 2018-05-21 11:01 strongdady 阅读(309) 评论(0) 推荐(0) 编辑
摘要:我自己总结的sqlite 的命令行命令 导入文本数据文件时,设置分隔符为","sql>.separator "," sql>import device.txt device; 查看有哪些表 .tables 然后回车,不要加分号 delete from device; 阅读全文
posted @ 2018-05-21 11:00 strongdady 阅读(140) 评论(0) 推荐(0) 编辑
摘要:链接 https://www.oschina.net/question/234345_41048 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res 阅读全文
posted @ 2018-05-19 16:52 strongdady 阅读(217) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/renhong20121314/article/details/51906555 阅读全文
posted @ 2018-05-19 16:37 strongdady 阅读(105) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/zhqiux/archive/2013/09/03/3298654.html 阅读全文
posted @ 2018-05-19 16:32 strongdady 阅读(137) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/androidmsky/article/details/49870823 阅读全文
posted @ 2018-05-19 16:11 strongdady 阅读(665) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/baimafujinji/article/details/70198953 阅读全文
posted @ 2018-05-18 21:49 strongdady 阅读(98) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/androidmsky/article/details/49870823 阅读全文
posted @ 2018-05-18 19:41 strongdady 阅读(80) 评论(0) 推荐(0) 编辑
摘要:5月18日,完成导入数据,但是从命令行显示数据乱码 阅读全文
posted @ 2018-05-18 12:57 strongdady 阅读(76) 评论(0) 推荐(0) 编辑
摘要:读取本地文件的权限问题 2016年08月15日 21:41:30 阅读数:2520 2016年08月15日 21:41:30 阅读数:2520 阅读数:2520 在一个音乐app过程中需要读取手机本地内存卡中的音乐文件并可以播放,具体遇到的问题如下:工程没有错误,运行出现以下信息:java.lang 阅读全文
posted @ 2018-05-18 08:14 strongdady 阅读(1050) 评论(0) 推荐(0) 编辑
摘要:D:\android_projects\qrscan\app\src\main\res\raw 这里可以放数据库文件和音频文件 文件名为sp.mp3 引用方法: MediaPlayer mp = MediaPlayer.create(context,R.raw.sp); 不用文件扩展名 packag 阅读全文
posted @ 2018-05-17 17:43 strongdady 阅读(164) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/yutingliuyl/p/6880103.html 阅读全文
posted @ 2018-05-17 17:06 strongdady 阅读(113) 评论(0) 推荐(0) 编辑
摘要:换孩子姥姥华为手机解决了。 能扫pdf417码了 阅读全文
posted @ 2018-05-17 08:09 strongdady 阅读(187) 评论(0) 推荐(0) 编辑
摘要:integrater 目录d:\zixing\zxing-zxing-3.3.2\android-integration\src\main\java\com\google\zxing\integration\android\IntentIntegrator.java List<String> oDe 阅读全文
posted @ 2018-05-16 09:07 strongdady 阅读(144) 评论(0) 推荐(0) 编辑
摘要:网页 https://blog.csdn.net/li12412414/article/details/51958774 阅读全文
posted @ 2018-05-15 17:07 strongdady 阅读(88) 评论(0) 推荐(0) 编辑
摘要:建立目录D:\android_projects\qrscan\app\src\main\assets把数据库文件d:\sqlite_files\device.db 拷贝到 D:\android_projects\qrscan\app\src\main\assets然后在as中,即android st 阅读全文
posted @ 2018-05-15 16:31 strongdady 阅读(975) 评论(0) 推荐(0) 编辑
摘要:sqlite数据库安装在d:\sqlite_files运行sqlite3查看数据表,命令,.tables 数据库文件 d:\sqlite_files\device.db create table device(id text,device_no text,device_name text,owner 阅读全文
posted @ 2018-05-15 16:10 strongdady 阅读(128) 评论(0) 推荐(0) 编辑
摘要:PDF417 initiateScan 阅读全文
posted @ 2018-05-15 15:14 strongdady 阅读(702) 评论(0) 推荐(0) 编辑
摘要:利用的网上参考文档是https://blog.csdn.net/gorky_19/article/details/78454030,里面介绍了如何修改build.gradle的dependency 和源代码 不需要加入zxing.jar ,在build.gradle里面加入dependency 之后 阅读全文
posted @ 2018-05-15 09:53 strongdady 阅读(895) 评论(0) 推荐(0) 编辑
摘要:https://developer.android.google.cn/guide/components/fundamentals http://www.runoob.com/w3cnote/android-tutorial-intro.html 阅读全文
posted @ 2018-05-14 14:55 strongdady 阅读(358) 评论(0) 推荐(0) 编辑
摘要:http://blog.sina.com.cn/s/blog_783ede030102x150.html 1 首先下载jar包 二维码需要用xing项目的jar包,core-3.3.2.jar 进入到www.github.com/xing/xing网页,中下方有一个链接 Get Started De 阅读全文
posted @ 2018-05-14 10:24 strongdady 阅读(249) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/feiduclear_up/article/details/51968975 阅读全文
posted @ 2018-05-11 19:47 strongdady 阅读(191) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示