I worked a bit on this, but found nothing.
I have an idea for a device management application that will need to be connected via a headphone cable.
Can I send signals through the headphone jack?
Arbitrary data can be reproduced through an audio cable using Media Playerwith the source resource. The signal will be limited by the bandwidth of a particular device, for example, from 20 Hz to 16 kHz.
Media Player
use AudioManager
AudioManager audioManager = (AudioManager) this.getSystemService(Context.AUDIO_SERVICE);
http://developer.android.com/reference/android/media/AudioManager.html
WiredHeadsetOn (true) setMode
Source: https://habr.com/ru/post/1777764/More articles:An object from the NSUserDefaults release? - objective-cimport java com.google. * libraries - javaWhat is the easiest way to return more than two numbers? - comparisonHow to get div to float over jQuery UI dialog box? - cssWhat would be a simple regex for password verification during registration? - javaConsole I / O in Common Lisp - inputJava wraps text around an image - javaclass no exception found for com.mysql.jdbc.Driver no class problem - classpathLinking include files in gcc - gccLinq to NHibernate - anonymous type ordering - nhibernateAll Articles