J2objc for fun and profit
summary
Doppl converts non‑UI Java into Objective‑C using J2ObjC + Gradle plugin and a custom expanded Android runtime, ships tested ports of libraries like Retrofit port at ~99.7% unit‑test passing and SQLiteDatabase, and requires moving business logic into a standard Java module, adding Doppel deps and a CocoaPods entry. Builds produce native iOS frameworks, expose memory‑cycle and Gradle 2.8 pain points, and in practice the Droidcon iOS app accepted but brittle — it works and is performant but needs polishing.
AI-written summary · about
chapters (7)
- 0:00Introduction and background
- 1:40What is J2objc and Doppel
- 10:10Why share business logic
- 15:24Native UI vs cross-platform
- 21:48Current status and future plans
- 26:26Demo and shared code example
- 30:29Q&A session
related talks
43mDoppl Code Sharing
34mDoppl Code Sharing
25mKeynote: Evolution inside the build system (en)
26mApp Architecture Then and Now: Lessons from the DroidKaigi Conference App History
34mKeynote: Comedy Talk - Better Android Development (BAD)
01h 23mAndroid and Groovy, a winning pair?
41mApollo-Android: a Journey to Kotlin Multiplatform
45mDagger 2 - Back to Basics
