I’m new on stackoverflow. If i erred, tell me about.
I’m new in Android dev too. And for most my projects i usually use C or C++. I didn’t use/know Java, Kotlin. And i think what i won’t use java/kotlin for other things except Android.
So, is it god idea – write main code of Android app in C++ and C and use java/kotlin for access to Android’s services, base-GUI(buttons, text field, scroll, etc), work with sensor, etc?
And what is better for above and for build with C++ – java or kotlin?
In global, i want to use C++ and C only for more Android apps because i love productivity of C and C++ and i didn’t use/know java/kotlin. But i didn’t found some docs without java/kotlin.
For example, i want to create messanger client for GNU/Linux distros and Android. Possibly, i wrote client for GNU/Linux distros what good work.
And i want to port GNU/Linux’s client to Android. But i not want rewrite main-code for Android because most likely main code from GNU/Linux’s client will work in Android. I just want copy GNU/Linux client’s main code, possibly edit somethings in it, and add mobile’s GUI and sensor input’s support.
Sorry for my english. If you not got something in my question, tell me about.
Robert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.