Generative AI to you Android with Gemini API
summary
Gemini offers on-device and cloud options: Gemini Nano runs locally via Android AI Core (ARCore/Private Compute), uses LoRA for on-device fine-tuning, and is in private preview on Pixel 8/9, Galaxy S24, Realme and Motorola but currently supports text only. Heavier models run remotely via the Generative AI SDK using model names like Gemini 1.5 Flash and deliver streaming responses, multi-turn chats, image inputs, and configurable safety and token settings. Examples shown: text rephrase, smart reply, proofreading, summarization, image labeling, and progressive streamed output integrated with an Android sample app.
AI-written summary · about
chapters (13)
- 0:00Introduction and setup
- 1:10What is Gemini
- 3:15Gemini Nano on device
- 6:06AI Core architecture
- 8:15Privacy and security
- 10:30Use cases for Gemini Nano
- 13:43Using Gemini in apps
- 14:25Google AI Studio demo
- 17:16SDK integration basics
- 20:49Multi-turn chat feature
- 22:35Streaming responses
- 23:39Live app demonstration
- 28:34Summary and future
