Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn111 committed Apr 29, 2024
1 parent 97fbd43 commit cd3e384
Showing 1 changed file with 89 additions and 26 deletions.
115 changes: 89 additions & 26 deletions collections/android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,21 @@ https://gs.statcounter.com/os-market-share
- podman machine (not yet)
- native docker/podman/lxc (need root)
- (-) as kubeedge node

- install from github or f-driod (*)

<!-- reset_layout -->

-----
<!-- end_slide -->

# Termux Google Play
https://wiki.termux.com/wiki/Termux_Google_Play
https://github.com/termux/termux-app/issues/1072

- If Termux application was built with target SDK level "29" (Android 10) or higher, it will be eligible for SELinux restriction of execve() system call on data files.
- That makes impossible to run package executables such as "apt", "bash" and others located in the application's writable directory such as $PREFIX.


-----
<!-- end_slide -->

Expand All @@ -91,6 +103,25 @@ https://gs.statcounter.com/os-market-share
-----
<!-- end_slide -->

### Termux Addons
https://wiki.termux.com/wiki/Addons

- Termux:API
- Access Android and Chrome hardware features.
- Termux:Boot
- Run script(s) when your device boots.
- Termux:Float
- Run Termux in a floating window.
- Termux:Styling
- Have color schemes and powerline-ready fonts customize the appearance of the Termux terminal.
- Termux:Tasker
- An easy way to call Termux executables from Tasker and compatible apps.
- Termux:Widget
- Start small scriptlets from the home screen.

-----
<!-- end_slide -->

### termux fs layout


Expand Down Expand Up @@ -171,6 +202,13 @@ https://gs.statcounter.com/os-market-share

https://wiki.termux.com/wiki/Internal_and_external_storage

Executing termux-setup-storage ensures:

That permission to shared storage is granted to Termux when running on Android 6.0 or later.
That an app-private folder on external storage is created (if external storage exists).
That a folder $HOME/storage is created.


-----
<!-- end_slide -->

Expand Down Expand Up @@ -231,21 +269,34 @@ $ termux-battery-status
-----
<!-- end_slide -->
Termux:GUI
# GUI
## Termux:GUI
- Official
- Python
- C/C++
- Bash
- Community
- Rust
# termux am
- https://github.com/termux/TermuxAm
- https://github.com/termux/termux-am-socket
https://github.com/termux/termux-gui
- enables command line programs to use the native android GUI.
## Termux:x11
- A Termux X11 server add-on app.
https://github.com/termux/termux-x11
-----
<!-- end_slide -->
### other plugins
- Termux:API
- Termux:Boot
- Termux:Float
- Termux:Tasker
# termux am
- https://github.com/termux/TermuxAm
- https://github.com/termux/termux-am-socket
-----
<!-- end_slide -->
Expand All @@ -255,6 +306,8 @@ $ termux-battery-status
https://sdrausty.github.io/docsBuildAPKs/
https://gist.github.com/tmatz/817bf03433e059bf89c63dc33f286ccb
https://wiki.termux.com/wiki/Development_Environments
-----
<!-- end_slide -->
Expand All @@ -268,6 +321,9 @@ https://gist.github.com/tmatz/817bf03433e059bf89c63dc33f286ccb
* x86_64-linux-android
https://doc.rust-lang.org/nightly/rustc/platform-support.html
https://doc.rust-lang.org/nightly/rustc/platform-support/android.html
https://www.youtube.com/watch?v=gUz4thxBuTs
https://android.googlesource.com/toolchain/android_rust/
-----
Expand Down Expand Up @@ -297,44 +353,51 @@ ADD https://github.com/termux/termux-packages/releases/download/bootstrap-$BOOTS

```
-----
<!-- end_slide -->
## termux-x11
## scrcpy
- audio forwarding (Android 11+)
- recording
- mirroring with Android device screen off
- copy-paste in both directions
- configurable quality
- camera mirroring (Android 12+)
- mirroring as a webcam (V4L2) (Linux-only)
- physical keyboard and mouse simulation (HID)
- OTG mode
- and more…
-----
<!-- end_slide -->
### android desktop
## scrcpy
- samsung dex / moto ready for
- Linux on DeX (dead)
- desktop mode / android 15
- desktop launcher
- Taskbar
- https://github.com/axel358/smartdock
-----
<!-- end_slide -->
## scrcpy-desktop
- https://github.com/nikp123/scrcpy-desktop
-----
<!-- end_slide -->
### android desktop
- samsung dex / moto ready for
- Linux on DeX (dead)
- desktop mode / android 15
- adb shell settings put global overlay_display_devices $TARGET_DISPLAY_MODE
- scrcpy --display-id $display -w -S -K &
-----
<!-- end_slide -->
# waydroid
- Waydroid uses Linux namespaces to run a full Android system in a container on any GNU/Linux-based platform.
- Waydroid uses Linux namespaces to run a full Android system in a container (LXC) on any GNU/Linux-based platform.
- The Android inside the container has direct access to the needed hardware.
LXC
-----
<!-- end_slide -->
Expand Down

0 comments on commit cd3e384

Please sign in to comment.