project
Androidify - Google's open-source project on how to build AI Android apps
Androidify is an open-source project launched by Google to help developers learn how to build AI-driven applications on Android. The project uses Google's latest technologies, such as Jetpack Compose and the Gemini API (...
What is Androidify?
Androidify is an open-source project launched by Google to help developers learn how to build AI-driven applications on Android. The project uses Google's latest technologies, such as Jetpack Compose, the Gemini API (via the Firebase AI Logic SDK), CameraX, and Navigation 3. Users can create personalized Android robot avatars by uploading photos or entering text descriptions, and add elements such as colors and accessories.
Androidify's main features
-
Create a personalized Android robot avatarUsers can upload selfies or enter text descriptions to have AI generate a unique Android robot avatar. Users can choose colors, add accessories, etc., and save the generated robot avatar in different formats, such as profile photos, wallpapers, or transparent PNG files.
-
Supports animation effectsFor some users, an animated version of the robot can be unlocked, allowing them to create animations for the robot using Veo models, making it more fun and engaging.
-
Built using the latest technologyThe project is based on Google’s latest technology frameworks, such as Jetpack Compose, Gemini API (via Firebase AI Logic SDK), CameraX, and Navigation 3, showcasing the latest Android development best practices and helping developers learn and master the skills to build AI-driven applications.
-
Open source friendlyIt is licensed under the Apache License 2.0, which allows developers to freely use, modify, and share the code, facilitating learning and secondary development.
-
Export in multiple formatsThe generated robot image can be saved in different formats, such as a square-cropped profile picture, an image for wallpaper design, or a transparent PNG file.
Androidify's technical principles
-
Gemini APIAccess the underlying Imagen and Gemini models via the Firebase AI Logic SDK.
-
Jetpack ComposeBuild user interfaces with beautiful animations and make the application adaptable to different screen sizes.
-
Navigation 3The latest navigation library for building navigation graphs with Compose.
-
CameraX and Media3 ComposeBuild a custom camera and custom UI controls (rear camera support, zoom support, tap focus), and play promotional videos.
Androidify's project address
- Project official websitehttps://androidify.com/
- Github repositoryhttps://github.com/android/androidify
How to use Androidify
-
Cloning repository:
git clone https://github.com/android/androidify.git. -
Creating a Firebase projectCreate a project in the Firebase console and generate...
google-services.jsonThe file was placed in the project directory.appIn the folder. -
Enable related servicesEnsure that the Vertex AI API and AppCheck are enabled in your Firebase project.
-
Update configuration file:exist
remote_config_defaults.xmlUpdate the relevant configurations. -
Build and runOpen the project using Android Studio and run it on an emulator or a real device.
Androidify application scenarios
-
Social media and messagingUsers can use the generated personalized Android robot avatar as their profile picture on social media platforms or as a unique chat sticker in instant messaging applications to showcase their personality.
-
Wallpaper and dial designsThe generated robot image can be set as a mobile phone wallpaper or used as a watch face for Wear OS smartwatches, adding fun and personalization to the device.
-
Creative design and decorationIn creative projects, such as digital artworks, personal websites, or blogs, robot images can be used as unique visual elements to enrich the design content.
-
Education and learning toolsDevelopers can use the Androidify project as a learning resource to explore the latest technologies in AI and Android development, and improve their programming and design skills.
-
Entertainment and interactive experiencesCreate and share personalized Android robot avatars during events or when interacting with friends, adding entertainment and fun.