android-development

Provide Kotlin patterns for MediaProjection, foreground services, Socket.IO, and Accessibility Services.

33|5|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/Sir-chawakorn/power-ranger-toolkit --skill android-development-sir-chawakorn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-development
Source: https://github.com/Sir-chawakorn/power-ranger-toolkit/tree/main/src/skills/android-development
Command: npx skills add https://github.com/Sir-chawakorn/power-ranger-toolkit --skill android-development-sir-chawakorn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides pre-built patterns and code snippets to accelerate the development of Android applications, addressing common challenges in screen mirroring, background services, and real-time communication.

Core Features & Use Cases

  • Screen Mirroring: Implement screen capture using MediaProjection.
  • Background Services: Set up foreground services with correct lifecycle management for Android 14+.
  • Real-time Communication: Integrate Socket.IO for seamless data exchange.
  • Remote Control: Utilize Accessibility Services for gesture control.

Quick Start

Use the android-development skill to set up a foreground service for screen mirroring.

Frequently Asked Questions about android-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement screen mirroring with MediaProjection in Android?

Screen mirroring with MediaProjection requires requesting the user's permission to capture the display, then passing the resulting projection token to a virtual display for real-time screen capture. This Skill provides Kotlin code patterns to set up the capture pipeline.

Why does my foreground service crash on Android 14?

Foreground service crashes on Android 14 often happen when the service type is not declared in the manifest or when the required permission checks are missing. This Skill provides patterns for correct foreground service lifecycle management for Android 14+.

How do I integrate Socket.IO for real-time communication in Android?

Integrating Socket.IO for real-time communication involves establishing a connection to your server and listening for emitted events to exchange data seamlessly. This Skill provides Kotlin snippets to handle the connection and data transfer.

Can I use Accessibility Service for remote control on Android?

You can use the Accessibility Service for remote control by intercepting system gestures and dispatching custom touch events. This Skill provides Kotlin code patterns to implement gesture control using the Accessibility Service.

What is the best way to manage background tasks in Android?

The best way to manage long-running background tasks in Android is by using a foreground service with proper lifecycle management and notification setup. This Skill provides pre-built patterns to set up these services correctly.

Does Socket.IO work with Kotlin for real-time data exchange?

Socket.IO works with Kotlin to enable seamless real-time data exchange between the Android client and the server. This Skill provides Kotlin code patterns to integrate Socket.IO and handle real-time communication events.