From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Peter Oliver
Newsgroups: gmane.emacs.devel
Subject: Re: Android port
Date: Sun, 19 Feb 2023 11:24:33 +0000 (GMT)
Message-ID: <2b11541e-ccd7-2e22-d900-30472f4455bc@mavit.org.uk>
References: <912677799.460919.1676709333977@mail1.libero.it>
<87zg9bjrfi.fsf@yahoo.com> <2083511697.508112.1676757486753@mail1.libero.it>
<87mt5ajtbr.fsf@yahoo.com> <1002927807.523870.1676797315058@mail1.libero.it>
<87k00dj55m.fsf@yahoo.com> <1207393337.527281.1676805061582@mail1.libero.it>
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="36087"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: "emacs-devel@gnu.org"
To: Po Lu
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 19 12:25:19 2023
Return-path:
Envelope-to: ged-emacs-devel@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92)
(envelope-from )
id 1pThok-0009Ag-Re
for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Feb 2023 12:25:18 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1pThoH-0006DG-2M; Sun, 19 Feb 2023 06:24:49 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1pThoF-0006D2-DX
for emacs-devel@gnu.org; Sun, 19 Feb 2023 06:24:47 -0500
Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1pThoC-00069D-Up
for emacs-devel@gnu.org; Sun, 19 Feb 2023 06:24:47 -0500
Original-Received: by mail-wm1-x334.google.com with SMTP id p15so358280wmo.3
for ; Sun, 19 Feb 2023 03:24:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mavit.org.uk; s=google;
h=mime-version:references:message-id:in-reply-to:subject:cc:to:from
:date:from:to:cc:subject:date:message-id:reply-to;
bh=DhF2jX1TG2ZwOu4u/uIDuamYtLpLj5Ow/VzZqRNvGkw=;
b=JBkkg4J657Vd+TRyReHdJGwbUgxrnDnFzL0vIXhgh3NcrR/dFXORiM2fRInYD9FWqf
F7lh5AiSAV6OiyUlys9PjdCGXvd9GN5ZR3ElpUGld+GMYkzUEonrXTwL3QUv78fPzRRE
yCLOA6BuQvGU+c9LF4/Tsoe4Zjtk7On34qC04=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=mime-version:references:message-id:in-reply-to:subject:cc:to:from
:date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=DhF2jX1TG2ZwOu4u/uIDuamYtLpLj5Ow/VzZqRNvGkw=;
b=NQ4b3qeWGRt34WPFomk7jwgLHH/g+XFNMtNaEACj8BZgP1BIYR0i+Rs2D8JHQHvWUe
h6RDKT79CEV0E1RHW9rw8B37vXQ680QdQ3S/SS/jo474TsO9vkO4yvlENISxERjhlBTf
JlrFY/caehDZMlO7EoE+sSvFF+qdh8/e1GZS5kF60fmbO62AgVv46Dfo7PQyd6lV91z+
08xhxFGzPqCoBMJH6wAx07YTUP3MAQVeJnGtjswb33MlSQPndKf7YsgY/Z2nzXd5hFNF
gt37hQfOwp9fjAVbs48dFNwrUSJuLYPgOnlJnVVbhhD01tji2X2rvyAUYOXA6EyWixyr
5n8w==
X-Gm-Message-State: AO0yUKX8eHdFw4/UFNJeMC/y97dgOIaP9NJmb0bI2oF2vuQSnfuKQgaV
iGAW8rvcrC5X3oK4ujvXEkkN1w==
X-Google-Smtp-Source: AK7set8+9lx4l1ovOi6kwH/0qg81fJ6meioIwUrsXEQMfAfaU2MEDAXXiYiB5/9/t4lwBeCmlROAZA==
X-Received: by 2002:a05:600c:180a:b0:3db:1434:c51a with SMTP id
n10-20020a05600c180a00b003db1434c51amr4543974wmp.40.1676805875988;
Sun, 19 Feb 2023 03:24:35 -0800 (PST)
Original-Received: from froglet.home.mavit.org.uk
(dudl-14-b2-v4wan-165814-cust1925.vm31.cable.virginm.net. [82.34.135.134])
by smtp.gmail.com with ESMTPSA id
a12-20020a05600c224c00b003dc53217e07sm10435816wmm.16.2023.02.19.03.24.35
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 19 Feb 2023 03:24:35 -0800 (PST)
Original-Received: from froglet.home.mavit.org.uk (localhost [127.0.0.1])
by froglet.home.mavit.org.uk (8.17.1/8.17.1) with ESMTPS id 31JBOYU1008197
(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
Sun, 19 Feb 2023 11:24:34 GMT
Original-Received: from localhost (mavit@localhost)
by froglet.home.mavit.org.uk (8.17.1/8.17.1/Submit) with ESMTP id
31JBOXvj008194; Sun, 19 Feb 2023 11:24:33 GMT
X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing
-bs
In-Reply-To: <1207393337.527281.1676805061582@mail1.libero.it>
Received-SPF: pass client-ip=2a00:1450:4864:20::334;
envelope-from=p.d.oliver@mavit.org.uk; helo=mail-wm1-x334.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Emacs development discussions."
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.devel:303555
Archived-At:
Po Lu writes:
> Dov Grobgeld 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.
>
> Everyone, do we need this information in the Emacs manual?
Yes, but better to direct users to the official documentation (https://developer.android.com/studio/command-line/adb) rather than try to describe it ourselves, I think.
--
Peter Oliver