Emojicons发送脸图标无法正常工作,发送数字图标工作 [英] Emojicons Send face icons not work, send number icons work
问题描述
当我送emojis NUMS图标,1,2,3,4,5 ....发送正确的,但是当我尝试发送emojis图标怎么笑,还是...不发什么...
我的调试展现脸上露出一丝笑容,但不能发送。为什么 ? 然后似乎不干净的缓冲区,而当你重写,该活动是封闭的,但没有使用数字图标时,emojis。
监听器不叫,当我使用的图标fases,不过是当我使用的图标数字。
公共无效sendMessageServer()抛出XMPPException {
消息味精=新的Message();
字符串恬=+时间;
聊天= chatManager.createChat(CurrentUsernameClick +@海外配送,消息监听);
如果(message_list.getText()的toString()=空&安培;!&安培; message_list.length()大于0){
字符串文本= message_list.getText()的toString()。
msg.setBody(message_list.getText()的toString()+添);
chat.sendMessage(message_list.getText()的toString()+添);
addNewMessage(新消息(msg.getBody(),TRUE));
UserDataAccesObject.createMessage(ID,ID,msg.getBody(),usernameSession,CurrentUsernameClick,时间);
message_list.setText();
}
}
DEBUG显示:
我把正确的数字,但微笑面对的。
http://apps.timwhitlock.info/emoji/tables/uni$ C $ç
我有2个观点:1(兽人)2(ASCII)
1 -
我想,我需要认识到角色呢?与库OCR不?
在我的调试器中,显示[?]带有图标,我认为这是因为无法正确识别的字符,还是我错了?
2 -
,也可以是ASCII码?
发送微笑使用htmlescape使用Apache共同UTIL LIB它为我的作品
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 ?
Send smile using htmlescape using apache common util lib it works for me
这篇关于Emojicons发送脸图标无法正常工作,发送数字图标工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!