[Top][All Lists]

[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 12:49:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Po Lu <luangruo@yahoo.com> writes:


>> 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?
> If you run `logcat' from a directory in /adb::, it will work just as
> well as if you ran `adb logcat'.

Great. Tramp's adb method supports remote processes. so with a proper
default-directory, one can call from Emacs

--8<---------------cut here---------------start------------->8---
(async-shell-command "logcat | grep android_run_debug_thread")
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.

reply via email to

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