Gratitude’s developers released 2X the amount of innovative experiments with the help of Gemini in Android Studio



Gratitude’s AI image generation feature, built in record time with the help of Gemini in Android Studio
Unlocking new efficiencies with Gemini in Android Studio
The Gratitude team decided to try Gemini in Android Studio, an AI assistant that supports developers throughout all stages of development, helping them be more productive. Developers can ask Gemini questions and receive context-aware solutions based on their code. Divij Gupta, senior Android developer at Gratitude, shared that the Gratitude team needed to know if it was possible to inject any object into a Kotlin object class using Hilt. Gemini suggested using an EntryPoint to access dependencies in classes where standard injection isn’t possible, which helped solve their “tricky problem,” according to Divij.
Gemini eliminated the need to search for Android documentation as well, enabling the Gratitude team to learn and apply their knowledge without having to leave Android Studio. “Gemini showed me how to use Android Studio’s CPU and memory profilers more effectively,” recalled Divij. “I also learned how to set up baseline profiles to speed up cold starts.”

Experimenting with new features using Gemini in Android Studio
Gemini in Android studio helped the Gratitude team significantly improve their development speed and morale. “This faster cycle has made the team feel more productive, motivated, and excited to keep innovating,” said Divij. Developers are able to spend more time ideating and experimenting on new features, leading to innovative new experiences.
One feature the developers built with their new found time is an image generation function for the app’s vision boards feature. Users can now upload a photo with a prompt, and then receive an AI-generated image that they can instantly pin to their board. The team was able to build the UI using Gemini in Android Studio’s Compose Preview Generation — allowing them to quickly visualize their Jetpack Compose code and craft the pixel-perfect UI their designers intended.
Going forward, the Gratitude team is looking forward to using Gemini to implement more improvements to its code, including correcting glitches, memory leaks, and improving performance based on more insights from Gemini, which will further improve user experience.

Build with Gemini in Android Studio
You Might Also Like
21 Best Side Hustles for College Students To Make $500+ a Month
Want to learn about the best side hustles for college students? College is expensive. Between tuition, books, housing, and the...
Meet the founders of Geocaching, the digital treasure hunt game with 3.4 million caches
Bryan, we heard Geocaching has had a huge personal impact on your own life. Can you tell us about that?Back...
How I Made $6,000 in 15 Months From Bank Bonuses (and How You Can Too!)
Today, I’m excited to share an article from Lyn Mettler. Lyn has earned over $6,000 in just 15 months by...
Answering your top questions about Android developer verification
Posted by Matthew Forsythe, Director, Product Management, Android App SafetyAndroid recently announced developer verification, an extra layer of security that deters...