[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Android port
From: |
Po Lu |
Subject: |
Re: Android port |
Date: |
Sun, 19 Feb 2023 18:55:02 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Michael Albinus <michael.albinus@gmx.de> writes:
> 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?
If you run `logcat' from a directory in /adb::, it will work just as
well as if you ran `adb logcat'.
- Re: Android port, (continued)
- Re: Android port, tomas, 2023/02/17
- Re: Android port, Angelo Graziosi, 2023/02/18
- Re: Android port, Po Lu, 2023/02/18
- Re: Android port, Angelo Graziosi, 2023/02/18
- Re: Android port, Po Lu, 2023/02/18
- Re: Android port, Angelo Graziosi, 2023/02/19
- Re: Android port, Dov Grobgeld, 2023/02/19
- Re: Android port, Michael Albinus, 2023/02/19
- Re: Android port,
Po Lu <=
- Re: Android port, Michael Albinus, 2023/02/19
- Re: Android port, Po Lu, 2023/02/19
- Re: Android port, Angelo Graziosi, 2023/02/19
- Re: Android port, Peter Oliver, 2023/02/19
- Re: Android port, Po Lu, 2023/02/19
- Re: Android port, Arsen Arsenović, 2023/02/19
- Re: Android port, Po Lu, 2023/02/19
- Re: Android port, Angelo Graziosi, 2023/02/19
- Re: Android port, Po Lu, 2023/02/19
- Re: Android port, Angelo Graziosi, 2023/02/19