Android13 修改蓝牙文件接收为对话框接收过程

上传者: wenzhi20102321 | 上传时间: 2025-04-23 09:27:47 | 文件大小: 886KB | 文件类型: ZIP
Android 原生系统蓝牙接收是在通知栏显示和操作,但是部分定制设备比如大屏或者盒子设备是没有通知栏的。 如果要接收蓝牙文件就要自己接收蓝牙广播进行弹框提示,大概包括:确认接收,显示接收进度,确认取消/完成接收等弹框和实现,具体修改就要适配系统的蓝牙应用。 本文基于Android13 系统蓝牙应用Bluetooth文件传输Opp部分代码适配进行介绍。 也许你工作中不一定有这个需求,但是安卓屏显开发大概率是有这个需求的, 部分有兴趣的并且有系统源码编译运行条件的,可以尝试修改系统源码试试, 有需求的或者有兴趣的可以看看。

文件下载

资源详情

[{"title":"( 56 个子文件 886KB ) Android13 修改蓝牙文件接收为对话框接收过程","children":[{"title":"Bluetooth","children":[{"title":"android","children":[{"title":"app","children":[{"title":"Android.bp <span style='color:#111;'> 5.70KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"android","children":[{"title":"bluetooth","children":[{"title":"opp","children":[{"title":"BluetoothOppService.java.txt <span style='color:#111;'> 54.52KB </span>","children":null,"spread":false},{"title":"BluetoothOppUtility.java.txt <span style='color:#111;'> 22.74KB </span>","children":null,"spread":false},{"title":"BluetoothOppTransferHistory.java <span style='color:#111;'> 13.01KB </span>","children":null,"spread":false},{"title":"BluetoothReceiverConfirmDialog.java <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"BluetoothOppTransferEntity.java <span style='color:#111;'> 569B </span>","children":null,"spread":false},{"title":"BluetoothOppReceiver.java <span style='color:#111;'> 14.88KB </span>","children":null,"spread":false},{"title":"BluetoothOppTransferActivity.java.txt <span style='color:#111;'> 19.85KB </span>","children":null,"spread":false},{"title":"BluetoothOppUtility.java <span style='color:#111;'> 22.19KB </span>","children":null,"spread":false},{"title":"BluetoothOppNotification.java <span style='color:#111;'> 28.79KB </span>","children":null,"spread":false},{"title":"NotifyDialogManager.java <span style='color:#111;'> 8.45KB </span>","children":null,"spread":false},{"title":"BluetoothOppTransferActivity.java <span style='color:#111;'> 19.39KB </span>","children":null,"spread":false},{"title":"BluetoothOppObexServerSession.java.txt <span style='color:#111;'> 24.69KB </span>","children":null,"spread":false},{"title":"BluetoothOppService.java <span style='color:#111;'> 53.24KB </span>","children":null,"spread":false},{"title":"NotifyDialogManager.java.txt <span style='color:#111;'> 8.45KB </span>","children":null,"spread":false},{"title":"BluetoothReceiverProgressDialog.java <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"BluetoothOppTransferProgressAdapter.java <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"BluetoothReceiverFinishDialog.java.txt <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"BluetoothOppTransferHistory.java.txt <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"BluetoothOppNotification.java.txt <span style='color:#111;'> 29.44KB </span>","children":null,"spread":false},{"title":"Constants.java <span style='color:#111;'> 12.28KB </span>","children":null,"spread":false},{"title":"BluetoothOppObexServerSession.java <span style='color:#111;'> 24.04KB </span>","children":null,"spread":false},{"title":"BluetoothOppTransferEntity.java.txt <span style='color:#111;'> 569B </span>","children":null,"spread":false},{"title":"BluetoothOppReceiver.java.txt <span style='color:#111;'> 15.20KB </span>","children":null,"spread":false},{"title":"BluetoothReceiverConfirmDialog.java.txt <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"BluetoothReceiverFinishDialog.java <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"Constants.java.txt <span style='color:#111;'> 12.55KB </span>","children":null,"spread":false},{"title":"BluetoothBaseUI.java <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"res","children":[{"title":"values-zh-rCN","children":[{"title":"strings.xml <span style='color:#111;'> 15.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-xxxhdpi","children":[{"title":"delivery_nor.png <span style='color:#111;'> 4.76KB </span>","children":null,"spread":false},{"title":"success.png <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"fail.png <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"bt_share.png <span style='color:#111;'> 14.59KB </span>","children":null,"spread":false},{"title":"delivery_pre.png <span style='color:#111;'> 6.63KB </span>","children":null,"spread":false},{"title":"ic_narrow_pre.png <span style='color:#111;'> 895B </span>","children":null,"spread":false},{"title":"ic_narrow_nor.png <span style='color:#111;'> 950B </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 15.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"bluetooth_progress_adapter.xml <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"bluetooth_receiver_finish_dialog.xml <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"bluetooth_receiver_confirm_dialog.xml <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false},{"title":"bluetooth_receiver_floating_button.xml <span style='color:#111;'> 995B </span>","children":null,"spread":false},{"title":"bluetooth_progress_dialog_header.xml <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"bluetooth_receiver_progress_dialog.xml <span style='color:#111;'> 8.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"receiver_progress_background.xml <span style='color:#111;'> 628B </span>","children":null,"spread":false},{"title":"selector_hide_narror.xml <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"bluetooth_dialog_cancel_background.xml <span style='color:#111;'> 529B </span>","children":null,"spread":false},{"title":"shape_rectangle_count.xml <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"shape_transfer_cancel.xml <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"shape_rectangle_confirm.xml <span style='color:#111;'> 193B </span>","children":null,"spread":false},{"title":"bluetooth_dialog_background.xml <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"bluetooth_dialog_confirm_background.xml <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"bluetooth_dialog_button_background.xml <span style='color:#111;'> 507B </span>","children":null,"spread":false},{"title":"shape_rectangle_cancel.xml <span style='color:#111;'> 533B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 27.83KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"0001-SKG-Bluetooth.patch <span style='color:#111;'> 638.71KB </span>","children":null,"spread":false},{"title":"system","children":[{"title":"gd","children":[{"title":"hci","children":[{"title":"le_scanning_manager.cc <span style='color:#111;'> 68.74KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明