Code Monkey home page Code Monkey logo

android-ir-remote's Introduction

Android IR Remote Control Application

A simple Android App showing the implementation of the Consumer IR Manager in Android to use the IR Blaster in the phone to control IR Devices.

I use this to control all the IR devices in my living room.

Features

  • Functions to create SIRC Protocol messages.
    • 12, 15 and 20 bit variations.
  • Functions to create NEC Protocol messages.

About the code.

To Create a SIRC Protocol Message

// IRSonyFactory.Create(type,command, address, repeats)
IRSonyFactory.create(IRSonyFactory.TYPE_15_BITS,84,10,4);

To Create a NEC Protocol Message

// IRNecFactory.create(command,address,repeats);
IRNecFactory.create(16,32,3);;

To Send a message using the IR

  IRMessage msg = IRSonyFactory.create(IRSonyFactory.TYPE_15_BITS,84,10,4);
  IRController irController = new IRController(getApplicationContext());
  irController.sendMessage(msg);

Screenshots

Example

android-ir-remote's People

Contributors

zoserlock avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

android-ir-remote's Issues

HI i just wonder how to package this app

Hi! i'm very interesting about android IR app, so i searched, finaly i found your git.
i have cloned the all of things and i packaged via android studio. but it was failed.
could you explain how to install and play your app?
thank you!

Gradle sync failed: Could not find com.android.tools.build:gradle:3.0.0.

Could you give me some repository for the graddle 3.0, Maven does not work

Gradle sync failed: Could not find com.android.tools.build:gradle:3.0.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom
https://repo1.maven.org/maven2/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar
Required by:
project :
Consult IDE log for more details (Help | Show Log) (662 ms)

inclusion into F-Droid?

Would you have any problem with me sumitting this app into the F-Droid repo of free software android apps?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.