I have experience with Android automotive and i was able to receive PropertyIds like handbrake, rpm and other stuff perfectly.
Now i want to do the same with Android Auto only, i know it's possible because Waze do it perfectly, it detects the state of the handbrake, now the question is how ?
I mean what feature should i check for running PropertyManager and Car library properly ?
Here is an example of code that works on Automotive but not on Android Auto :
car = Car.createCar(context);
it crash on Android Auto :
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/car/Car;
at com.tib.androidautotest.CarPropertyHelper.startCan(CarPropertyHelper.java:37)
at com.tib.androidautotest.CarPropertyService.onCreate(CarPropertyService.java:39)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4379)
I think that's normal cause Android Auto does not have car library (i guess), but what should i do for accessing PropertyIds ?