android / car-samples

Multiple samples showing best practices for car app development on both Android Auto and Android Automotive OS.
Apache License 2.0
358 stars 166 forks source link

I don't know how to display notifications on the DHU side with messaging apps. #30

Open LeoAndo opened 2 years ago

LeoAndo commented 2 years ago

I would like to implement "Incoming messages" and "Saved messages". Is there a github project that explains the detailed implementation?

I tested the execution of the app based on the "Messaging Service Template" of Android Studio, but nothing was notified to the DHU side.

This repository will be helpful when creating apps using the Cars App Library. When creating media apps, the uamp repository will be helpful. However, there is no sample project on github to help me create messaging apps.

my project: https://github.com/LeoAndo/android-auto-automotive-training/tree/main/MessageSimpleApp Mobile(Google Pixel5 OS12) DHU v2

about Android Studio Template

In my opinion, the code in "Android Studio Messaging Service Templates" is old, can't be run right away, and isn't very helpful.(There is no implementation of NotificationChannel etc.) Issues that cannot be run immediately have been submitted to the issue Tracker.