termux / termux/termux-api

Add IR remote support

Open
#746 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Feature description

I would like to have an termux API to show a IR remote like dialog with all the buttons. Clicking the buttons will transmit the IR signal. The IR pattern will be read from a file.

Reference implementation

Have you checked if the feature is accessible through the Android API?

The feature is accessible through android.hardware.ConsumerIrManager class.

Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)

I have created the following basic dialog with the buttons. I mapped those buttons to my tv remote IR patterns using a JSON file.

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

Start with Android's android.hardware.ConsumerIrManager API and the reference dialog described in the issue. Review how IR patterns are represented in the provided JSON file and determine the Termux API entry point and UI behavior needed. Done means a dialog can render the configured buttons and transmit each corresponding IR signal.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.