Open Jrdnkasparek opened 6 years ago
For reference: https://www.tensorflow.org/mobile/tflite/devguide
Looks like the official API for this has been released: https://firebase.google.com/docs/ml-kit/android/generate-smart-replies
Related: https://joebirch.co/2019/04/24/exploring-firebase-ml-kit-on-android-smart-reply/ and https://heartbeat.fritz.ai/implementing-ml-kits-smart-reply-api-in-an-android-app-d031183764b7
I am sure this could also be included in this. Android Q takes this a step forward and adds "suggested actions"
See here for reference: https://developer.android.com/reference/android/app/Notification.Action.Builder#setAllowGeneratedReplies(boolean)
The Device Personalisation Services app on GMS devices and ExtShared module on AOSP seem to be capable to generate replies and actions on device. This is implemented with NotificationCompat classes.
ref:
Android P adds a new option, called 'MessagingStyle.' Developers can show conversations, attach inline photos and stickers, and even suggest smart replies.