No More □ — Mastering Emoji on Android
summary
Shows concrete fixes not vague promises: use EmojiCompat with dynamic font downloading (bundled font is ~7.4MB, download init delays ~150ms) or supply an emoji-one font as a custom Typeface; matching all 4,000+ emoji requires a generated regex and an emoji dictionary; naive string.length fails because a complex emoji is length 7 so Twitter fits ~40 of them into 280 chars, codePointCount gives 4, and a BreakIterator yields rendered graphemes; alternative build uses image spans or Typeface spans and the recommended APIs actually work with caveats.
AI-written summary · about
chapters (14)
- 0:00Start
- 2:18+ Emoji: A Brief Story
- 3:45+ Emoji & Android
- 4:46+ How to be up to date: DIY
- 9:26+ Extra-short-intro to Unicode
- 11:11How Emoji works
- 14:37+ How long is an Emoji? - Improvement
- 18:32+ Finding Emoji on Strings
- 19:40+ Emoji assets
- 22:24+ Custom font file: Setup
- 23:21+ Custom font file: Results
- 23:52+ Custom font file: Hold on...
- 26:30+ Emojicompat: Setup (bundled)
- 27:25+ Emojicompat: Setup (downloadable)
related talks
35mNO MORE □ — MASTERING EMOJI ON ANDROID
21mAndroid Emoji 2021
23mAndroid U+2764 (❤) Emoji
24mFonts and Emoji Using Support Libraries
38mFonts, Emoji and Text Using Support Libraries
30mFonts, Emoji and Text Using Support Libraries
26mBuilding Apps with Downloadable Fonts and EmojiCompat from the Support Library
43mPower of Emoji
