Windows to Android Bridge
Proje Görselleri (1)
En Son Versiyon
Proje Açıklaması
WinBridge — Windows ↔ Android Köprüsü
Bilgisayarınız ve telefonunuz tek bir makine gibi. İki ekranı da karşılıklı yansıtın — sesle ve dokunmatik kontrolle —, dosya ve panoyu iki yönde taşıyın, ses ve mikrofonları aralarında yönlendirin, bilgisayarda çalışan otomasyonlar kurun: telefondan, saatten, bir widget'tan ya da sesinizle.
Durum: v0.3.0. Aşağıdaki neler gerçekten çalıştırıldı bölümüne bakın — bu sürüm büyük, ve iki makine ile kronometre gerektiren kısımlar dürüstçe ayrıca belirtildi.

Neler yapıyor
Ekranlar
- Bilgisayar ekranı telefonda: dokunmatik kontrol, klavye, kaydırma, parmakla yakınlaştırma ve yanında bilgisayar sesi.
- Telefon ekranı bilgisayarda: fare, klavye ve gezinme tuşları — yanında telefon sesiyle.
- İkisi de kendini ayarlar: önce kalite, sonra kare hızı, sonra çözünürlük, alıcının bildirdiğine göre aşağı iner. Yani görüntü, izleyenin en az rahatsız olduğu sırayla bozulur.
- Etkileşim ve ses, oturum sürerken ayrı ayrı açılıp kapatılabilir.
Pano
- Telefon → bilgisayar ve bilgisayar → telefon, ikisi de varsayılan kapalı; her yönün iki cihazda da ayrı anahtarı var. Panonun "gelmemesinin" en sık nedeni birinin açık, diğerinin kapalı olmasıdır; artık iki taraf da sessizce atmak yerine bunu söylüyor.
- Kopyalamalar anında gönderilir. Android 10'dan beri panoyu yalnızca odaktaki pencerenin sahibi uygulama okuyabildiği için telefon sırayla dener: doğrudan okuma (WinBridge öndeyken bedava), "diğer uygulamaların üzerinde göster" izni verilmişse bir piksellik odak penceresi, sonra aktarıcı ekran. Ayarlar ekranı o telefonda hangi basamağın yanıt verdiğini söyler.
- Hızlı Ayarlar döşemesi, kısayol, saat, paylaşım menüsü ve Windows tepsi menüsündeki Panoyu telefondan al ile de erişilebilir.
Dosyalar
- İki yönde, her boyutta; ilerleme, kaldığı yerden devam ve sağlama toplamı ile.
- Windows Gezgini'nde sağ tık → "Telefona gönder" (dosya ve klasör).
- Telefonda her şey için paylaşım menüsü.
- Gelen dosyalar İndirilenler'e iner; diğer tüm uygulamalar görebilir.
Ses
- Bilgisayar sesi → telefon
- Telefon sesi → bilgisayar
- Telefon mikrofonu → bilgisayar
- Bilgisayar mikrofonu → telefon
Ham PCM: sesle görüntü arasında kodlama/çözme gecikmesi yok.
Otomasyonlar
Telefonda kurun, bilgisayarda çalışsın. Kabuk komutları, pencereler, süreçler,
dosyalar, HTTP, girdi, medya, güç — if/else, while, repeat, foreach,
değişkenler ve bir ifade diliyle.
Güvenlik sonradan eklenmiş bir katman değil, tasarımın kendisi:
- Kabuk adımları, bilgisayarda uyarının önünde açılana kadar hiçbir şey yapmaz.
- Onay, çalıştırılabilir gövdenin hash'ine bağlıdır — ad değişirse korunur, komutta tek karakter değişirse iptal olur.
- Onay diyaloğu, komut satırını değişkenler yerine konduktan sonra gösterir.
- Çalışmalar adım, döngü, çıktı ve süre olarak sınırlıdır.
- Her çalışma, yalnızca eklenebilen bir denetim dosyasına yazılır.
- Tek bir anahtar her şeyi reddeder.
Ayrıntı: docs/AUTOMATIONS.md
Bildirimler
Telefon bildirimleri bilgisayara yansır; yanıtlama ve kapatma dahil. Varsayılan kapalı — telefondaki her bildirimi okur, bu yüzden açmak iki bilinçli adım gerektirir.
Ses komutları ve asistanlar
Gemini veya Asistan'ın üçüncü parti bir uygulamaya serbest metin komut iletmesini sağlayan herkese açık bir on-device API yok — dolayısıyla bu entegrasyon kimse tarafından, API anahtarıyla ya da anahtarsız, kurulamaz. WinBridge bunun yerine şunları sunuyor: otomasyonların başlatıcı kısayolu olarak yayınlanması, cihazın kendi tanıyıcısını kullanan yerel bir sesli komut eşleştiricisi, Tasker ve benzerleri için belgelenmiş bir intent API'si, ve "bilgisayar ekranında ne var" sorusunun Windows tarafında OCR ile yanıtlanıp sesli okunması.
Dürüst ve tam açıklama: docs/ASSISTANT.md
0.1.x'ten gelenler
Gerçek bir Android medya oturumu olarak "şimdi çalıyor", CPU/GPU/RAM/ağ/pil, ses düzeyi, güç işlemleri, altı ana ekran widget'ı — yerleştirirken tek bir otomasyona bağladığınız otomasyon düğmesi dahil — ve Wear OS uygulaması.
Wear OS
Medya ve sistem durumuna ek olarak: otomasyon çalıştırma, bilgisayar için touchpad, sesli komut, "bilgisayar ekranında ne var" yanıtının bilekte okunması ve pano düğmesi. Üç döşeme.
Otomasyonlar saatte yazılmaz — bir adım ağacını kimse 45 mm ekranda düzenlemez — ama üç yoldan çalıştırılabilir: uygulamanın kendi listesi, saat kadranından bir kaydırma uzaktaki otomasyon döşemesi ve kadranın üzerine yerleştirilen, her yuva için ayrı seçilen bir komplikasyon; böylece sürekli çalıştırdığınız rutin sıfır dokunuş uzağınızda olur.
Bağlantı
| Yöntem | Ne zaman | Not |
|---|---|---|
| LAN (TCP) | 0.2.0'dan itibaren varsayılan | Her şey çalışır |
| Bluetooth (RFCOMM) | İsteğe bağlı | Varlık, medya, kontrol, bildirim |
| Uzaktan | Portu yönlendirirseniz | Kanal uçtan uca şifreli |
Bluetooth 0.2.0'dan itibaren varsayılan kapalı; mevcut kurulumlar bir kez taşınır. Varlık ve kontrol için hâlâ doğru taşıyıcı — Wi-Fi olmadan çalışır ve telefon ağdan çıkınca ayakta kalır — ama kabaca bir megabit taşır; yansıtma, ses ve kayda değer boyutta dosya oraya sığmaz. Bu akışlar Bluetooth üzerinde bozulmuş görünecek şekilde yavaşlatılmak yerine, gerekçesiyle reddedilir.
Bir yöntemle eşleştirin, diğeri otomatik olarak kurulur.
Kurulum
Windows
- Releases sayfasından
WinBridge-Setup-x.y.z.exeindirin. - Çalıştırın. Yönetici hakkı gerekmez.
- Sistem tepsisinde yaşar, oturum açtığınızda başlar.
SmartScreen uyarısı: kurulum dosyası imzasız (kod imzalama sertifikaları ücretli ve kimlik doğrulamalı bir üründür). "Diğer bilgiler" → "Yine de çalıştır" seçin.
Android
- Aynı sayfadan
app-release.apkkurun. - Uygulamayı açıp kurulum sihirbazını izleyin.
- Windows tepsi menüsünden Eşleştir'i seçip QR kodu okutun.
İki Android izni koddan istenemez, Android ayarlarından verilmelidir. Uygulama bunların durumunu ilgili anahtarın yanında gösterir:
- Erişilebilirlik — yalnızca bilgisayarın telefonu kontrol etmesi için gerekir. Root olmadan kendi uygulamamız dışında dokunmanın ve yazmanın tek yolu budur.
- Bildirim erişimi — yalnızca bildirim yansıtma için gerekir.
Bluetooth isterseniz: önce telefonu Windows Ayarları'ndan normal şekilde eşleştirin, sonra WinBridge'de iki tarafta da açın. Bu adım programatik olarak yapılamaz; her iki işletim sisteminin de gereğidir.
Wear OS saat
Ayrı APK (wear-release.apk), aynı anahtarla imzalı:
adb connect <saat-ip>:5555
adb -s <saat-ip>:5555 install wear-release.apk
Güvenlik
- Eşleştirme, QR kodla iletilen 32 baytlık bir ön paylaşımlı anahtar üretir; bu anahtar ağdan hiç geçmez.
- Her oturum ayrıca geçici bir ECDH (P-256) anahtarı türetir; ön paylaşımlı anahtar sızsa bile kaydedilmiş trafik sonradan çözülemez.
- Tüm trafik AES-256-GCM, karşılıklı kimlik doğrulama ve tekrar koruması ile.
- Zaten paylaştığınız şeyi okuyanlar dışında her yeni özellik varsayılan kapalı.
- Otomasyon intent API'si varsayılan kapalı ve anahtarla korumalı — gizi olmayan dışa açık bir alıcı, kurduğunuz herhangi bir uygulamanın bilgisayarınızda komut çalıştırmasının yoludur.
Ayrıntı: docs/PROTOCOL.md
Neler gerçekten çalıştırıldı
Bu sürüm büyük; test konusunda dürüstlük yeşil bir tikten daha değerli.
Her derlemede otomatik testlerle doğrulanan
- İki uygulamadaki telsiz protokolü, bilinen-cevap vektörleri ve 58 v2 mesajının her birinin doldurulmuş birer örneğiyle birbirine sabitlendi.
- Şerit önceliği: kontrol çerçeveleri, biriken toplu trafiği geçiyor.
- Medya paketleri sınırsız kuyruğa alınmak yerine düşürülüyor.
- Pano parmak izi, iki dilde de aynı vektöre sabitlendi.
WinBridge.exe --selftest-capture out.pnggerçek bir ekran karesini döşeme kodlayıcısı ve paket biçimi üzerinden yeniden birleştiriyor.WinBridge.exe --selftest-automationbir otomasyonu gerçek kayıt yolundan kaydedip çalıştırıyor ve panonun gerçekten değiştiğini doğruluyor.- Her iki uygulama ve host temiz derleniyor.
Elle doğrulanan
- v0.2.0 sürüm notlarında, fiziksel bilgisayar/telefon/saatte tam olarak neyin çalıştırıldığı ve neyin çalıştırılmadığı yazıyor.
Donanımınızda farklı davranırsa başlangıç noktası günlükler: Windows'ta
Etkinlik sekmesi, telefonda adb logcat -s WinBridge.
Geliştirme
cd android && ./gradlew :app:assembleDebug :wear:assembleDebug
dotnet build windows/src/WinBridge.App/WinBridge.App.csproj
dotnet run --project windows/tests/WinBridge.Core.Tests
Gereksinimler: JDK 17+, Android SDK 36, .NET 10 SDK, Inno Setup 6 (kurulum).
- docs/ARCHITECTURE.md — kararlar ve gerekçeleri
- docs/PROTOCOL.md — telsiz biçimi
- docs/AUTOMATIONS.md — adımlar, ifadeler, güvenlik
- docs/ASSISTANT.md — ses, kısayollar, intent API
Lisans
MIT
Proje Bağlantıları
Proje İstatistikleri
2
GitHub Yıldızı
5
Versiyon
18
Görüntülenme
15
İndirme
Versiyonlar
v0.3.0
25 Ağustos 2026 01:47Your PC and your phone, sharing one screen, one clipboard, one set of speakers — and a watch that can run either of them.
What is new & Fixed in 0.3.0
- Screen share notification fix: Fixed an issue where the mobile app could show the "Sharing this screen with PC" notification when screen sharing was not actually occurring (e.g. when only microphone streaming was active or when a capture session was terminated without complete teardown). Added separate notifications for screen sharing, microphone streaming, and combined capture.
- Persistent disconnected notification setting: Added a configurable switch in Settings ("Keep notification when disconnected" / "Bağlantı yokken bildirimi göster"). When disabled, the persistent notification is removed automatically whenever the connection to the PC is lost or disconnected, only appearing when actively connecting or connected. Defaults to ON (preserving existing persistent notification behavior).
- Improved connection & stream lifecycle: Capture and audio streaming services are now immediately and cleanly torn down whenever the link disconnects.
Install
- Windows:
WinBridge-Setup-0.3.0.exe(Windows) - Phone:
app-release.apk(Phone) - Watch:
wear-release.apk(Wear OS watch)
v0.2.0
21 Ağustos 2026 12:57Your PC and your phone, sharing one screen, one clipboard, one set of speakers — and a watch that can run either of them.
0.2.0 is the release where the bridge stops being one-way. Screens go both directions with touch and sound, files move either way from a right-click, audio routes four ways, and automations you build on the phone run on the PC.
What is new
Screens, both ways. The PC on your phone with touch, keyboard, scrolling and pinch-zoom; the phone on your PC with mouse, keyboard and navigation keys. Both adapt to the link on their own — quality first, then frame rate, then resolution — driven by what the receiver reports rather than what the sender guesses.
Clipboard, both ways, as you copy. Off by default, in each direction, on both machines.
Files, both ways. Right-click → "Send to phone" in Windows Explorer, the share sheet on Android, any size, with progress and resume.
Audio, four ways. PC output → phone, phone output → PC, phone mic → PC, PC mic → phone. Raw PCM, so nothing is waiting on an encoder.
Automations. Build them on the phone, run them on the PC: shell commands, windows, processes, keys, files, HTTP, variables, and real if / while / repeat / foreach control flow. Shell steps are refused by default and every automation that can change the machine needs approval on the PC — approval bound to a hash of the steps, so editing one character asks again.
Wear OS. Media, system readings, a trackpad for the PC, voice commands, "what is on my PC screen" read on your wrist, and automations you can run from the app, from a tile, or from a complication on the watch face itself.
Widgets. Six on the home screen, including an automation button you point at one automation when you place it.
The full picture is in the README.
Fixed since the 0.2.0 work started
The clipboard was broken in four separate places, each of which failed silently:
- Building a clipboard message stamped the "last seen" hash as a side effect, so the automatic watcher compared every genuine copy against itself, decided it was its own echo, and sent nothing — on every device.
- The relay screen read the clipboard in
onCreate. Android only lets the app that owns the focused window read it, and an activity does not own one that early, so the read was refused exactly as if the screen had never opened. - The two ends fingerprinted clipboards differently — the same sixteen bytes of SHA-256, hex on Windows and base64 on Android. Neither recognised its own text coming back, so a copy from the phone was applied on the PC, seen there as a fresh copy, and sent straight back.
- Automations could not touch the PC clipboard because the phone's step editor drew no fields at all for "set clipboard", "get clipboard" and "mouse" — the text you would have typed had nowhere to go, so the step ran cleanly and did nothing.
Also:
- Remote input was refused unless an interactive mirror was open, which is never true for a watch driving the pointer. Only a mirror can be view-only.
- Both trackpads send movement as a fraction of their own surface and the host cast that straight to a whole number of pixels, so every ordinary drag moved exactly nothing.
- Every silent clipboard refusal on either machine now says which switch is off and where — there are two per direction, and one of them being off used to be indistinguishable from a bug.
What was actually run
Automated, on every build
- Both protocol implementations pinned to each other by known-answer vectors and one filled-in sample of all 58 v2 messages.
- The clipboard fingerprint, pinned to the same vector in both languages.
- Lane priority; media packets dropped rather than queued without bound.
--selftest-capturereassembles a real screen frame through the tile codec.--selftest-automationsaves an automation through the real save path, runs it, and checks the clipboard actually changed.
On the physical PC, phone and watch
- A copy made on the phone reached the Windows clipboard on its own, with the exact text, and was not bounced back.
- A copy made on the PC reached the phone.
- An automation triggered from the watch ran on the PC.
- The watch trackpad moves the PC pointer.
- The watch shows live media and system readings from the PC.
Not verified on hardware, and worth knowing
- Automatic clipboard capture while WinBridge is in the background is best-effort. Since Android 10 only the app owning the focused window may read the clipboard; where "display over other apps" is granted the phone borrows focus for a few milliseconds to do it, and that path never had to run during testing because the direct read always answered. The Quick Settings tile, the launcher shortcut and the share sheet always work. The settings screen tells you which route is answering on your phone.
- The Quick Settings tile and launcher shortcut route through a screen that is deliberately not exported, so it could not be driven from a test harness; the fix to when it reads is reasoned from the platform rule, not measured.
- The automation-button widget and the watch complication compile and register, but neither was placed on a device.
If something behaves differently on your hardware, start with the logs: the
Activity tab on Windows, and adb logcat -s WinBridge on the phone.
Install
- Windows: download
WinBridge-Setup-0.2.0.exeand run it. - Phone: install
app-release.apk. - Watch: install
wear-release.apkon your paired Wear OS watch.
Pair once from the tray icon → Pair, then scan the code on the phone.
v0.1.2
18 Ağustos 2026 00:11Maintenance release fixing media stream notification button crash on Android.
What changed
On your phone
- Fixed a crash (IllegalStateException) when tapping the pause/resume, previous, or next transport buttons in the Android media stream notification center.
- Properly registered the ACTION_MEDIA_BUTTON intent filter on BridgeService and routed media button events through MediaButtonReceiver.handleIntent to the active MediaSessionCompat.
- Hardware media buttons (Bluetooth headsets, lock screen) and notification center controls now reliably dispatch playback commands across the bridge.
Verified
- Phone and Wear OS release APKs built and signed successfully.
- Windows host x64 self-contained publish and Inno Setup installer compiled successfully.
- Protocol crypto conformance and vector verification checks passed.
Install
- Windows: Download WinBridge-Setup-0.1.2.exe and run the installer.
- Phone: Install app-release.apk.
- Watch: Install wear-release.apk on your paired Wear OS watch.
v0.1.1
9 Ağustos 2026 18:40Widget and Wear OS polish release. This update makes the phone and watch surfaces denser, more visual and much more responsive while keeping the existing Windows ↔ phone ↔ watch architecture.
What changed
On your phone
- Home-screen media controls now use proper vector icons instead of emoji/glyph buttons.
- Media and combined widgets use the current album artwork as a background with a readable dark overlay, playback progress and denser metadata.
- All four widgets now have picker previews.
- Widget/system background refresh drops from 30 seconds to 5 seconds; media and artwork changes still push immediately.
- Artwork arrival now repaints widgets and Wear OS immediately instead of waiting for the next periodic refresh.
- The main media card is denser, with a larger cover and stronger card treatment.
On your watch
- Album artwork is sent from the phone through the Wearable Data Layer and cached on the watch.
- The Wear app now shows cover art, playback state, progress and real media icons in a fuller media card.
- A second dedicated Media tile was added with artwork and previous / play-pause / next controls.
- The existing PC-status tile is denser and its fallback freshness interval is 15 seconds.
- The watch UI now makes the active companion-control state explicit and uses proper icons for media and safe power actions.
- Tile media commands are restricted to transport controls; destructive power actions are not exposed through the tile command trampoline.
Verified
- Signed Android phone and Wear OS release APKs built successfully.
- Windows 0.1.1 self-contained x64 publish built successfully.
- Windows Inno Setup installer compiled successfully from the 0.1.1 publish output.
- The updated phone APK was installed and launched on physical Android hardware.
- The updated Wear APK was installed successfully on a physical Wear OS watch.
- The Windows publish was exercised on the connected Windows machine.
Install
Windows — download WinBridge-Setup-0.1.1.exe and run the installer. It installs WinBridge per-user, can create shortcuts/startup registration, and preserves the normal per-user pairing/settings data.
Phone — install app-release.apk, open WinBridge, and keep your existing pairing or scan the QR code from the Windows tray menu.
Watch — install wear-release.apk on the paired Wear OS watch. The phone and watch APKs are signed with the same release key so the Wearable Data Layer can exchange state and artwork.
Known limitations
- Numeric-code pairing is still specified but not exposed in the Android UI; QR remains the pairing path.
- LAN may require a Windows Firewall allowance on first use; Bluetooth is unaffected.
v0.1.0
9 Ağustos 2026 17:16First release. Monitor and control your Windows PC from your phone and watch, over Bluetooth or Wi-Fi.
What works
On your phone
- Now playing from the PC, mirrored as a real Android media session — it appears in the notification shade, on the lock screen and in the Quick Settings player, with cover art, working transport buttons and a seek bar, exactly as if the music were playing on the phone.
- CPU, GPU, memory, network and battery, live.
- Lock, sleep, hibernate, sign out, restart, shut down, turn off display. Actions the PC does not support are greyed out rather than silently failing.
- Four home screen widgets — media, system, combined, power — placeable individually or together.
On your watch
- The same media and system view, plus Lock and Turn off display.
- A tile for the watch face carousel.
Connectivity
- Bluetooth (RFCOMM) and Wi-Fi/LAN, with Bluetooth preferred by default.
- Pair once over either and the other is provisioned automatically.
- The channel is AES-256-GCM encrypted with mutual authentication and per session forward secrecy. The pairing key travels by QR code and never crosses the network.
Verified on real hardware
Pairing, Bluetooth RFCOMM sessions, live media and metrics, the media notification, and reconnect after the screen locks were all exercised on a physical Windows 11 PC and an Android 12 handset — not only in tests.
Install
Windows — run WinBridge-Setup-0.1.0.exe. No administrator rights needed.
It installs per-user, starts with Windows, and lives in the system tray.
The installer is unsigned, so SmartScreen will warn on first run. Choose "More info" → "Run anyway". Code-signing certificates are a paid, identity verified product.
Phone — install app-release.apk, open it, and scan the code from the
Windows tray menu (Pair a phone).
For Bluetooth, pair the phone from Windows Settings first, the normal way. That step cannot be done programmatically by either side.
Watch — wear-release.apk is a separate APK. Play Store delivers watch apps
from a single bundle, but GitHub Releases cannot, so it installs directly:
adb connect <watch-ip>:5555
adb -s <watch-ip>:5555 install wear-release.apk
Both APKs are signed with the same key, which the Wearable Data Layer requires.
Known limitations
- The Windows installer is unsigned (see above).
- Pairing by numeric code is specified but not yet exposed in the UI; QR is the only pairing path in this build.
- LAN over a home network may need a Windows Firewall allowance the first time. Bluetooth is unaffected.
- The app is available once you are signed in to Windows. Wake-on-LAN and pre-login control are out of scope by design — see ADR-1.
Languages
English and Turkish, following the device language, falling back to English.
Forum
Bu forumda proje ile ilgili sorular sorabilir, hata bildirebilir, özellik isteyebilir veya genel tartışmalara katılabilirsiniz.