2023 AOSP and AAOS January Meetup: App developers and Android Automotive OS

Sdílet
Vložit
  • čas přidán 28. 08. 2024

Komentáře • 2

  • @niteshrathore4341
    @niteshrathore4341 Před rokem

    @chris simmonds can you explain how to make the android automotive app to get the gear change information and integrate it with the react native app.

    • @chrissimmonds
      @chrissimmonds  Před rokem

      You need to call developer.android.com/reference/android/car/hardware/property/CarPropertyManager and register a callback for VehiclePropertyIds.GEAR_SELECTION. You need android.car.permission.CAR_POWERTRAIN