项目作者: sauravpradhan

项目描述 :
Force android to play audio and MP3 in non-A2DP BT headset. :metal:
高级语言: Java
项目地址: git://github.com/sauravpradhan/AnySound2BT.git
创建时间: 2015-01-08T04:32:23Z
项目社区:https://github.com/sauravpradhan/AnySound2BT

开源协议:Apache License 2.0

下载


AnySound2BT

Force android to play audio and MP3 in non-A2DP BT headset.

Background:

In Android non A2DP headsets(like single ear BT devices) is not allowed to play non-call audio.
This is a simple trick to play the audio in BT even when not in call.

How to use:

->You should be connected to the Bluetooth Device(Updated code to only toggle button if BT is connected|paired).

->Now Go to this application and toggle the button “ON”.

->Now play the music or any audio from any of your favorite application.

->Sound should be routed to the BT device.

->Please report an github issue if any device is not able to route audio to BT.(Recently found a crash on connecting to Logitech X300 , if anybody finds it please please attach logs!—> Fixed )

APK Link

You can directly test the APK from the below link:
https://drive.google.com/file/d/0Byaspar4S5SEWk9VNmQwcm5KdTQ/view?usp=sharing

Feature Request

Possible! Just raise and issue for the feature you guys want. As simple as that ! Will try to return with the feasibility and APK real soon . :exclamation:

TODO

1) Android 10 Compatibility(Can somebody fork and help me if this works in Android10?)

License

Copyright 2015-18 Saurav Pradhan

Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  1. http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.