Microdosing AI for Mobile Dev
Small usages with real productivity gains

I’ve been experimenting with small, practical ways AI can fit into my daily mobile development. Not to write code for me, but to accelerate the “in-between” steps of my workflow. These little uses aren’t super flashy. They just smooth out some pain points.
Reverse Lookup a Screen
You’re debugging a UI, see some text, and have no idea where it’s coming from. You start in strings.xml, follow the ID through the ViewModel, check the Composable, maybe even grep the whole project. It’s the least interesting scavenger hunt in Android development, but an extremely common pattern to reverse lookup the UI that’s being rendered.
Now I just drop a screenshot into an AI Agent and ask where that text lives. It’ll usually tell me the string resource name, where it’s referenced, and which file renders it. It’s the kind of task that’s perfect to hand off. Something that used to take a few minutes and some effort is now no concern.
Example Prompt
First Pass Review
I still rely on teammates for real code review, but AI’s great for a quick first pass. Before I open a PR, I’ll paste the diff or ask an agent to look at my commit history. Then I ask for feedback on readability, potential issues, and edge cases.
Time Saved!
I work in a large project and we generally can’t sync all of our modules at once. Doing this first pass of review has saved me time where I missed updating an override when adding a new function to an interface whether its in a fake in tests or an implementation in another module. Typically CI/CD would catch this for me, but that takes much longer to run.
Example Prompt
Unused Resource Cleanup
All projects collect junk over time. You’ll find string resources that aren’t referenced, drawables from redesigns, or xml layouts replaced by Compose. They all sit there bloating the project and slowing builds.
AI Agents are pretty good at walking the reference graph across modules and telling you what’s safe to delete.
This is especially helpful for large projects where not all modules are synced or the Unused Resource tool simply falls over.
Example Prompt
Supercharging Find in Files
We all love the Find in Files feature (Cmd+Shift+F), but plain text search can often show way too much noise. There’s a little "regex" checkbox that unlocks a lot of potential! Although writing regex is usually not fun. This is a task I’m happy to hand off.
Describe the code to find in plain English and let the AI generate the complex pattern for the search box.
Example 1: Hunting Hardcoded Strings
You're trying to stamp out hardcoded strings in your Jetpack Compose code. A simple search for Text(" is a noisy mess that misses half the cases and incorrectly flags others. Now, I just ask for a smart regex that finds Text("Hello") and Text(text = "World") but correctly ignores Text(stringResource(R.string.hello)).
Example Prompt
Text() calls where the text parameter is a hardcoded string literal, not a stringResource() call.
Example 2: Auditing Theme Colors
You're migrating to Material 3 and need to find every layout that’s still using a hardcoded color (like #A4C639) instead of a theme attribute (?attr/colorPrimary). Instead of manually scanning hundreds of XML files, I can get a single regex to find every violation.
Example Prompt
.xml layout files. Write a regex to find any XML attribute that ends in Color (like android:textColor) and is set to a hardcoded hex value that starts with #.If you’ve found other ways AI boosts your mobile workflow, I’d love to hear about them!
Thanks for reading 💚




