keyboard - Smiles and long press feature in Android -


i've created android keyboard. how add features inserting smilies, , using long keypresses display symbols?

to create long-press behavior allows select several options pop-up menu, follow guide (specifically pop-up menu section):

http://developer.android.com/guide/topics/ui/menus.html

smileys (also known emoticons) combination of keys, understood programs , parsed same way. have do, when clicks smiley face on keyboard, simulate pressing of key combination matching emoticon. example, when clicks smiley, should simulate key presses ':' , ')' :).

here's list of emoticons: http://en.wikipedia.org/wiki/list_of_emoticons


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

node.js - Bad Request - node js ajax post -