I'm new to Android threads and I'm trying to figure out which is the correct/best approach to record and estimate pitch in a separate thread in Android.
I need to
- start recording/estimating from the UI thread
- receive the pitch from the background thread to the UI thread
- stop recording/estimating from the UI thread
Can you help me, please?