~/talk

Building Apps with Downloadable Fonts and EmojiCompat from the Support Library

TalkinJapaneseat DroidKaigi 2018 · 2018-02-08..02-09· [android, web-platform]
name:takahirom
links:none on file
slides:none on file

How to add Downloadable Fonts and EmojiCompat to Android apps: use Support Library 26 to run Downloadable Fonts back to Android 4.0 and obtain fonts via Google Play Services (note the default catalog currently lacks Japanese fonts). Describe migrating from Calligraphy to font resources applied through TextAppearance and async Typeface callbacks, and explain EmojiCompat support (API 19+, using the downloadable font bundle adds ~6.5MB to the APK), testing requirements (Play Store emulator image and Play Services update) and existing runtime bugs that require cautious use.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Downloadable fonts mechanism
  3. 3:32Implementing downloadable fonts
  4. 5:47Font signature check
  5. 8:40Font retrieval with ContentProvider
  6. 10:32Using downloadable fonts
  7. 13:53Calligraphy font setup
  8. 15:45EmojiCompat necessity and mechanism
  9. 18:03Surrogate pairs and code points
  10. 20:59EmojiCompat implementation
  11. 23:30Downloadable fonts and EmojiCompat summary
  12. 25:16Summary and future outlook
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.