[Application] write text via adb - HD2 Android Themes and Apps

Hey Guys
Out of curiosity i wrote a small program today that lets you write texts via adb.
It sends "adb shell input text" and "adb shell input keyevent" via adb. Since the character set of adb is limited not all characters will work but its enough for sms and short mails.
You can also send all keyevents you want by using the keyevent button and enter the keyevent number you want.
I don't plan to go on developing. As i wrote before it was just curiosity that made me write that tool and i want to share my work.
Have fun
Ulti~

Ultimaex said:
Hey Guys
Out of curiosity i wrote a small program today that lets you write texts via adb.
It sends "adb shell input text" and "adb shell input keyevent" via adb. Since the character set of adb is limited not all characters will work but its enough for sms and short mails.
You can also send all keyevents you want by using the keyevent button and enter the keyevent number you want.
I don't plan to go on developing. As i wrote before it was just curiosity that made me write that tool and i want to share my work.
Have fun
Ulti~
Click to expand...
Click to collapse
That's pretty nice. Thanks!

shadiku said:
That's pretty nice. Thanks!
Click to expand...
Click to collapse
Is it working for you?

Ultimaex said:
Is it working for you?
Click to expand...
Click to collapse
Yeah, it's just a bit delayed between each keypress.

shadiku said:
Yeah, it's just a bit delayed between each keypress.
Click to expand...
Click to collapse
Yes, that's the adb interface which is delaying it. My first try was to send letter by letter but that was VERY slow. (try typing some spaces and you will see how slow it is that way)
That is why I'm starting a timer each time you type a character. If you type another character within 500 ms the timer will be reset and the character is added to the one you pressed before.
If the 500ms run out or you send a keyevent like space or return the text will be sent as text block.
That's the reason why you feel delay

Related

4 Concerns about SMS

Hey All,
I have 4 concerns about SMS that I need anyone to share his/her knowledge with them.
Is there anyway to start sms in an ABC Mode? (Not T9)
Second is there any registry setting that I can change so sms starts in the writing field not the phone number field?
Third, is there a way so I can I always enable CAPS to be always on??
Forth Is there any registry editing that can make the first letter I write in an sms to be a capital letter one? or any letter wrote after a (.) for example to be capital?
Please anyone shares his experience about these concerns.
Thanks.
Shouma said:
Is there anyway to start sms in an ABC Mode? (Not T9)
Click to expand...
Click to collapse
If you change to T9, or ABC, it should remember next time you write a message
Shouma said:
is there a way so I can I always enable CAPS to be always on?? (Not T9)
Click to expand...
Click to collapse
Depends on which keyboard, try pressing CAP button twice
Shouma said:
Forth Is there any registry editing that can make the first letter I write in an sms to be a capital letter one? or any letter wrote after a (.) for example to be capital?)
Click to expand...
Click to collapse
Should happen as default
You need to leave a space so that it puts a capital letter after a punctuation mark.
Shaady said:
You need to leave a space so that it puts a capital letter after a punctuation mark.
Click to expand...
Click to collapse
good point it does capitals the same as a normal PC using Microsoft Word.
Thanks mugglesquop and Shaady for responding...
mugglesquop said:
If you change to T9, or ABC, it should remember next time you write a message
Click to expand...
Click to collapse
Actually I always use ABC...and everytime I start to write a message I get the default T9 enabled :x
mugglesquop said:
Depends on which keyboard, try pressing CAP button twice
Click to expand...
Click to collapse
Nah...When I press CAPS twice it turns into the Small letters mode and then back to CAPS..which keyboard can do this?!
mugglesquop said:
Should happen as default
Click to expand...
Click to collapse
Not the case here also It does so when I write an appointment or something in the calendar...but It dont work when I write an SMS...
Shaady: I will try leaving a space after the (.) to capitalize the letter..however, it dont capitalize the first letter I write in the sms dialog.
Thanks dudes,
But how can I check the registry settings of the keyboard are right or not?
Much appreciated.
not sure on reg settings. what ROM are u using?
i use the 'Full QWERTY' keyboard, and tapping on the CAPS/shift key twice changes to caps lock.
mugglesquop said:
not sure on reg settings. what ROM are u using?
i use the 'Full QWERTY' keyboard, and tapping on the CAPS/shift key twice changes to caps lock.
Click to expand...
Click to collapse
I use the original 1.93.737.1 ROM m8.
Maybe bec. u use the Full Qwerty keyboard it saves the T9/ABC mode for the next time you starts it bec. I tried it and It worked.
However, I use Compact Qwerty and it never saves status of the ABC/T9 Mode I use...It always starts with T9.
Shouma said:
I use the original 1.93.737.1 ROM m8.
Maybe bec. u use the Full Qwerty keyboard it saves the T9/ABC mode for the next time you starts it bec. I tried it and It worked.
However, I use Compact Qwerty and it never saves status of the ABC/T9 Mode I use...It always starts with T9.
Click to expand...
Click to collapse
ah right, yeh i only use Full QWERTY
sorry cant help!

t9 dictionary and marking emails as read from TouchFLO

