This app is function as a transmitter that capture loud audio and then transmit the audio to the cloud for further processing.
This app writte using kotlin.
For the network this app using Post and Get Request method using retrofit2.
This app use android Foreground Service to do recording in periodic time.
The main function of this app is to record periodicly with certai interval using foreground service and then send the data to the webservice, server, etc.
You may configure the project to using your own server. You just need to change the BASE URL at RetrofitBuilder class and adjust the API interface.
In order to start the service first you need to set the name and location of the device.
You can optionaly configure the interval of the recording and the threshold of how much dB that the audio need to meet so the audio will be send to the server.
You can set the threshold as a decibel and record interval as seconds.