Extension development using other runtimes
I've been able to use developer mode to write apps for Karoo using C# as it's just Android. For extensions is there anything blocking using other languages like Flutter or C# as long as they are android compliant -- or is the extension mode locking to only Kotlin in some means?
-
I think nothing prevents you from using other languages, but it will require more work as you'll have to reimplement the library part that Hammerhead has published for developers on their github, which abstracts the communication with the karoo system (via AIDL I think, or some other IPC). Also, if you want to supply graphical datafields, you'll have to use android remote views. Flutter supports them well I think.
Kotlin is a very modern language and Hammerhead's example code and all the open source extensions I am aware of make heavy use of features like coroutines, flows, jetpack compose and glance etc. which you can build on if you also use Kotlin. The current state of the art LLMs are also trained on Kotlin, Jetpack compose and glance etc. and are useful when writing extensions. I'm not sure other languages are worth the extra effort.
Please sign in to leave a comment.
Comments
1 comment