Android examples for java.lang:String Emoji
is Single Byte Emoji
//package com.java2s; public class Main { public static boolean isSingleByteEmoji(char c) { if ((c >= 0x2600 && c <= 0x26ff) || (c >= 0x2702 && c <= 0x27b0) || (c >= 0x1f680 && c <= 0x1f6c0) || (c >= 0x24c2 && c <= 0x1f251) || (c >= 0x1f600 && c <= 0x1f636) || (c >= 0x1f30d && c <= 0x1f567)) { return true; }//from w w w .ja va 2 s . c om return false; } }