Transfer files between your PC and Android phone through hotspot connection.
Wayer is a two-component project:
- ๐ฑ Android Client - Browse and transfer files from your phone
- ๐ป PC Server - Manage file transfers from your computer
Build and run the Android app to connect to your PC and transfer files.
# Build debug APK
./gradlew assembleDebug
# Find APK at: app/build/outputs/apk/debug/app-debug.apk๐ โ Full Android Setup Guide
Set up the Python server on your PC to handle file requests from the phone.
# Install dependencies
pip install -r requirements.txt
# Start the server
cd python
python server/app3.py๐ โ Full PC Server Setup Guide
๐ โ Go to WayerPC Repository
Wayer (Complete File Transfer System)
โโโ ojilon/Wayer (This Repo)
โ โโโ ๐ฑ Android Application
โ โโโ Language: Java (100%)
โ โโโ Build: Gradle
โ โโโ Purpose: Client app for file browsing & transfer
โ
โโโ ojilon/WayerPC (Separate Repo)
โโโ ๐ป Python Server + C DLL
โโโ Languages: Python, C, C++, CMake
โโโ Purpose: File server for handling requests
โโโ Role: Backend processing & file search
- Android SDK (API 26+)
- Gradle build system
- Android Studio (optional)
- Python 3.x
- MinGW64 or GCC (for C DLL compilation)
- CMake 3.10+
-
Start PC Server
# On your PC, navigate to WayerPC repo cd python python server/app3.py # Server listens on <HOST>:<PORT>
-
Connect Android Phone to PC Hotspot
- Enable hotspot on PC or use existing WiFi network
-
Open Wayer App on Phone
- Connect to the same network as the PC
-
Transfer Files
- Use commands:
ls,cd,/ask,/upload
- Use commands:
Phone (Android App) PC (Python Server)
| |
|------- ls ------โ | (List files)
|โ------ response -------|
|
|------- cd Documents --|
|
|------- /ask photo.jpg| (Request file)
|โ------ photo.jpg -----|
|
|------- /upload file --โ (Send file)
| (received folder)
- Location: README_ANDROID_END.md
- Covers: Installation, building APK, commands, troubleshooting
- Location: README_PC_END.md
- Covers: Server setup, configuration, file operations, DLL compilation
| Command | Device | Purpose |
|---|---|---|
ls |
Phone | List files/folders on PC |
cd <path> |
Phone | Navigate directories |
/ask <filename> |
Phone | Download file from PC |
/upload <filepath> |
Phone | Upload file to PC |
Wayer/
โโโ app/
โ โโโ build.gradle
โ โโโ src/main/
โ โโโ AndroidManifest.xml
โ โโโ java/ # Source code
โ โโโ res/ # Resources
โโโ build.gradle
โโโ gradle.properties
โโโ settings.gradle
โโโ README.md # Main documentation
โโโ README_ANDROID_END.md # Detailed guide
WayerPC/
โโโ python/
โ โโโ server/
โ โ โโโ app3.py # Entry point
โ โ โโโ socket_server3.py
โ โ โโโ Locate.py
โ โ โโโ transfer.py
โ โ โโโ config.py
โ โโโ Filesmanager/
โโโ c/ # C DLL source
โโโ CMakeLists.txt
โโโ README.md # Quick overview
โโโ README_PC_END.md # Detailed guide
- Android Client Repo: https://github.com/ojilon/Wayer
- PC Server Repo: https://github.com/ojilon/WayerPC
- Android Guide: README_ANDROID_END.md
- PC Server Guide: README_PC_END.md
- Verify both devices are on the same network
- Check PC server is running and listening
- Confirm firewall is not blocking connections
- Use
lscommand to verify file exists - Check file paths are correct
- Ensure Android app has file permissions
- Android:
./gradlew cleanthen rebuild - PC Server: Verify Python 3.x and dependencies installed
MIT License - See LICENSE file in each repository
Get started: Android Setup Guide โ | PC Server Guide โ