# Build an on-device AI fitness tutor app on Android

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ai-plank-tutor/)
- [Set up AI Plank Tutor](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ai-plank-tutor/1-introduce-plank-tutor/)
- [Get pose landmarks from camera](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ai-plank-tutor/2-camera-pose-landmarks/)
- [Add scoring logic for the plank pose](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ai-plank-tutor/3-plank-score/)
- [Turn pose data into a prompt for the local LLM](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ai-plank-tutor/4-data-to-prompt/)
- [Run the LLM locally with AI Chat](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ai-plank-tutor/5-llm-ai-chat/)
- [Connect coaching corrections to Android text-to-speech](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ai-plank-tutor/6-android-tts/)
- [Explore options for tuning and extending AI Plank Tutor](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ai-plank-tutor/7-extend/)
- [Next Steps](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ai-plank-tutor/_next-steps/)

## About this Learning Path

|  |  |
| --- | --- |
| Skill level: | Introductory |
| Reading time: | 1 hr 30 min |
| Last updated: | 12 Nov 2026 |

|  |  |
| --- | --- |
| Author: | Ben Clark , Arm |
| Arm IP: | [Cortex-A](https://support.arm.com/?tab=compute-ip&Product%20Type=Application%20Processors) |
| Tags: | [AI/ML](https://learn.arm.com/tag/ai-ml/) [Android](https://learn.arm.com/tag/android) [Android Studio](https://learn.arm.com/tag/android-studio) [Kotlin](https://learn.arm.com/tag/kotlin) [CameraX](https://learn.arm.com/tag/camerax) [MediaPipe](https://learn.arm.com/tag/mediapipe) [LLM](https://learn.arm.com/tag/llm) [Neon](https://learn.arm.com/tag/neon) [SVE2](https://learn.arm.com/tag/sve2) [SME2](https://learn.arm.com/tag/sme2) |

### Who is this for?
This Learning Path is for Android developers who want to explore creating an ML or Generative AI pipeline, including camera input, local Large Language Model (LLM) inference, and speech.

### What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Detect human pose landmarks from live Android camera frames with MediaPipe.
- Structure data and build compact prompts that turn raw data into useful LLM input.
- Run a mobile-sized LLM on-device with Arm's AI Chat library.
- Generate output as speech with Text-To-Speech.

### Prerequisites
Before starting, you'll need the following prerequisites:
- A development machine with Android Studio installed.
- A recent Arm-powered Android phone in Developer Mode, with USB debugging enabled, a USB data cable, and at least 5 GB of free storage for the GGUF model import.
- Android Debug Bridge (`adb`), included with the Android SDK platform tools.
- Basic familiarity with Kotlin and Android app development.

### Summary
You’ll build AI Plank Tutor, an on-device Android app that evaluates a static plank pose and delivers spoken correction. You’ll configure CameraX and MediaPipe Pose Landmarker to extract landmarks from live camera frames, calculate joint angles, and compute a weighted score against an instructor reference. Then, you’ll turn the largest joint-angle differences into a compact prompt for a local LLM. Finally, you’ll integrate Arm AI Chat for GGUF inference and connect Android text-to-speech so the app speaks each correction. By the end, you’ll have a complete on-device pipeline from camera input to spoken feedback.
