-
Notifications
You must be signed in to change notification settings - Fork 0
TODO Android
Ben Bucksch edited this page Jun 27, 2023
·
4 revisions
TODO for Android developers
Create a wrapper app shell that can run our SPA web app.
- Cordova
- PhoneGap
- Others
- Create the wrapper app
- Package web app within APK
- Communication between app parts:
- speech recognition
- speech generation
- LLM
- intent parser
- notification
- home screen widget
- File access, including download of AI models
Create widget that can be placed on the home screen, similar to weather, clock or search field.
- Can we record audio from the widget? Whenever the widget is displayed?
- We need a physical device button that the user can press and activate the voice recognition.
- It needs to work on all phones.
- Solution: Use the "Volume Down" button.
- Implement an audio app like Spotify that captures the volume buttons
- If Volume Down is pressed once, activate the voice recognition, without wake word
- If Volume Down is pressed twice or more, change system volume, as the buttons would normally do. Ditto for Volume Up.
- Show a notification, so that the app stays active and can react to the volume button, even when the user uses other apps, and even if the phone is in standby.
- The notification can show the state of the assistant, to make it useful for the user.
- Test that this works on various phones.