Google Translate Android app uses the microphone. Set language ‘translated from’ to the one you’re leaning, set language ‘translated to’ to your native language, tap the microphone icon and speak.
If the ‘translated to’ isn’t what you expected, then incorrect pronunciation could be the cause. Online comments say the app can accurately detect correct tones for tonal languages. Can’t confirm that because I’ve been here over 4 years and still can’t pronounce ‘moo’ (pork) correctly.