Technology has enabled most of us to communicate by voice via voice notes, which has revolutionized the way we send messages to each other. However, there are no present accessible options for users not able to listen well, and voice notes are not always practical - one can't always listen to them by other urgent matters.

With this in mind, and with a philosophy of improving products to work for extreme cases, Accessible Voice Notes transcribes your voice notes by sharing the voice notes from messaging applications like WhatsApp and Messenger to the Accessible Voice Notes application, converting the audio to text with the Google Cloud Speech API, and displaying the converted text to the user.

To be able to achieve this, this was needed:

  1. Create an Activity in Android which has an intent filter to receive "SEND" intents with audio media.
  2. Create an AsyncTask to execute network functions without increasing the response time.
  3. Obtaining the file URI from the intent to read the bytes and encode them to Base64
  4. Send the audio file to Google Cloud Speech API with custom settings

This application was developed with Java and Android Studio to be able to make full use of the Implicit Intents at a native level.

Built With

Share this project:

Updates