seems not that simple.
i read the codes of the google assistant JS,
for a tap it only do an intent: action:"android.intent.action.VOICE_COMMAND", which i think is not xxx.apk specific.
(indeed this could also start up the bixby, a google assistant alternative on my samsung A33).
i.e. currently this JS is non-specific, it simply start up any DEFAULT voice input on an android phone.
either i have to
i asked gpt4, it say it didn't found any info on how to use intent to do things /w the chatgpt apk.
I have asked my friend to ask on the OPENAI dev forum.
hope there are more information otherwise it will be hard to do so.
© Espruino, powered by microcosm.
Report a problem