The Android bot is a beloved mascot for Android users and developers, with previous versions of the bot builder being very popular - we decided that this year we’d rebuild the bot maker from the ground up, using the latest technology backed by Gemini. Today we are releasing a new open source app, Androidify, for learning how to build powerful AI driven experiences on Android using the latest technologies such as Jetpack Compose, Gemini API through Firebase AI Logic SDK, CameraX, and Navigation 3.
Note: This app is still under development. This sample app is currently using a standard Imagen model, but we've been working on a fine-tuned model that's trained specifically on all of the pieces that make the Android bot cute and fun; we'll share that version later this summer. In the meantime, don't be surprised if the sample app puts out some interesting looking examples!
For the full blog post on app, read here.
The app combines a variety of different Google technologies, such as:
- Gemini API - through Firebase AI Logic SDK, for accessing the underlying Imagen and Gemini models.
- Jetpack Compose - for building the UI with delightful animations and making the app adapt to different screen sizes.
- Navigation 3 - the latest navigation library for building up Navigation graphs with Compose.
- CameraX and Media3 Compose - for building up a custom camera with custom UI controls (rear camera support, zoom support, tap-to-focus) and playing the promotional video.
-
Clone the repository.
-
Create a Firebase project and generate a
google-services.json
file. Replace the current placeholder app/google-services.json file with your own json file created above. Be sure to enable Vertex AI SDK. Ensure to also enable AppCheck on your Firebase project to prevent API abuse. -
This project makes use of remote config on Firebase too, you can import the Firebase Remote config settings from
remote_config_defaults.xml
-
If you'd like to change the font that the app renders with, an optional spec can be placed in
~/gradlew/gradle.properties
file:
fontName="Roboto Flex"
For Googlers, get this info from go/androidify-api-setup
See Contributing.
Androidify 2.0 is licensed under the Apache License 2.0. See the LICENSE
file for
details.