Pergunta

I have a voice recognition engine working in android. I want to develop an service application in android, which can control 3rd party applications according to the voice inputs. For example, when voice recognition returns a text, I want to send it to some textfield in the active screen by using XY coordinates or controller ID in the OS.

I have done similar stuffs on Windows mobile. I am extremely new to android. Anyone knows how to perform such operation.

/chatcja

Foi útil?

Solução

If you want to give keyboard inputs to apps that aren't your own, the only way is to build your own alternative keyboard. After this, the user will have to select your keyboard as his keyboard of choice so that it shows up whenever textboxes receive focus. You can even listen for voice inputs and parse them to do what you need. These links might help:

Keyboard:

Voice input:

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top