/MyPC-ClientRemote

This App is a companion tool to be used together with MyPC Android TV App

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

MyPC Client Remote

This App is a companion tool to be used together with MyPC Android TV App.

This companion App enables the Remote Control feature of MyPC. This app will connect to your Android TV and transform your TV remote's keys into actual key strokes in your PC.

Requirements:

  • Android TV with MyPC installed
  • PC with Java RE version 1.8 or higher (e.g. Linux, Windows)

This feature is still experimental. Please send your feedback to naevtamarkus@gmail.com

Visit the MyPC Website: https://mypc-app.web.app/

Installation

A simple installation method is available for Windows 10 users using the Microsoft Store

Alternatively, you can install the MyPC Client Remote by hand:

  • You can either use the latest .jar file (Linux and Windows) or .exe (Windows only) that can be downloaded on the Github releases page. If you prefer it, you can compile these files yourself by cloning this repository and using the compile.sh script.
  • Make the file run at startup. There are several ways to do it and they all depend on your setup. Some examples are available for Windows and Linux.
  • Remember that you need to have Java Runtime Environment version 1.8 or newer.

Contributions are welcome!

I've developed this App essentially for myself and did a significant effort to make it usable by the general public, but I am aware everyone has a different setup at home which may not be compatible with mine. If you liked the remote-control feature but find something is missing, you are more than welcome to contribute with changes to the code.

If the contribution is a small bugfix please just make a PR directly, but if you plan to develop something bigger please let me know before doing so. You can always fork out and compile the code yourself... but newer versions of MyPC may render your fork useless over the time; that's why it's probably better if we coordinate a bit.

Here are some ideas I've got as possible improvements:

  • Mouse support (some Android TVs have a pad)
  • Improve look & feel to resemble a modern application (check UIManager.setLookAndFeel())
  • Cache the IP address in the Config object (e.g. can also apply to other config items)
  • Improve error-handling of the ConnectionService (e.g. unrecoverable errors, etc.)
  • Improve NetworkScanner to allow networks other-than-TypeC and to do a broadcast to add hosts that respond
  • Review build.gradle to make it cleaner. When I hit Run in an IDE, gradle task keeps on going :(

Any other ideas are welcome!