When I send emojis nums icons, 1,2,3,4,5.... send correctly, But when I try send emojis icons how smile or others ... not send nothing ...
My debug show a face smile, but not send. why ? then seems to not clean the buffer, and when you rewrite, the activity is closed, but not when using numbers icons emojis.
The listener not called, when I use icons fases, but yes when I use icons numbers.
public void sendMessageServer()throws XMPPException{
Message msg= new Message();
String tim = " "+time;
Chat chat = chatManager.createChat(CurrentUsernameClick+"@delive", messageListener);
if(message_list.getText().toString()!=null && message_list.length()>0){
String text = message_list.getText().toString();
msg.setBody(message_list.getText().toString() +tim);
chat.sendMessage(message_list.getText().toString() + tim);
addNewMessage(new Messages(msg.getBody(), true));
UserDataAccesObject.createMessage(id, id, msg.getBody(), usernameSession, CurrentUsernameClick, time);
message_list.setText("");
}
}
DEBUG SHOW :
I send correctly numbers, but smiles face not.
http://apps.timwhitlock.info/emoji/tables/unicode
I have 2 ideas : 1 (orc) 2 (ASCII)
1 -
I think that I need recognize characters not? with library OCR not ?
in my debugger, show [?] with icons, I think that is because not recognize character correctly, or am I wrong?
2 -
Or can be ASCII ?