doc:appunti:android:programs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:android:programs [2018/11/07 17:02] – [Problema ambiente adb shell] niccolo | doc:appunti:android:programs [2022/11/21 18:07] (current) – niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Programmi Android ====== | ====== Programmi Android ====== | ||
+ | |||
+ | * **[[librera_reader]]** | ||
===== Open GPS Tracker ===== | ===== Open GPS Tracker ===== | ||
Line 224: | Line 226: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | ===== SMS ===== | ||
+ | |||
+ | Some interesting alternatives for the SMS sending programs: | ||
+ | |||
+ | * My preferred is the open source **[[https:// | ||
+ | * You can choose also the very light **[[https:// | ||
+ | * Otherwise you can opt for the **[[https:// | ||
+ | |||
====== Rimozione programmi di sistema ====== | ====== Rimozione programmi di sistema ====== | ||
Line 342: | Line 353: | ||
Questi file contengono le **impostazioni del programma**, | Questi file contengono le **impostazioni del programma**, | ||
- | ====== Termux ====== | + | ====== |
- | Emulatore terminale e collezione di pacchetti GNU/ | + | Vedere |
- | + | ||
- | * **Termux** | + | |
- | * **Termux Widget** (a pagamento sul Google Play Store) | + | |
- | + | ||
- | Il pacchetto Termux Widget è particolarmente utile perché consente di aggiungere sul desktop un menu con un elenco di comandi eseguibili con un tap. Ogni voce di menu corrisponde ad uno script di shell installato in una apposita directory. | + | |
- | + | ||
- | Essendo software open source, è disponibile anche la versione free su F-Droid. | + | |
- | + | ||
- | Ecco alcuni comandi che è possibile eseguire nel terminale, per installare pacchetti aggiuntivi: | + | |
- | + | ||
- | < | + | |
- | apt update | + | |
- | apt list | + | |
- | apt install mc | + | |
- | </ | + | |
- | ===== Directory ===== | + | |
- | + | ||
- | ^ / | + | |
- | ^ / | + | |
- | ^ / | + | |
- | + | ||
- | ===== Script " | + | |
- | + | ||
- | **ATTENZIONE**: | + | |
- | + | ||
- | < | + | |
- | id | + | |
- | uid=10099(u0_a99) gid=10099(u0_a99) groups=3003(inet), | + | |
- | cd .shortcuts | + | |
- | ls -la | + | |
- | -rwxr-xr-x u0_a99 | + | |
- | cat 01_prova | + | |
- | cat: can't open ' | + | |
- | </ | + | |
- | + | ||
- | Con il comando **ls -Z** si vede che i file hanno un **security context** diverso; il file //pippo1// è accessibile dall' | + | |
- | + | ||
- | < | + | |
- | -rwxr-xr-x u0_a99 | + | |
- | -rwxr-xr-x u0_a99 | + | |
- | </ | + | |
- | + | ||
- | Per **cambiare** il //security context// del file è sufficiente usare i comando: | + | |
- | + | ||
- | < | + | |
- | chcon " | + | |
- | </ | + | |
- | ===== Script .shortcuts ===== | + | |
- | + | ||
- | Ecco un esempio di script da eseguire tramite Termux Widget. È sufficiente crearlo nella directory **/ | + | |
- | + | ||
- | <code bash> | + | |
- | # | + | |
- | exec / | + | |
- | </ | + | |
- | + | ||
- | ===== Problema ambiente Termux via ADB shell ===== | + | |
- | + | ||
- | Se da un PC si accede al device via USB Debug e **ADB shell** non è semplice avere l' | + | |
- | + | ||
- | **Con i permessi di root** nella ADB shell è possibile ricreare l' | + | |
- | + | ||
- | < | + | |
- | su u0_a99 | + | |
- | export LD_LIBRARY_PATH=/ | + | |
- | export PATH=/ | + | |
- | export HOME=/ | + | |
- | export TMPDIR=/ | + | |
- | export TERM=linux | + | |
- | </ | + | |
- | + | ||
- | * FIXME Sarebbe preferibile impostare **TERM=xterm-256color** (che dovrebbe essere l' | + | |
- | * FIXME Sarà possibile eseguire i programmi installati in Termux, ma non si avrà i **permessi per accedere alla rete**, ecc. | + | |
- | + | ||
- | Se si mantiene l' | + | |
- | + | ||
- | Eventuali script di shell dovranno utilizzare l' | + | |
- | + | ||
- | | + | |
- | * **/ | + | |
- | * **/ | + | |
====== Open Source File Managers ====== | ====== Open Source File Managers ====== | ||
Line 444: | Line 374: | ||
* Support root explorer. | * Support root explorer. | ||
* Support WebDAV and other sources (SMB, SFTP, etc.) using plugins. Unfortunately some plugins are available only from Google Play, so being incompatible with the main app from F-Droid. | * Support WebDAV and other sources (SMB, SFTP, etc.) using plugins. Unfortunately some plugins are available only from Google Play, so being incompatible with the main app from F-Droid. | ||
+ | |||
===== OI File Manager ===== | ===== OI File Manager ===== | ||
doc/appunti/android/programs.1541606538.txt.gz · Last modified: 2018/11/07 17:02 by niccolo