问题
I want to build an app in which I want to launch an app with voice. Please help me.
回答1:
Edited
First off all you need to recognize users speech by using Speech Recognizer. After that you'll receive a String with text. After getting from this text an app name you could get access to installed apps data and then launch an app you want by simple intent.
回答2:
refer official documentation to start your activity using voice command.
This is for wearables, you can give it a try.
来源:https://stackoverflow.com/questions/30317130/how-to-launch-an-android-app-from-the-voice-like-ok-google