Skip to content

My First Android Kotlin Demo with OpenAI Real Time API, developer can now build AI agent quickly

Notifications You must be signed in to change notification settings

swooby/OpenAIAndroidRealtimeDemo

 
 

Repository files navigation

OpenAIAndroidRealtimeDemo

My First Android Kotlin Demo with OpenAI Real Time API, developer can now build AI agent quickly

I noticed that most demos of OpenAI’s real-time API are either Node.js or web-based, so I decided to release the first Android demo using Kotlin. Hope you enjoy it!

I’ll be creating more tutorials on AI application development in the future, so make sure to subscribe to stay updated!

For the Android app, we need to carefully deal with the following items:

  1. the audio collecting and processing
  2. the interaction with Openai API
  3. Ensuring the AI agent’s audio isn’t captured while it’s speaking

Watch till the end for valuable insights and unique implementation techniques!

GitHub Repo: (https://github.com/fuwei007/OpenAIAndroidRealtimeDemo)

LinkedIn: https://www.linkedin.com/in/navbot-frank/

X: https://x.com/fuwei007cn

facebook:https://www.facebook.com/weiwei.fufu

See my previous demo: Real-time API on Python: (https://www.youtube.com/watch?v=lOypO-ngBJ8&t=3s)

Real-time API demo on IOS: (https://www.youtube.com/watch?v=eWsvwTnscBA&t=877s)

Real-time API live demo at OpenAI'dev day: (https://www.youtube.com/watch?v=mVR90WmA34U&t=657s)

Takeaways OpenAI'dev day: (https://www.youtube.com/watch?v=LIR21LcfRpM&t=64s)

About

My First Android Kotlin Demo with OpenAI Real Time API, developer can now build AI agent quickly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%