just-ai / aimybox-android-assistant

Embeddable custom voice assistant for Android applications
https://aimybox.com
Apache License 2.0
234 stars 52 forks source link

voice assistant widget response #73

Closed lloppy closed 1 year ago

lloppy commented 1 year ago

hello. i am creating a calories application with edamam api. i create a ChangeViewSkill class. in suspend fun onRequest i accept the request, send it to edamam and get a response (food calories). Eventually I want to show the user the calories in the voice assistant widget. how can I do that? I don't use some dialog API libraries

https://github.com/MAXBAF1/SpoonEat/blob/master/app/src/main/java/com/example/movieretrofit/utils/ChangeViewSkill.kt