No 'Insert text' ?

Post your questions and help other users.

Moderator: Martin

Post Reply
LightTempler
Posts: 53
Joined: 17 Mar 2013 16:08

No 'Insert text' ?

Post by LightTempler » 26 Apr 2013 15:45

Maybe I didn't searched carefully enough, but right now I cannot find a way to insert text into the current open (topmost app 's) textbox. Lots of automation tasks could be done with this, so it should be a way to :-)
The plugin path to Locale support modules leads to nowhere this time. Maybe an Activity can do?
Thx for any ideas!

LiTe

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: No 'Insert text' ?

Post by Martin » 26 Apr 2013 18:03

We just discussed some options in the other thread:
http://automagic4android.com/forum/view ... f=5&t=1876

Execute Root Command: input text xyz only works on a rooted device and the field to enter the text has to have the input focus.

There are also some variations listed in the DIY-Action thread:
http://automagic4android.com/forum/view ... f=5&t=1825

Regards,
Martin

LightTempler
Posts: 53
Joined: 17 Mar 2013 16:08

Re: No 'Insert text' ?

Post by LightTempler » 26 Apr 2013 20:37

1) Imho this is an important subject for automation, because of it opens a wide area of new possibilities. (e.g. my own intension is a flow/widget for all purpose text input from tablet to smartphone; SMS...)
I don't want to root my Galaxy Nexus' , so
2) Ideas:
There must be "official" ways to do it. You can enter text by Androids native keyboard or by alternative ones. They need an Android API access to the input box :-)
Maybe switching to an own, as keyboard declared input service, sending the text and switching back.
Else: Voice input is an extension to standard keyboard. Maybe more extensions are possible.
I feel some day Automagic can do it :-)
LiTe

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: No 'Insert text' ?

Post by Martin » 28 Apr 2013 12:54

Adding an additional input method/"keyboard" would be a possibility, but implementing a usable keyboard is too time consuming so it will be something extremely simple (most probably only consisting of one button to switch back to a regular keyboard).
You will have to either manually switch to the Automagic input method in the Android settings, use the root action Set Default Input Method or use action Control UI to switch to the new input method.
Not sure if it is possible to add an additional input type (like voice input) to an existing keyboard. Let me know if you find documentation about this or if you know an app that can do this that is not a complete keyboard on its own.

Martin

Post Reply