Can I send the text of the result from the application using Naver or Google voice recognition app through Bluetooth?

Asked 2 years ago, Updated 2 years ago, 108 views

To develop a voice recognition remote control application, send the text that you received the voice to atmega128 Can I use Bluetooth to send text to hardware to send out infrared signals that function?

I'd like to ask if it's possible to run it by voice by specifying an application call command like s voice. (Example: On the smartphone lock screen, if you say "remote control", the application will run.) Like Siri or S-voice.)

android-studio voice-recognition

2022-09-22 12:43

1 Answers

It is possible to connect the Android <-> atmega128 device via Bluetooth and transmit data (=text). Pre-work such as device search and pairing is required for Bluetooth connection. Please refer to the document below for this part.

Please refer to the code below for an example of an Android Bluetooth chat.

I haven't implemented it myself, but it seems that it can be implemented because the API needed is provided on Android. The way I can think of now is

1. Turn your voice into text using Android's voice recognition API. For example, if you say 'remote control', you import it into text. For the method, refer to Obtaining Free-form Speech Input in the rank below.

https://developer.android.com/training/wearables/apps/voice.html

2. Gets the ComponentName (information needed to run other apps) and the app name (to match voice input) of all apps currently installed on your phone, such as the Launcher app.

3. If any of the text named Remote Control imported from 1 and the name of the app installed 2 times exist, run the activity using ComponentName.

But what makes this possible on the lock screen is a different story. The lock screen is different for each Android version and manufacturer, so it may not be possible to implement it on the lock screen, so it needs to be approached differently depending on the level the app will support. Creating the lock screen itself could be one way. This may take more time to develop the lock screen.


2022-09-22 12:43

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.