Hope this helps!
You're looking for that activity to launch.
Maybe, your device doesn't have the same app, the same version, or that launch ability? :-(
I'd jump on the developer forums for your Rom and see if there is a compatible kernel or something suitable for your use.
> There is no other way?
I believe you can do it with a intent. Try Googling it.. Although they can be difficult to figure out sometimes.....
I think this is what you are looking for. The shell script.....
input keyevent 111; input keyevent 111; input keyevent 111
Will invoke voice input, just put it in the action / script / run shell
It does require root..
But, yes. To answer your uestion the voicesearchactivity is exactly like long-pressing the keyboard, only it is for Google now, not keyboard input.
Pretty sure what you want to do what you're looking for is AutoVoice.
> I opened a new task just to try what you said and nothing happend.
> in the "command" inside "run shell" I need to write "input keyevent 111; input keyevent 111; input keyevent 111"
>
> thats it?
You did not mention if you are rooted?
You need to tick the "use root" option in the shell command.
If you are testing this with the play button you need a small wait in the task then go to any text box and tap it. The device needs to be in a open text box for this command to work as you want..
> You did not mention if you are rooted?
> You need to tick the "use root" option in the shell command.
>
> If you are testing this with the play button you need a small wait in the task then go to any text box and tap it. The device needs to be in a open text box for this command to work as you want..
Ahhh, I just tested again. For my device I need to be using the stock keyboard. It does not work with swift key for example..
I have a moto droid 4 running 2.3.6. Rooted
Version 1.6u1m
Rich..