emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Android port


From: Michael Albinus
Subject: Re: Android port
Date: Sun, 19 Feb 2023 11:17:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Dov Grobgeld <dov.grobgeld@gmail.com> writes:

> To use adb on Linux you need to do the following:
>
> 1. Enable debug mode on the android device. The way you do this
> depends on the device, but it typically involves tapping five to seven
> times on the system about kernel version. Look for it on the web.
> 2. After enabling debug mode looking for "USB debugging" on the device
> and turn it on.
> 3. Connect the android device to the computer by cable.
> 4. Run `adb shell` on your computer. This will fail to connect because
> of permissions.
> 5. On the android device you will get a popup asking whether you want
> to allow usb debugging from your computer. Confirm this.
> 6. Back in the computer terminal do a `killall adb` to remove the
> previous adb process (it installs itself as a server). And redo it.
> 7. You will now have a shell into your device. :-)
>
> You can use adb to copy files `adb push` and `adb pull` to the device.
>
> You can also use `adb logcat` and filter the output by regexps.

In Emacs, there's also Tramp's "adb" method. If you have only one
Android device, you can access it via "C-x C-f /adb::" from your local
Emacs, running on Linux.

The only missing feature is support of "adb logcat". Shall we add
something like this?

> Hope this helps!
>
> Looking forward to using emacs on my android tablet!
>
> Dov

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]