-
Notifications
You must be signed in to change notification settings - Fork 41
Java Usage
Shayan Rais edited this page Aug 4, 2016
·
1 revision
Import the emojee files, for example People.java
import packagename.People;
For logging the emojee-code on console
//https://www.emojibase.com/emoji/1f600/grinningface
Log.e("(int)", ": " + People.GRINNING_FACE); //128512
//https://www.emojibase.com/emoji/263a/whitesmilingface
Log.e("(char)", ": " + People.WHITE_SMILING_FACE); //☺
//http://emojipedia.org/person-raising-both-hands-in-celebration-emoji-modifier-fitzpatrick-type-1-2/
Log.e("(int[0])", ": " + People.PERSON_BOTH_HAND_CELEBRATION_TYPE_1_2[0]); //128588
//http://emojipedia.org/family-man-woman-girl/
Log.e("(int[0])", ": " + People.FAMILY_MAN_WOMEN_GIRL[0]); //128104
Import the emojee files, for example People.java
import packagename.People;
For logging the emojee-code on console
//https://www.emojibase.com/emoji/1f600/grinningface
Log.e("(string)", ": " + People.GRINNING_FACE.toString()); //😀
//https://www.emojibase.com/emoji/263a/whitesmilingface
Log.e("(string)", ": " + People.WHITE_SMILING_FACE.toString()); //☺
//http://emojipedia.org/person-raising-both-hands-in-celebration-emoji-modifier-fitzpatrick-type-1-2/
Log.e("(string)", ": " + People.PERSON_BOTH_HAND_CELEBRATION_TYPE_1_2.toString()); //🙌🏻
//http://emojipedia.org/family-man-woman-girl/
Log.e("(string)", ": " + People.FAMILY_MAN_WOMEN_GIRL.toString()); //👨👩👧