Skip to content

BETTlM/AndroidUIAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android UI Analyzer

This project lets you capture a live screenshot from an Android device using ADB, send it to Google's Gemini model for analysis, and view suggestions on how the UI can be improved. The whole thing runs on a simple Flask web server.

Requirements

  • Python 3.8+
  • ADB installed and available in PATH
  • Android device with USB debugging enabled

Installation

Clone the repository, then install the required dependencies:

pip install flask google-generativeai python-dotenv pillow

Add your Gemini API key in a .env file at the root:

GEMINI_API_KEY=your_api_key_here

Usage

  1. Connect your Android device and make sure it shows up with:
adb devices
  1. Start the Flask app:
python app.py
  1. Open http://127.0.0.1:5000/ in a browser.

  2. When triggered, the app will:

    Take a screenshot from the device

    Save it under static/

    Send it to Gemini for analysis

    Return a JSON response with improvement and suggestions

About

An application that works it's way through an android application and suggests changes for the programmer to implement to have the best UI and UX possible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors