DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: a1367230164
今日帖子: 22
在线用户: 19
导航: 论坛 -> DELPHI技术 斑竹:liumazi,sephil  
作者:
男 lyp8899 (lyp8899) ★☆☆☆☆ -
盒子活跃会员
2021/3/3 9:08:44
标题:
二维码蓝牙打印标签程序 浏览:1271
加入我的收藏
楼主: 之前做的一个扫描二维码蓝牙打印标签程序,主要功能是用手机扫描内网《设备管理系统》上的信息二维码,连接便携标签打印机补打设备标签,之前在delphi10.4上编译成功,可以正常使用,后升级到10.4.1和10.4.2 编译出错,能力有限,解决不了,谁有空看看是什么原因,感谢!
此帖子包含附件:lyp8899_2021339838.rar 大小:641.2K
----------------------------------------------
▄︻┻┳═
作者:
男 lyp8899 (lyp8899) ★☆☆☆☆ -
盒子活跃会员
2021/3/3 9:10:27
1楼: 运行界面:
此帖子包含附件:
JPEG 图像
大小:105.1K
----------------------------------------------
▄︻┻┳═
作者:
男 k3man (嗯哼) ★☆☆☆☆ -
普通会员
2023/8/5 22:51:06
2楼: 11.3编译通过三方JAR重新加入。没有条件测试。
此帖子包含附件:k3man_202385225052.rar 大小:13.22M
----------------------------------------------
-
作者:
男 lyp8899 (lyp8899) ★☆☆☆☆ -
盒子活跃会员
2023/8/7 9:12:27
3楼: 直接调用摄像头扫描出现如下提示
此帖子包含附件:
JPEG 图像
大小:354.1K
----------------------------------------------
▄︻┻┳═
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2023/8/7 9:51:13
4楼: in my RAD 11.3 your project was compiled and installed in Android 11 = Ok

1) in Android, Library = Revert default jar files
2) in Android Manifest Xml needs remove the line 
"android:theme="@style/CaptureTheme"

<activity android:name="com.embarcadero.firemonkey.FMXNativeActivity"
          android:label="%activityLabel%"
          android:con_figChanges="orientation|keyboardHidden"
          android:launchMode="singleTask">
          <!-- Tell NativeActivity the name of our .so -->
          <meta-data android:name="android.app.lib_name"
          android:value="%libNameValue%" />
          <intent-filter>  
          <action android:name="android.intent.action.MAIN" />
          <category android:name="android.intent.category.LAUNCHER" />
          </intent-filter> 
        </activity>
          <activity android:name="com.google.zxing.client.android.CaptureActivity"
          android:screenOrientation="portrait"
          android:clearTaskon_Launch="true"
          android:stateNotNeeded="true"
          android:con_figChanges="orientation|keyboardHidden"
          android:theme="@style/CaptureTheme"
          android:windowSoftInputMode="stateAlwaysHidden">
    </activity>
        <%activity%>
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2023/8/7 9:54:26
5楼: tip:  dont put in OnCreate of your main-form, critical commands like your project does....

try call after your app to be loaded, then you can catch the exceptions and solve it
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行101.5625毫秒 RSS