Hello!
I'm currently trying to access the text of the Google Maps notification when in "navigation mode".
Accessing the notification object already works via NotificationlistenerService.
I've found out that this notification is a "RemoteViews" object instead of a normal notification.
The same problem seems exists in native Android:
https://stackoverflow.com/questions/41599826/android-notification-listener-and-google-maps
https://stackoverflow.com/questions...notifications-via-notificationlistenerservice
I tried this way:
https://stackoverflow.com/questions...-from-parcelable-contentview-or-contentintent
But without success:
java.lang.RuntimeException: Method: getDeclaredField not found in: android.widget.RemoteViews
java.lang.RuntimeException: Method: getDeclaredFields not found in: android.widget.RemoteViews
I'm currently trying to access the text of the Google Maps notification when in "navigation mode".
Accessing the notification object already works via NotificationlistenerService.
I've found out that this notification is a "RemoteViews" object instead of a normal notification.
The same problem seems exists in native Android:
https://stackoverflow.com/questions/41599826/android-notification-listener-and-google-maps
https://stackoverflow.com/questions...notifications-via-notificationlistenerservice
I tried this way:
https://stackoverflow.com/questions...-from-parcelable-contentview-or-contentintent
But without success:
java.lang.RuntimeException: Method: getDeclaredField not found in: android.widget.RemoteViews
java.lang.RuntimeException: Method: getDeclaredFields not found in: android.widget.RemoteViews