[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MTP & Guix
From: |
Pierre Neidhardt |
Subject: |
Re: MTP & Guix |
Date: |
Sat, 07 Jul 2018 09:25:57 +0200 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Maxim Cournoyer <address@hidden> writes:
> Basically, add this to your ~/.emacs if you want it to connect
> automatically to your device:
>
> --8<---------------cut here---------------start------------->8---
> (setq tramp-adb-connect-if-not-connected t)
> --8<---------------cut here---------------end--------------->8---
>
> And then fire it up using C-x C-f /adb::.
>
> You need the cable for the initial adb connection, but after you
> continue the connection over TCP/IP wirelessly, by doing [2]:
>
>> adb shell ip -f inet addr show wlan0 # Find your phone's IP address
>> adb tcpip 5555
>> adb connect <your-device-ip>:5555
Nice, thanks for the tip!
I cannot try it out now and I'm no Android expert, so first question is:
does it require any special setup on the phone side?
--
Pierre Neidhardt
signature.asc
Description: PGP signature