Using .NET Code from Android Studio with Embeddinator-4000
summary
Embeddinator-4000 takes a C# library and produces C and Java bindings, creating a native .so and an .aar that can be added to an Android Studio Gradle project. The demo builds a Greeting.dll, generates Java wrappers, adds the .aar, and runs a greeting on a device, showing runtime embedding and native hosting work, but the tool is immature: incomplete BCL bindings, missing members, problems with generics and pointers, and a limitation of one Android runtime (AR) per app causing conflicts.
AI-written summary · about
chapters (9)
- 0:00Session overview
- 3:39Embeddinator-4000
- 8:43.NET and Android basics
- 12:12Convert C# to shared library
- 19:33Calling .NET from Java
- 28:53Status and challenges
- 35:46Binding system design
- 42:54Transpiler and runtime options
- 49:07Summary and references
related talks
33mUnlocking Unity for Android Developers: Blending Android and Unity in Harmony
05mExposing Go code to Android and Python
01h 23mAndroid and Groovy, a winning pair?
37mFun with Native Code on Android
26mBuild-Time Auto-Instrumentation in Android
26mEmbedding V8 in the real world
46mGame Development With Unity
26mArchitecting Your Android Library
