~/talk

Fun with Native Code on Android

links:none on file

Builds a working Android TV emulator front end by wiring C libraries to Kotlin with Java Native Access (JNA) instead of JNI, using generated bindings (JNAator) and hand-written structures to call a subset of the libretro API (25 functions, 31 structs total but only the ones needed). Implements audio, video and input callbacks, discovers and implements a required environment callback, runs a 60Hz frame loop, loads ROMs from SD/HTTP, and ships a prototype called Odyssey that plays multiple libretro cores (7 platforms) with sound and controller input.

AI-written summary · about

  1. 0:00Introduction and project motivation
  2. 1:44App requirements and design
  3. 3:49Native code and JNI basics
  4. 6:59Introducing Java Native Access
  5. 14:26LibRetro and emulator integration
  6. 17:37LibRetro callbacks and game loop
  7. 20:47JNA bindings for LibRetro
  8. 24:39Implementing audio and video callbacks
  9. 28:12Handling game controller input
  10. 31:02Tying it all together and demo
  11. 35:25Future plans and project status
~/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.