63185ce99e876deef821c5caae05f1e2c1c3f12d
Home.md
... | ... | @@ -18,6 +18,7 @@ |
18 | 18 | 9. [virtualisation](#technology_virtualisation) |
19 | 19 | |
20 | 20 | ## coding |
21 | +- [android](coding/android) |
|
21 | 22 | - [arduino](coding/arduino) |
22 | 23 | - [git](coding/git) |
23 | 24 | - [svn](coding/svn) |
coding/adb.md
... | ... | @@ -0,0 +1,26 @@ |
1 | +# android debug bridge |
|
2 | + |
|
3 | +[archwiki][] |
|
4 | + |
|
5 | +- install `adb` |
|
6 | + ``` |
|
7 | + pacman -S android-tools android-udev |
|
8 | + ``` |
|
9 | +- on android phone |
|
10 | + - settings > system > about phone > tap 'build number' 7 times to become developer |
|
11 | + - settings > system > (advanced) developer options > enable usb debugging |
|
12 | +- plug in phone via usb and switch to 'ptp' |
|
13 | +- check device is listed |
|
14 | + ``` |
|
15 | + adb devices |
|
16 | + ``` |
|
17 | + |
|
18 | +## screencast |
|
19 | +``` |
|
20 | +adb shell screenrecord --output-format=h264 - | ffplay - |
|
21 | +adb shell screenrecord --output-format=h264 - | mpv --no-correct-pts --fps=60 - |
|
22 | +``` |
|
23 | + |
|
24 | + |
|
25 | + |
|
26 | +[archwiki]: https://wiki.archlinux.org/index.php/Android_Debug_Bridge |
coding/android.md
... | ... | @@ -0,0 +1,3 @@ |
1 | +# android |
|
2 | + |
|
3 | +- [android debug bridge](adb) |