1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Rust + TauriでAndroid自動同期Macアプリを作ってProduct Huntに出してみた!🐤🌹

1
Posted at

本日、「HiyokoAutoSync」をProduct Huntに出しました。

AndroidをMacにUSB接続した瞬間、ADB経由でMTPモードへ自動切り替え → 同期開始、というゼロタッチ体験を実現するMacアプリです。

技術的なポイント

  • usbwatch-rsでIOKitのUSBイベントを非同期検知
  • adb shell svc usb setFunctions mtpでモード切替
  • Tokio Semaphore(4)による4並列転送(45MB/s+)
  • ADBバイナリをresourceに内蔵してセットアップ不要に

技術記事は別途書く予定ですが、興味あればまず触ってみてください。
フィードバック大歓迎です🐤

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?