Android 蓝牙学习 @# Android 蓝牙
目录
2.2 setAllProfileServiceStates
1. A2DP Profile配置
蓝牙协议很多,根据不同的平台所需功能配置所需要的profile,配置过多占用启动耗时和内存资源!
android-12.0.0_r2/packages/apps/Bluetooth/res/values/config.xml
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009-2012 Broadcom Corporation
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITI