My Emoji Soft Keyboard is not supporting for Message Edittext Field in android.
But Other application like WhatsApp does supported.
For example, In whatsapp and wechat application, TextField does support Emoji keyboard characters, but in my mobile Messaging TextField it shows ? or _ for each character I type using my Emoji Soft keyboard.
I want to integrate Emoji character support in Mobile Messaging EditText field in Android application.
If someone could please give me way to solve this problem, i would be extremely gratitude for your answer.
Just set your Emoji xml code is user define like(111222) eg-
<key android:codes="111222" android:keyIcon="@drawable/smiley"/>
and then onkey() method in softkeyboard implement like this:
public void onKey(int primaryCode, int[] keyCodes){
----
----
else if(primaryCode == 111222){
int codeOfEmoji= 0x1F60A;
String text = String.valueOf(Character.toChars(codeOfEmoji));
mComposing.append(text);
sss.append(text);
commitTyped(getCurrentInputConnection());
}
----
----
}
Do this process do each and every Emoji Sets. this is very simple process to handle this problem.