Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring Mapbox SDK to Android Auto with Java issue #139

Open
dinhthienkhai opened this issue Aug 30, 2022 · 4 comments
Open

Bring Mapbox SDK to Android Auto with Java issue #139

dinhthienkhai opened this issue Aug 30, 2022 · 4 comments

Comments

@dinhthienkhai
Copy link

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.

@kmadsen
Copy link
Contributor

kmadsen commented Sep 1, 2022

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

@dinhthienkhai
Copy link
Author

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.

@kmadsen
Copy link
Contributor

kmadsen commented Sep 8, 2022

@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 mapbox/mapbox-navigation-android#6292

@jonasrotilli
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants