# Building a Camera-Aware Voice AI App on Android

DevFeed: [Building a Camera-Aware Voice AI App on Android](<https://devfeed.tech/articles/building-a-camera-aware-voice-ai-app-on-android-55441.md>)

Original publisher: [Read original article](<https://proandroiddev.com/building-a-camera-aware-voice-ai-app-on-android-58cba07629bb?source=rss----c72404660798---4>)

Author: Akshay Nandwana

Published: 2026-09-19T16:19:24Z

Content type: article

Language: en

Sources: [ProAndroidDev](<https://devfeed.tech/sources/proandroiddev-medium.md>)

Topics: [Conversational AI](<https://devfeed.tech/topics/conversational-ai.md>), [Android](<https://devfeed.tech/topics/android.md>), [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Image](<https://devfeed.tech/topics/image.md>), [android-permissions](<https://devfeed.tech/topics/android-permissions.md>), [cameraX](<https://devfeed.tech/topics/camerax.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [camera](<https://devfeed.tech/tags/camera.md>), [compose](<https://devfeed.tech/tags/compose.md>), [context](<https://devfeed.tech/tags/context.md>), [conversational-ai](<https://devfeed.tech/tags/conversational-ai.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [live](<https://devfeed.tech/tags/live.md>), [realtime](<https://devfeed.tech/tags/realtime.md>), [realtime-voice](<https://devfeed.tech/tags/realtime-voice.md>), [rtc](<https://devfeed.tech/tags/rtc.md>), [voice](<https://devfeed.tech/tags/voice.md>), [voice-ai](<https://devfeed.tech/tags/voice-ai.md>)

## AI overview

Live Lens combines an Android Kotlin/Jetpack Compose app, Agora real-time voice sessions, and a Python backend that uses Gemini for conversation and camera-image understanding. The app sends selected camera snapshots to the backend; Gemini Vision summarizes them, and the backend injects that context into the active Agora agent. Camera understanding is periodic frame analysis, not continuous video ingestion. Agora RTC also handles audio, camera preview, and session events. The backend generates short-lived RTC/RTM tokens and holds provider credentials, keeping Agora and Gemini secrets out of the Android app. The demo uses Agora RTC preview because the camera is part of a real-time communication session; CameraX is a better fit when local per-frame analysis, advanced image pipelines, or offline capture are needed. Setup requires Android Studio/JDK 17+, Python 3.10+, an Android device, an Agora project with Conversational AI enabled, and a Gemini API key.

## Source excerpt

How Live Lens uses Agora Conversational AI, Gemini Live, and Jetpack Compose to create a realtime assistant that can listen, speak, and understand camera context. Live Lens is an experimental Android demo where a user can point their phone camera at a real-world workspace and talk to an AI agent while the session is running. The project is built on top of the Agora Conversational AI Android quickstart. It combines a Kotlin + Jetpack Compose Android app, Agora realtime voice infrastructure, a small Python backend, Gemini Live for voice conversation, and Gemini Vision for camera-frame understanding. Repository: github.com/AgoraIO-Conversational-AI/agent-quickstart-android Demo video The video version of this project should appear early in the article, before the implementation details. The main thing to communicate is the division of responsibilities: Android camera feed -> Gemini visual understanding -> Agora real-time voice conversation The phone becomes the agent's eyes. Gemini handles the visual reasoning. Agora provides the realtime conversational layer around that reasoning: session start, RTC audio, agent audio, RTM events, interruption, and lifecycle control. https://medium.com/media/f0f34f25bd3a49f1700749c7295c634f/hrefLive Lens running on a physical Android device: the user points the phone camera at a tic-tac-toe game on paper, makes moves naturally, and the agent responds with visual context during the same live voice session.What the demo does The Android app has a simple Live Lens flow: - Start from a clean Compose home screen. - Request camera and microphone permissions. - Open a live camera session using Agora RTC preview. - Start a realtime voice conversation with an Agora Conversational AI agent. - Use the rear camera by default. - Refresh visual context automatically, or manually with the eye button. - Control camera switch, torch, zoom, mute, and session end from the camera screen. The backend handles everything that should not live inside the Androi