moezbhatti / qksms

The most beautiful SMS messenger for Android
https://qklabs.com/download
GNU General Public License v3.0
4.48k stars 1.06k forks source link

Inline Reply/Smart Reply support #1148

Open Jrdnkasparek opened 6 years ago

Jrdnkasparek commented 6 years ago

Android P adds a new option, called 'MessagingStyle.' Developers can show conversations, attach inline photos and stickers, and even suggest smart replies.

moezbhatti commented 6 years ago

For reference: https://www.tensorflow.org/mobile/tflite/devguide

moezbhatti commented 5 years ago

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

Jrdnkasparek commented 5 years ago

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)

GeoZac commented 3 years ago

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: