[Metalab] Kennt sich wer mit Audiokram unter android aus?

Jay Vaughan jayv at synth.net
Tue Mar 26 10:44:55 CET 2013


> Is there really no other solution? How is that earplug audio profile
> stuff really working? 


Android Bluetooth stacks are, shall we say, a big subject.  There are some BT device profiles that are implemented directly in Android - headsets being one of them, gamepads, mouse, and so on - but others, which are not (and if they were, would make your life easier), such as 'general audio mixer', and any of the rest of the list of BT standard profiles that are out there.

So, Android has a 'sub-set' of profiles that can be used, which go as far as is needed for typical consumer use.  Beyond that, you are on your own.

A lot of App vendors, releasing 'UI' software for external devices like exercise machines, body-metrics, and stuff like that .. end up shipping their own variant BT stacks along with the app, to 'glom' the profile on that Android doesn't provide.

So, the point of this is .. if you go shopping for Android apps, or say .. happen to stumble upon an archive of .apk's in which you can grep the bluetooth permission bit, then you can easily unpack the .apk's, and start collecting BT stack libraries, or at least inspect the contents of the apps that have similar BT profiles that you might need.  Many times, if you find some app with, say, Bluetooth Audio support, you will find a lib or two packed alongside that helps the App do the special sauce.

That is one direction.  The other direction is to write an app that enumerates all the onboard BT stuff for your phone (and/or maybe go find a Chinese library that will already do this for that particular model; Chinese hackers are way ahead of the curve, if only due to the fact that we Westerners have no idea what to google for..)  Anyway, writing an app seems like the sensible thing to do .. that is, if a small cable-hack won't just do the job, sensibly, as well?

(BTW, if you want to boot on into the hack-an-Android app direction, get something like the Google-provided RingToneEdit sources, and modify it to use the available audio channels as provided by your phone..)



;
--
Jay Vaughan








More information about the Metalab mailing list