Go Back   Android Forums > Android Development > Application Development > Application Requests
Application Requests Request Apps or provide ideas for the devs here.

New Forums: Nexus Player | Nexus 9
test: Reply
LinkBack Thread Tools
Old December 23rd, 2009, 07:14 PM   #1 (permalink)
Senior Member
Thread Author (OP)
(G)'s Avatar
Join Date: Dec 2009
Location: Minnetonka, MN
Posts: 734
Device(s): Samsung Galaxy S4, Galaxy S II, Rooted OG Droid
Carrier: Verizon

Thanks: 54
Thanked 45 Times in 37 Posts
Default KeyCaps type of app needed!

On the Palm platform there was an app called "Key Caps." What it did was allow you to quickly hit a key twice in succession and it would generate a capital letter (hit "g" twice quickly on the keyboard and it would turn it into a capital G" or if you held down the key for a second, it would generate the ALT symbol associated with that key (a "%" for the "g" in this case).

The prefs menu allowed you to switch those (i.e. double-tap and get the ALT, hold down long and get the capital).

Any chance of doing something like that?

(G) is offline  
Reply With Quote
sponsored links
Old March 11th, 2010, 11:30 AM   #2 (permalink)
Junior Member
Join Date: Mar 2010
Posts: 56
Device(s): Motorola Droid
Carrier: Not Provided

Thanks: 0
Thanked 7 Times in 4 Posts

I'm a developer, though not of Android apps (yet). I'm planning on getting a Droid in the next few days, though. I, too, am a big fan of KeyCaps on my Treo, and would love to have such functionality on the Droid.

I've developed for countless flavors of Unix, PalmOS, Windows, Netware, and so forth. I even got some code into the Linux kernel. I'm reasonably sure I could handle this job, but I'm not sure where to start. Anyone here want to advise me?

Just from a quick skim, it looks like I could implement an android.inputmethodservice.KeyboardView.OnKeyboard ActionListener and tweak the input stream it produces. Of course, I'm not sure how to register one, and so forth... any hints? Or suggestions for a better approach?
sorceror is offline  
Reply With Quote
The Following User Says Thank You to sorceror For This Useful Post:
garyg-1 (May 18th, 2011)
Old May 18th, 2011, 11:30 PM   #3 (permalink)
New Member
Join Date: May 2011
Location: Greenville
Posts: 1
Device(s): HTC EVO, Samsung Epic 4G
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts

It sounds like the right sort of place to begin. I've done a bit of keyboard munging, but never in a high-level language. At the native instruction set level you need to be able to capture "key down", "key up", "which key", a "clock", and have some place to keep tables of replacement values. I have implemented several table-driven State Machines for keyboard re-interpretation: State Machines consume more static memory, but have very low CPU costs to run and are easy to debug & tweak. Please keep us posted on your progress.
garyg-1 is offline  
Reply With Quote

Go Back   Android Forums > Android Development > Application Development > Application Requests
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 06:10 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.