TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > Developers Corner
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 05-10-2010, 12:21 PM   #1
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 155
Arrow TyPo for TiVo

As first used in my new Google Maps App ( http://www.tivocommunity.com/tivo-vb...12#post7930112 ) I have finally released my auto-completing keyboard widget I call "TyPo for TiVo"
It's available from http://david.blackledge.com/tivo/multitasker in the "Widgets & Gadgets" jar file. It's also now used by the "StringGetterScreen" Gadget.
I haven't updated the javadoc yet... not sure when I'll get a chance.

It works like a BButton initially, but when the user clicks "select" it expands into a text area with a cursor, a keyboard below it, and a list of completions above it. The completion list updates with every letter added (or your current position in the current word) and you can select a completion by pressing the number on the remote that corresponds to it (or selecting it from the list).

When it expands it repositions to ensure there's enough room for everything - so it might prove easier to just use the StringGetterScreen which doesn't have that extra step.

The text area has full editing ability with the addition of left/right to move the cursor, advance to move to the end/beginning, and replay to move back by one word. Thumbs will let you change case of the next letter, too.

Thumbs while in the keyboard or completion list affect capitalization or caps-lock of your next selection.

It loads the Moby word lists of Frequently used words and Common words. If other Moby word lists are present in the top of the class path, it will add them as well. If you type words not in those lists, they are added to a user dictionary of words for later auto completion. (stored in the user's home directory)

The keyboard is a custom layout that contains a row of commonly needed letter combinations (e.g. "sh"), then a row of punctuation, then the alphabet layed out so the first row is all the vowels.

It has a lot of programmer options for how it behaves on the edges of the keyboard and text area to enable as many cases as I could think of.
"clear" also has an "undo" function (hit clear again).

As usual, it's not pretty, but it works nicely in my opinion.

It still needs a few tweaks like handling if the text gets too long, it should jump back to the text area when you select a completion from the keyboard area, and I want to make it smarter when you press a number while in the text area (right now it just types the number - it should select that auto-completion unless you're at the beginning of a word or there isn't such a completion). It doesn't take advantage of HD if available. Also it needs to be prettier ;]
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com:
Enter Webz browser, Solitaire/FreeCell, Calendar, Map..., TyPo auto-completion, QuickKeyboard, widgets...
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
hmedev.wikidot.com (lists known apps!)
davidblackledge is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media
(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVo® is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 01:26 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |