DAIRemote is a versatile display, audio, and input remote for Windows desktops. It allows users to:
- Save and load display profiles
- Cycle through audio playback devices
- Use an Android phone as a keyboard and mouse input
All of these features can be controlled remotely, providing convenience from wherever you're sitting.
- .NET SDK: Version 8.0 or higher (you can download it from here).
- Visual Studio or VSCode (optional for development).
- Android Studio
git clone https://github.com/your-username/DAIRemote.git
cd DAIRemote
Run the following command to restore any NuGet packages:
dotnet restore
Compile the project to ensure everything is set up correctly:
dotnet build
Ensure you're in the directory where the .csproj
file is located:
cd DAIRemote
Start the application using the following command:
dotnet run
- Download BlueStacks
- Navigate to the folder where the APK file is stored (e.g. DAIRemoteApp/app/build/outputs/apk/debug)
- Right-click on the APK file and select "Open with BlueStacks and the Android app should run.
- Ensure Android SDK is in PATH:
- Check if the SDK is located at:
C:\Users\<yourUser>\AppData\Local\Android\Sdk
- Replace
<yourUser>
with your user. - If necessary, add this path to your system environment variables.
- Check if the SDK is located at:
- Add Emulator Path:
- Add the following path to your system PATH variable:
C:\Users\<yourUser>\AppData\Local\Android\Sdk\emulator
- Add the following path to your system PATH variable:
- Navigate to the Project Directory:
cd DAIRemoteApp
- Build the APK using Gradle:
- Android Studio projects use Gradle to build the APK. Use the following command to build your project:
gradlew assembleDebug
- List All Available AVDs:
emulator -list-avds
- If no AVDs are available, you will need to create one. You can find a tutorial on creating an AVD here.
- Run the Emulator
emulator -avd <yourAVD>
- Replace
<yourAVD>
with the name of the AVD you wish to run.
- Replace
If you encounter an error after running gradlew assembleDebug
related to having an older version of Java, follow these steps:
- Install Java 17 from here.
- After installation, open your environment variables settings:
- Go to the System Properties.
- Click on Environment Variables.
- Check if the
JAVA_HOME
variable is present. If not, add it:- Create a new system variable with the following:
- Variable name:
JAVA_HOME
- Variable value: Path to your JDK 17 installation (e.g.,
C:\Program Files\Java\jdk-17
).
- Variable name:
- Create a new system variable with the following:
- Edit the
PATH
variable:- Replace the existing path that points to the older JDK (e.g.,
C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin
) with%JAVA_HOME%\bin
.
- Replace the existing path that points to the older JDK (e.g.,
After completing these steps, try running gradlew assembleDebug
again.
- Shawinder Minhas (shawiminhas) - [email protected]
- Lynn Hakim (lynnhakim) - [email protected]
- Fahim Zaman (Fahim-zzz) - [email protected]
- Mehad Ali (mehad123) - [email protected]
- Domenic Zarza (dzarza2003) - [email protected]