~/talk

Mastering Qt Android

Talkat Qt World Summit 2015 · 2015-10-06..10-07· [android]
links:none on file
slides:none on file

Shows how to extend Qt on Android using JNI to call Java from C++ and vice versa, with a working SD‑card listener implemented end-to-end. Uses the Android extras module to call Java methods, covers two JNI registration approaches (template names exported per method versus a single JNI_OnLoad that calls RegisterNatives), and shows importing Gradle into Android Studio for Java editing and debugging. Explains the two‑thread model (Android vs Qt) and safe cross‑thread calls via runOnUiThread and QMetaObject::invokeMethod.

AI-written summary · about

  1. 0:00Introduction to Qt Android
  2. 1:10What is JNI and why use it
  3. 3:40Calling Java from C++
  4. 5:47Calling C++ from Java
  5. 14:25SD card notification example
  6. 20:36Qt Android app architecture
  7. 24:08Extending Java part
  8. 29:49C++ implementation details
  9. 35:10Thread safety and event loops
  10. 41:39Q&A session
~/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.