Hi everyone,
I think at one point I accidently typed Im instead of selecting I'm from t9 and now I'm never shows up when I type im in compact qwerty mode. Is there a way to manually delete the word "im" from the t9 dictionary so it will use "I'm" instead?
Also is there a way to mark messages as read from TouchFLO 3d or to make it so as soon as I "flip" to a message it marks it as read?
Thank you!
For deleting/adding words in the T9 dictionary:
http://forum.xda-developers.com/showthread.php?t=415181&highlight=dictionary
Thank you very much. It is an exe so I need Windows to use it right? I guess I'll boot up Vmware! Any ideas about the marking mail as read when you "flip" through them in TouchFLO 3D?
You have to run the application on your mobile phone and not on your Desktop PC.
Oh really? I didn't know Windows Mobile ran .exe's I thought it was just .cab's Thanks for letting me know. I'm brand new to Windows Mobile
I tried the t9 utility you linked to, but I can't get the word I'm to complete. I added it to the t9 dictionary but when I type the keys I and M it just completes to Im. Do I need to do something to get the changes to stay? Oh and is there a registry tweak that I can add so that it stops adding my words to the dictionary unless I explicitly tap the "plus" button and add it?
Anyone? It sucks to have to manually type the ' key every time I type I'm in compact QWERTY
You may want to post your inquiry in the thread above, and see if Sourceress (poster of the zip/exe file) could help.
Thanks for the tip tzour. I'll try that out!

create appointment?

sometimes I'm driving and remember something I need to do at home
I'd like to get my Kaiser and use some voice command like "create reminder in 2 hours: check bank account" or something like that
is there any software that can do it?
my voice command software is very limited
Lem0nHead said:
sometimes I'm driving and remember something I need to do at home
I'd like to get my Kaiser and use some voice command like "create reminder in 2 hours: check bank account" or something like that
is there any software that can do it?
my voice command software is very limited
Click to expand...
Click to collapse
I remember seeing something like that on the Enterprise, Captain Picard would seemingly talk into thin air , and a disembodied female voice would do whatever he said, I can't remember what rom he was using though
For now you can link your voice recorder to button 6, though you will have to manually check it to remind yourself later.
LOL
Just to confirm, Picard was using voice recorder on his Kaiser. He used it to record all his Captain's logs as well.....
It's the best he could do..... and therefore perhaps the best you will Lemonhead.....
Good luck.
lol
I already expected to have to push some button before starting talking
but my voice command is seems very limited... I can only ask next appointment and things like that, but I can't create a new one

Voice Prompt Software

Does anyone know of a software that has the capability to run programs with voice prompt?
Example;
If you run the voice prompt software, you can explore your phone without pressing any buttons on your phone, totally hands free.
Thanks in Advance
gheramhie said:
Does anyone know of a software that has the capability to run programs with voice prompt?
Example;
If you run the voice prompt software, you can explore your phone without pressing any buttons on your phone, totally hands free.
Thanks in Advance
Click to expand...
Click to collapse
Microsoft® Voice Command 1.6 is the best one I ever used it doesn't require any set up works with any voice as long as you’re not in a noisy environment or you cannot speak clearly. Just set a button and say a command like play music artist Peter Gabriel and it works! Also say call steve mobile or if you do no specify a mobile or home it will ask you.
I original bought my Voice command software at Handango.com

qestion, no send button in portrait mode in message app

Hi guys, I all of a sudden have this problem that the send button will disappear if I "back" off the input soft keyboard in portrait mode, only the attach button will be left, even if I already input something, and in landscape mode, the text input box and the soft keyboard just took the whole screen, non other message is showing on the screen. I don't know when and how I changed anything or if that's just the way it is. My problem came with the input method I use in a foreign language with handwriting input, which could be set to use whole screen as input instead of an input box, then, all the buttons other than the input method will be disabled, you will have to back off the input, then click send, but once I back off the input, there's no send button.
Thanks in advance.
Screenshot? Just make a blank sms.
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
CNexus said:
Screenshot? Just make a blank sms.
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
Click to expand...
Click to collapse
Yes, if I make a new sms, the send button will be there even if I back off the keyboard, but once there are other messages in the thread, the send button will not show even if there's already words typed.
have a chat with yourself and blank out the #s in paint.
Let's see it.
sauprankul said:
have a chat with yourself and blank out the #s in paint.
Let's see it.
Click to expand...
Click to collapse
Please see the screen shot, when I type something, then click back to retract the keyboard, the send button wasn't there.
Can you still use the enter button on the keyboard?
EDIT: Everybody, disregard this Q.
You have no problem. That is just how the text app works. It's just that NOBODY ever noticed this until now. I'm surprised you did! :good:
sauprankul said:
Can you still use the enter button on the keyboard?
EDIT: Everybody, disregard this Q.
You have no problem. That is just how the text app works. It's just that NOBODY ever noticed this until now. I'm surprised you did! :good:
Click to expand...
Click to collapse
So funny. You're right I never noticed this. I never back out of the keyboard to send my message. It is strange that it only happens in portrait though.
Sent from my HTCONE using Tapatalk 4 Beta
Thanks, guys. then whose problem is this? Is it a HTC sense app or android intrinsic app? It's just for the english input, or many other input method, but I found this weirdy from a handwriting input method that you can set it into full screen input mode, in that mode, you can handwrite in anywhere on the screen, thus, it'll disable the original touch buttons and you will have to retract the input to use the soft buttons, but since there's no send button, I'll have to change input mode to send, which is just too much.
ctiger said:
Thanks, guys. then whose problem is this? Is it a HTC sense app or android intrinsic app? It's just for the english input, or many other input method, but I found this weirdy from a handwriting input method that you can set it into full screen input mode, in that mode, you can handwrite in anywhere on the screen, thus, it'll disable the original touch buttons and you will have to retract the input to use the soft buttons, but since there's no send button, I'll have to change input mode to send, which is just too much.
Click to expand...
Click to collapse
I think HTC has a suggestion box sorta thing somewhere on the phone.

Categories

Resources