termux / termux/termux-api

Media Button Receiver

Open
#61 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API command request
Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

We talked about this on the IRC before.
A command that would register itself as Media Key Receiver, so that the Play/Pause, Next and Back could be captured. It would probably make sense if it would just print something like "KEY_NEXT" (but as close to the Android API as possible) to stdout.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the Android media-key receiver integration and the command implementations in this repository, then check the Android media-button API. Done means a command registers as a media-key receiver and emits Play/Pause, Next, and Back events to stdout using Android-compatible names.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
cli, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.