Keyboard IME with emojis - android

I am making a keyboard with custom images which i have to "copy to clipboard" when clicked. I have followed this tutorial for making a working keyboard. On press a key i am also able to change keyboard layout. Now i want to change background and font of each keys of keyboard and also i want to add given images in gridview. I googled things but couldn't find the perfect one.
Any link for tutorial will also appreciated.
Thanks in advance.

Related

Android Create Custom Keyboard

Board
I want to create a custom keyboard like below, where the icon will be there in suggestions, on clicking that will open a separate view in the key I attached screens, I don't know how to start
And also there should be a edit text in it.
I should be able to enter text in both places
Here
is custom keyboard sample, You can get the idea about how to start

How to make a custom keyboard in andorid

I want to make a custom keyboard in android. is any body help me how to make custom keyboard in android.
and one more question, how to make a emoji button in custom keyboard. i want to use mine own emoji's. is it possible??
Yes you can create your own keyboard with emoji's you have to use inputmathod service to create your own keyboard (You can take help from this link)
This link also

How to implement a button for emoji (like Hangouts)?

How is it possible to implement a button that opens the emoji keyboard like in Hangouts?
I don't mean the standard emoji key inside the keyboard that appears when using android:inputType="textShortMessage". It should be a separate button inside the apps layout.
I'd appreciate any help or hints your guys can give. Thanks :)

Android Keyboard with Emoji

So I want to have a keyboard in my app that has emoji just like Whatsapp or Hangouts. How can I do that? I want to leave my key keyboard as it is I just want to add tabs to put emojis. I would think it would be easily supported by the soft keyboard but I can find nothing so far. Anyone could tell how to do it?
UPDATE:
The keyboard with emoji is included in Android KitKat and can be accessed by long pressing the new line button in the keyboard. The Hangouts keyboard however has the emoji icon visible instead of the "new line" key. If someone knows how to make this the default (either in layout or programmatically) I will take that as the correct answer.
As #dbar pointed out, the answer is:
android:inputType="textShortMessage"
But in my case, I was already using textMultiLine, so I had to use the both of them together:
android:inputType="textMultiLine|textShortMessage"
Looks like this:
I'm not sure about the Exact android version, but this should work only on Android 4.1 and above
Finally the answer was:
android:inputType="textShortMessage"
The new line key becomes a key to take out the emoji keyboard. The only quibble is the 'new line' key from the keyboard disappears with this configuration (before you could long press to choose between emoji/new line but now it's only emoji).
In Google Hangout, the emoji button is not on the keyboard (at least on my phone which is already using a third party keyboard), it's inside of the TextEdit box, and so it's part of the application itself (Gabe, I'm talking about the latest Google Hangout on top of KitKat with emoji support, all the current screenshots I found of Google Hangout do not show what I'm seeing on my phone, so this must be a very recent feature).
This is actually pretty easy to do, placing an ImageButton to the right of a TextView inside a RelativeLayout (the RelativeLayout which is made to look like a TextView with a custom background).
Then, it's just a matter of hiding the keyboard when clicking on that ImageButton and replacing it with a panel full of emojis when that happens (like in this open source emoji android keyboard, which is under a creative commons non-commercial license).
There is no functionality to add tabs to any generic keyboard. Certain keyboards may support it, but it isn't a common feature. You could write your own fully custom keyboard, but that's a lot of work and will piss off many users.
Also, I'm not sure what you mean about by like in hangouts. I use hangouts- it doesn't do anything odd with my keyboard. It stays as Swype, there's no special emoji tab. It may be a feature of your favorite keyboard based on the input type (I assume both use input type textShortMessage). But it isn't a generic feature.

how to hide soft-keyboard behind the View like Gmail app?

I had implemented auto-suggestion functionality using MultiAutoCompleteTextView successfully and everything is working fine except i'm not able to display auto-suggestion list above the soft-keyboard.
Android Gmail app has the same functionality. [see below image]
Question:
I want the exact functionality, want to a display a suggestion list on
the soft-keyboard but i don't have any clue how to achieve this. My
suggestion list is always hidden behind the soft-keyboard.
How to show auto-suggestion list above the soft-keyboard like Gmail
app?
I had tried playing with different android:imeOptions and different xml attributes and did a lot of searching but nothing helped.
Is there any public Api or XML attribute is available to do so?
Does anyone have any clue or idea about how to achieve this.
Code Structure : My fragment opens an AlertDialog which contains MultiAutoCompleteTextView where i'm implementing auto-suggest.
Any help or suggestion which leads to the right direction, would be greatly appreciated.

Categories

Resources