I am trying to increase the gain of the mic of an android phone so that it will be capable of hearing very minute sounds.Is it possible? Can you please help me with this.
this link should bring you further. use setStreamVolume(...) to set volume higher. but note that there is a maximum that can be asked for by calling getStreamMaxVolume(...). so mic gain is probably limited by hardware i would guess. so it is rather not possible to do this "on-fly" but what about recording a bit, trying to amplify a special frequency by equalizer and then recognize something like a heartbeat? sounds hard but maybe possible.