Open dinhthienkhai opened 2 years ago
Thank you for the issue @dinhthienkhai!
We are definitely supporting Java with the android auto sdk. We will be looking to add a Java only example to this repository soon!
That said, we're also optimizing the api for kotlin. With kotlin there is less boilerplate, better null safety, and coroutines improve background tasks and race conditions. The community opinion is, it would be in your best interest to learn some more kotlin for android apps. https://developer.android.com/kotlin/first
Thanks for your information @kmadsen, I think some examples of Java would be very helpful, as there will be many people who only know how to use Java like me. However, I also think that I have to learn more kotlin because the kotlin community is really strong. One more time thank you very much.
@dinhthienkhai a little status update here. We're still declaring long term apis for the android auto sdk and we will be verifying their interop with java https://github.com/mapbox/mapbox-navigation-android/pull/6292
I also prefer Java over Kotlin. It's not actually a preference, but for those who already have an application made natively in Java, it's somewhat unfeasible to switch to Kotlin, even if it's possible to do both at the same time.
Hi guys, I am a newbie. Currently I want to use Mapbox SDK to develop a navigation app that runs on Android Auto. However, my issue is that I only know how to use Java, but the current tutorials I can find are all using Kotlin. So I hope someone share me how or Example code about integrating MapBox SDK for Android Auto by Java. I sincerely thank.