Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.mobile.android > #141943 > unrolled thread
| Started by | "R.Wieser" <address@is.invalid> |
|---|---|
| First post | 2024-06-11 14:53 +0200 |
| Last post | 2024-06-12 21:32 +0200 |
| Articles | 20 on this page of 32 — 11 participants |
Back to article view | Back to comp.mobile.android
programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-11 14:53 +0200
Re: programming/scripting on an Android device - suggestions ? Kees Nuyt <k.nuyt@nospam.demon.nl> - 2024-06-11 15:58 +0200
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-11 17:53 +0200
Re: programming/scripting on an Android device - suggestions ? Andy Burns <usenet@andyburns.uk> - 2024-06-11 17:09 +0100
Re: programming/scripting on an Android device - suggestions ? Andrew <andrew@spam.net> - 2024-06-11 20:05 +0000
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-12 08:15 +0200
Re: programming/scripting on an Android device - suggestions ? Eli the Bearded <*@eli.users.panix.com> - 2024-06-11 21:12 +0000
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-12 08:19 +0200
Re: programming/scripting on an Android device - suggestions ? Eli the Bearded <*@eli.users.panix.com> - 2024-06-14 00:20 +0000
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-15 10:06 +0200
Re: programming/scripting on an Android device - suggestions ? Eli the Bearded <*@eli.users.panix.com> - 2024-06-16 07:28 +0000
Re: programming/scripting on an Android device - suggestions ? "W. Greenhouse" <wgreenhouse@tilde.club> - 2024-06-16 13:46 +0000
Re: programming/scripting on an Android device - suggestions ? Bob Martin <bob.martin@excite.com> - 2024-06-12 05:10 +0000
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-12 21:13 +0200
Re: programming/scripting on an Android device - suggestions ? Richmond <dnomhcir@gmx.com> - 2024-06-11 18:01 +0100
Re: programming/scripting on an Android device - suggestions ? Andrew <andrew@spam.net> - 2024-06-11 20:05 +0000
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-12 08:02 +0200
Re: programming/scripting on an Android device - suggestions ? Anne de Royde <AdR@spam.invalid> - 2024-06-12 06:19 +0000
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-12 20:42 +0200
Re: programming/scripting on an Android device - suggestions ? Anne de Royde <AdR@spam.invalid> - 2024-06-13 08:18 +0000
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-13 10:48 +0200
Re: programming/scripting on an Android device - suggestions ? Anne de Royde <AdR@spam.invalid> - 2024-06-14 07:25 +0000
Re: programming/scripting on an Android device - suggestions ? Andrew <andrew@spam.net> - 2024-06-14 20:34 +0000
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-15 11:24 +0200
Re: programming/scripting on an Android device - suggestions ? Anne de Royde <AdR@spam.invalid> - 2024-06-16 07:29 +0000
Re: programming/scripting on an Android device - suggestions ? Dave Royal <dave@dave123royal.com> - 2024-06-12 07:26 +0100
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-12 20:58 +0200
Re: programming/scripting on an Android device - suggestions ? Dave Royal <dave@dave123royal.com> - 2024-06-13 06:25 +0100
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-13 10:24 +0200
Re: programming/scripting on an Android device - suggestions ? Arno Welzel <usenet@arnowelzel.de> - 2024-06-12 12:58 +0200
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-12 21:10 +0200
Re: programming/scripting on an Android device - suggestions ? "R.Wieser" <address@is.invalid> - 2024-06-12 21:32 +0200
Page 1 of 2 [1] 2 Next page →
| From | "R.Wieser" <address@is.invalid> |
|---|---|
| Date | 2024-06-11 14:53 +0200 |
| Subject | programming/scripting on an Android device - suggestions ? |
| Message-ID | <v49hdi$12a13$1@dont-email.me> |
Hello all, I would like to be able to program/script on a smartphone itself (meaning: not having to use a PC). I did find a script-language launcher but surprisingly no APK downloads to programming/scripting languages. I've found some mentioning of a few different programming/scripting languages (like lua and python), but surprisingly no indication of APK downloads to any of them. Question: Does someone know of websites offering APKs for download ? - or even better: websites which offer the APK as well as containing a tutorial to its usage (on an Android smartphone). Regards, Rudy Wieser
[toc] | [next] | [standalone]
| From | Kees Nuyt <k.nuyt@nospam.demon.nl> |
|---|---|
| Date | 2024-06-11 15:58 +0200 |
| Message-ID | <dtlg6jhj3e2tbg0ltpvc5ocu2gm3smdk69@dim53.demon.nl> |
| In reply to | #141943 |
On Tue, 11 Jun 2024 14:53:57 +0200, "R.Wieser" <address@is.invalid> wrote: > Hello all, > > I would like to be able to program/script on a smartphone itself > (meaning: not having to use a PC). You may like Termux. https://f-droid.org/packages/com.termux/ https://play.google.com/store/search?q=termux&c=apps -- Kees Nuyt
[toc] | [prev] | [next] | [standalone]
| From | "R.Wieser" <address@is.invalid> |
|---|---|
| Date | 2024-06-11 17:53 +0200 |
| Message-ID | <v49rvl$14bo8$1@dont-email.me> |
| In reply to | #141944 |
Kees, > You may like Termux. Following the link to the webpage (and to https://wiki.termux.com/ ) it seems to be an all-in-one program, trying to emulate a Linux environment. And thats (currently) not what I'm after. Also, AFAIK compiling with GCC doesn't generate anything that will run on an android smartphone ? Starting with a basic flat-text editor to create scripts and than tapping the scrips to run them is, at least for now, more in the direction of what I'm after. Being able to compile a sourcefile into a native program for my smartphone would be nice too. I already have a few flat-text editors to write scripts with, now all I need is something(s) which will actually execute those scripts. Like interpreters for LUA, Python and others - and perhaps a compiler or two. Regards, Rudy Wieser
[toc] | [prev] | [next] | [standalone]
| From | Andy Burns <usenet@andyburns.uk> |
|---|---|
| Date | 2024-06-11 17:09 +0100 |
| Message-ID | <lcrb5fFc356U2@mid.individual.net> |
| In reply to | #141950 |
R.Wieser wrote: > Following the link to the webpage (and to https://wiki.termux.com/ ) it > seems to be an all-in-one program, trying to emulate a Linux environment. > And thats (currently) not what I'm after. I think it does a poor job of describing itself ...it isn't a linux emulator, it's a terminal emulator that provides access to the real linux that underpins android
[toc] | [prev] | [next] | [standalone]
| From | Andrew <andrew@spam.net> |
|---|---|
| Date | 2024-06-11 20:05 +0000 |
| Message-ID | <v4aam9$2cvv$2@nnrp.usenet.blueworldhosting.com> |
| In reply to | #141951 |
Andy Burns wrote on Tue, 11 Jun 2024 17:09:19 +0100 : > I think it does a poor job of describing itself ...it isn't a linux > emulator, it's a terminal emulator that provides access to the real > linux that underpins android What I need, somewhat along the lines of what Rudy Weiser is asking for, is the ability to clone an APK and then make desired changes to the source. If you know of any tutorials that make use of that cloning, let me know, as I only know about these Windows-based apps which were posted previously. <https://adbappcontrol.com/en/> <https://qwertycube.com/apk-editor-studio/> <https://apktool.org/docs/install/> <https://clonemy.app/> The advantage of cloning is you can make changes & re-install the app. <https://xdaforums.com/t/tool-clonemyapp-android-apk-cloner.4513777/> The trick is in finding a step-by-step tutorial showing how to do it.
[toc] | [prev] | [next] | [standalone]
| From | "R.Wieser" <address@is.invalid> |
|---|---|
| Date | 2024-06-12 08:15 +0200 |
| Message-ID | <v4bem0$1h84c$2@dont-email.me> |
| In reply to | #141951 |
Andy, > I think it does a poor job of describing itself ...it isn't a linux > emulator, it's a terminal emulator that provides access to the real linux > that underpins android Hmmm.... if that is what it does than "a poor job" is a bit of an understatement. I might take a look at it than. Question: Any chance of tutorials to the usage of both termux as well as the (scripting) language(s) that it supports (including API level stuff to the smarthones hardware) ? Regards, Rudy Wieser
[toc] | [prev] | [next] | [standalone]
| From | Eli the Bearded <*@eli.users.panix.com> |
|---|---|
| Date | 2024-06-11 21:12 +0000 |
| Message-ID | <eli$2406111712@qaz.wtf> |
| In reply to | #141950 |
In comp.mobile.android, R.Wieser <address@is.invalid> wrote: > Following the link to the webpage (and to https://wiki.termux.com/ ) it > seems to be an all-in-one program, trying to emulate a Linux environment. > And thats (currently) not what I'm after. > > Also, AFAIK compiling with GCC doesn't generate anything that will run on an > android smartphone ? I compile and run stuff with gcc in Termux. (Notably I only try to compile command line / TUI programs.) > Starting with a basic flat-text editor to create scripts and than tapping > the scrips to run them is, at least for now, more in the direction of what > I'm after. Being able to compile a sourcefile into a native program for my > smartphone would be nice too. I use Termux:Widget to run scripts from $HOME/.shortcuts/ in a Termux shell after tapping an icon on the launcher. > I already have a few flat-text editors to write scripts with, now all I need > is something(s) which will actually execute those scripts. Like > interpreters for LUA, Python and others - and perhaps a compiler or two. Python, Perl, GCC I have installed. There's few different Lua packages, but I've never used them. Looks like most recent patch levels of 5.2, 5.3, and 5.4, plus luajit. My Termux these is mostly ssh and scripts for image processing (rotate and resize, stripping metadata, sending off to APIs with curl, that sort of thing). Elijah ------ a bit of clipboard management, too
[toc] | [prev] | [next] | [standalone]
| From | "R.Wieser" <address@is.invalid> |
|---|---|
| Date | 2024-06-12 08:19 +0200 |
| Message-ID | <v4bem1$1h84c$3@dont-email.me> |
| In reply to | #141965 |
Eli, > Python, Perl, GCC I have installed. There's few different Lua > packages, but I've never used them. Looks like most recent patch > levels of 5.2, 5.3, and 5.4, plus luajit. Those work seperate from Termux, or are they a part of it ? If the first, I could do with a link or two. :-) Regards, Rudy Wieser
[toc] | [prev] | [next] | [standalone]
| From | Eli the Bearded <*@eli.users.panix.com> |
|---|---|
| Date | 2024-06-14 00:20 +0000 |
| Message-ID | <eli$2406132020@qaz.wtf> |
| In reply to | #141979 |
In comp.mobile.android, R.Wieser <address@is.invalid> wrote: > Eli, > > > Python, Perl, GCC I have installed. There's few different Lua > > packages, but I've never used them. Looks like most recent patch > > levels of 5.2, 5.3, and 5.4, plus luajit. > > Those work seperate from Termux, or are they a part of it ? If the first, > I could do with a link or two. :-) They run inside Termux and operate with the same permissions as Termux. Termux downloads precompiled binaries for them from a repo server. Once you have enough of a build environment, you can compile and run things locally. It feels like just another Linux distro with the quirks of an new distro. Biggest quirk is system tools in $HOME/../usr/bin instead of /bin and /usr/bin. The trn build system needed a lot of /bin/sh patched away. This is why Termux is F-Droid now instead of F-Droid and Play store. Play has started to clamp down against programs creating new executibles (or something like that, I'm not an Android dev). Install Termux and plugins you want, Termux:API probably at minimum. Configure your repos, I think `pkg up` will do that the first time run. Then `pkg in python perl gcc lua54 vi git curl whatnot` then start writing or importing your code. The Termux:API stuff allows you to do various Android-y things. What depends on how locked down your system is. On my Cat S61, I had a script reading the air quality sensor built into the phone every five minutes using the sensors API. On other devices I've had 'sudo' working or complete inability to use the API even for set/read clipboard. Elijah ------ okay, biggest quirk may be the really odd filesystem permissions
[toc] | [prev] | [next] | [standalone]
| From | "R.Wieser" <address@is.invalid> |
|---|---|
| Date | 2024-06-15 10:06 +0200 |
| Message-ID | <v4jmlo$3daj0$1@dont-email.me> |
| In reply to | #142034 |
Eli, >> > Python, Perl, GCC I have installed. There's few different Lua >> > packages, but I've never used them. Looks like most recent patch >> > levels of 5.2, 5.3, and 5.4, plus luajit. >> >> Those work seperate from Termux, or are they a part of it ? If the >> first, I could do with a link or two. :-) > > They run inside Termux and operate with the same permissions as Termux. > Termux downloads precompiled binaries for them from a repo server. Any chance I can download them and than offer them to termux? You see, I have a deep-rooted wish to backup stuff like that. System crashes and all that. > Install Termux and plugins you want, Termux:API probably at minimum. > Configure your repos, Thats some sort of Linux inside joke, isn't it ? "You configure it". I have *zero* information on either termux or any of those plugins, but I'm expected to configure them ? How ? :-( > The Termux:API stuff allows you to do various Android-y things. ... > I had a script reading the air quality sensor built into the phone > every five minutes using the sensors API. Yep, thats (in general) what I'm after. :-) So, any chance that you know of any tutorial in regard to termux and its (program languages) plugins ? I don't think I will even /try/ to install it without having anything to go on. Regards, Rudy Wieser
[toc] | [prev] | [next] | [standalone]
| From | Eli the Bearded <*@eli.users.panix.com> |
|---|---|
| Date | 2024-06-16 07:28 +0000 |
| Message-ID | <eli$2406160328@qaz.wtf> |
| In reply to | #142068 |
In comp.mobile.android, R.Wieser <address@is.invalid> wrote:
> Any chance I can download them and than offer them to termux? You see, I
> have a deep-rooted wish to backup stuff like that. System crashes and all
> that.
Once downloaded, you can back them up. I use rsync (running in Termux).
The directory tree is all readable inside the app.
General layout:
/data/data/com.termux/files
/cache
/code_cache
/files
/home
/usr
/bin
/etc
/include
/lib
/libexec
/share
/tmp
/var
/shared_preds
> > Install Termux and plugins you want, Termux:API probably at minimum.
> > Configure your repos,
> Thats some sort of Linux inside joke, isn't it ? "You configure it". I
> have *zero* information on either termux or any of those plugins, but I'm
> expected to configure them ? How ? :-(
As I recall it was just a matter of selecting which of the list I'd
prefer to use. I prefer not to use any of the ones in China and prefer
to try North American ones first. It's faster to pick ones that are not
an ocean away.
> So, any chance that you know of any tutorial in regard to termux and its
> (program languages) plugins ? I don't think I will even /try/ to install it
> without having anything to go on.
There's a difference there between us. I tried first, then looked for
help with what I wanted. I don't know of a tutorial, but I haven't
looked for one either. There's a mailing list, which I'm on, that gets
very little traffic. There's a wiki with some basic info. There's code
and issue tracking at github.
https://wiki.termux.com/wiki/Main_Page
https://wiki.termux.com/wiki/Getting_started
https://github.com/termux/
People also ask and answer questions here. I try to read all the posts
with Termux in the Subject, but this group is pretty far down my .newsrc
so I don't reach it every time I look at Usenet.
Elijah
------
wants a pocket computer more than a portable phone
[toc] | [prev] | [next] | [standalone]
| From | "W. Greenhouse" <wgreenhouse@tilde.club> |
|---|---|
| Date | 2024-06-16 13:46 +0000 |
| Message-ID | <s0rplshgfvp.fsf@tilde.club> |
| In reply to | #142080 |
Eli the Bearded <*@eli.users.panix.com> writes: > In comp.mobile.android, R.Wieser <address@is.invalid> wrote: >> Any chance I can download them and than offer them to termux? You >> see, I have a deep-rooted wish to backup stuff like that. System >> crashes and all that. > > Once downloaded, you can back them up. I use rsync (running in Termux). > The directory tree is all readable inside the app. > > General layout: > > /data/data/com.termux/files > /cache > /code_cache > /files > /home > /usr > /bin > /etc > /include > /lib > /libexec > /share > /tmp > /var > /shared_preds I use `restic` from within termux to back up my termux environment which also works well. A basic backup/restore is described on the official wiki at https://wiki.termux.com/wiki/Backing_up_Termux. >> So, any chance that you know of any tutorial in regard to termux and >> its (program languages) plugins ? I don't think I will even /try/ to >> install it without having anything to go on. > There's a difference there between us. I tried first, then looked for > help with what I wanted. I don't know of a tutorial, but I haven't > looked for one either. There's a mailing list, which I'm on, that gets > very little traffic. There's a wiki with some basic info. There's code > and issue tracking at github. > > https://wiki.termux.com/wiki/Main_Page > https://wiki.termux.com/wiki/Getting_started > > https://github.com/termux/ > > People also ask and answer questions here. I try to read all the posts > with Termux in the Subject, but this group is pretty far down my .newsrc > so I don't reach it every time I look at Usenet. > > Elijah > ------ > wants a pocket computer more than a portable phone There's also an IRC channel, #termux on irc.libera.chat and a Matrix channel, #termux_termux:gitter.im, both reasonably responsive. --wgreenhouse
[toc] | [prev] | [next] | [standalone]
| From | Bob Martin <bob.martin@excite.com> |
|---|---|
| Date | 2024-06-12 05:10 +0000 |
| Message-ID | <lcsov1FjqtsU1@mid.individual.net> |
| In reply to | #141950 |
On 11 Jun 2024 at 15:53:47, "R.Wieser" <address@is.invalid> wrote: > Kees, > >> You may like Termux. > > Following the link to the webpage (and to https://wiki.termux.com/ ) it > seems to be an all-in-one program, trying to emulate a Linux environment. > And thats (currently) not what I'm after. > > Also, AFAIK compiling with GCC doesn't generate anything that will run on an > android smartphone ? > > > Starting with a basic flat-text editor to create scripts and than tapping > the scrips to run them is, at least for now, more in the direction of what > I'm after. Being able to compile a sourcefile into a native program for my > smartphone would be nice too. > > I already have a few flat-text editors to write scripts with, now all I need > is something(s) which will actually execute those scripts. Like > interpreters for LUA, Python and others - and perhaps a compiler or two. Have you tried DroidScript?
[toc] | [prev] | [next] | [standalone]
| From | "R.Wieser" <address@is.invalid> |
|---|---|
| Date | 2024-06-12 21:13 +0200 |
| Message-ID | <v4ct67$1q7d2$1@dont-email.me> |
| In reply to | #141972 |
Bob, > Have you tried DroidScript? I don't think I have even encountered it. :-) Thanks for the suggestion, I'll try to find it to take a peek. Regards, Rudy Wieser
[toc] | [prev] | [next] | [standalone]
| From | Richmond <dnomhcir@gmx.com> |
|---|---|
| Date | 2024-06-11 18:01 +0100 |
| Message-ID | <8634pjbehj.fsf@example.com> |
| In reply to | #141943 |
"R.Wieser" <address@is.invalid> writes: > I would like to be able to program/script on a smartphone itself (meaning: > not having to use a PC). > You could write javascript and run it with a web browser.
[toc] | [prev] | [next] | [standalone]
| From | Andrew <andrew@spam.net> |
|---|---|
| Date | 2024-06-11 20:05 +0000 |
| Message-ID | <v4aam8$2cvv$1@nnrp.usenet.blueworldhosting.com> |
| In reply to | #141943 |
R.Wieser wrote on Tue, 11 Jun 2024 14:53:57 +0200 : > Does someone know of websites offering APKs for download ? All the open source apps are on sites offering APK source for download. Aren't they? If so, finding source code is NOT your main problem. Building the APK from that source code is the main problem, IMHO. https://xdaforums.com/t/is-there-a-walk-thru-step-by-step-tutorial-yet-for-compiling-existing-real-android-foss-src-found-on-github-that-is-on-this-xda-developers-forum.4571127/ If you figure out how to build from source, I have a need for that skill! https://xdaforums.com/t/apps-what-no-root-free-real-fm-am-radio-tuner-app-do-you-use-that-has-no-ads-do-you-know-how-to-build-the-spirit1-no-root-source-code.4641228/
[toc] | [prev] | [next] | [standalone]
| From | "R.Wieser" <address@is.invalid> |
|---|---|
| Date | 2024-06-12 08:02 +0200 |
| Message-ID | <v4bem0$1h84c$1@dont-email.me> |
| In reply to | #141956 |
Andrew, >> Does someone know of websites offering APKs for download ? > > All the open source apps are on sites offering APK source for download. > Aren't they? > > If so, finding source code is NOT your main problem. You're both turning the question upside-down, as well as answering a question I did not ask. What makes you think that the (LUA, Python interpreter/compiler) APKs I'm after are open source, and why do you think I'm after their source code ? I did not mention anything toward that. For the record: I'm after APKs for scripting-language interpreters/compilers, as well as tutorials for them (can't use one without the other). Regards, Rudy Wieser
[toc] | [prev] | [next] | [standalone]
| From | Anne de Royde <AdR@spam.invalid> |
|---|---|
| Date | 2024-06-12 06:19 +0000 |
| Message-ID | <Q5baO.7751$9d96.7423@usenetxs.com> |
| In reply to | #141943 |
R.Wieser wrote: > Hello all, > > I would like to be able to program/script on a smartphone itself (meaning: > not having to use a PC). Will shell scripting meet your needs? Android comes with the MirBSD Korn Shell built in (/system/bin/sh). Just install a terminal emulator APK and start creating your own shell scripts. > I did find a script-language launcher but surprisingly no APK downloads to > programming/scripting languages. > > I've found some mentioning of a few different programming/scripting > languages (like lua and python), but surprisingly no indication of APK > downloads to any of them. Android's built-in MirBSD Korn Shell is not an APK. Other command-line utilities in Android's /system/bin are not APKs. APKs are generally GUI apps, not command-line utilities.
[toc] | [prev] | [next] | [standalone]
| From | "R.Wieser" <address@is.invalid> |
|---|---|
| Date | 2024-06-12 20:42 +0200 |
| Message-ID | <v4crr5$1pumc$1@dont-email.me> |
| In reply to | #141976 |
Anne, >> I would like to be able to program/script on a smartphone itself >> (meaning: >> not having to use a PC). > > Will shell scripting meet your needs? Android comes with the MirBSD > Korn Shell built in (/system/bin/sh). Currently I have nothing, so /anything/ would be an improvement. > Just install a terminal emulator APK and start creating your > own shell scripts. Just *any* terminal emulator ? Or should it have a specific capability (the "terminal emulator"s I know of needed to connect by either serial or ethernet to a server). IOW, any suggestion to a terminal program* ? * Termux was suggested. I assumed it tried to emulate a linux environment, but reading your post its quite possible that it connects to that Korn shell. > Android's built-in MirBSD Korn Shell is not an APK. I was not aware that there was simething build-in available, hence my search for external software. > Other command-line utilities in Android's /system/bin are not APKs. A question though : where would I find the above folder ? I've got a file browser, but it doesn't show any such folder. Regards, Rudy Wieser
[toc] | [prev] | [next] | [standalone]
| From | Anne de Royde <AdR@spam.invalid> |
|---|---|
| Date | 2024-06-13 08:18 +0000 |
| Message-ID | <dXxaO.2157$WOa6.820@usenetxs.com> |
| In reply to | #141988 |
R.Wieser wrote:
> Anne,
>
>>> I would like to be able to program/script on a smartphone itself (meaning:
>>> not having to use a PC).
>>
>> Will shell scripting meet your needs? Android comes with the MirBSD
>> Korn Shell built in (/system/bin/sh).
>
> Currently I have nothing, so /anything/ would be an improvement.
>
>> Just install a terminal emulator APK and start creating your
>> own shell scripts.
>
> Just *any* terminal emulator ? Or should it have a specific capability (the
> "terminal emulator"s I know of needed to connect by either serial or
> ethernet to a server). IOW, any suggestion to a terminal program* ?
>
> * Termux was suggested. I assumed it tried to emulate a linux environment,
> but reading your post its quite possible that it connects to that Korn
> shell.
You can use one of these, installed on Android:
* TermOne Plus <https://play.google.com/store/apps/details?id=com.termoneplus>
* Termux <https://play.google.com/store/apps/details?id=com.termux>
These give you a shell prompt in a terminal emulator window on Android.
Like a Linux 'Terminal' window, or a Windows 'Command Prompt' window.
The commands available to you are whatever is already provided by your
Android device.
>> Android's built-in MirBSD Korn Shell is not an APK.
>
> I was not aware that there was simething build-in available, hence my search
> for external software.
>
>> Other command-line utilities in Android's /system/bin are not APKs.
>
> A question though : where would I find the above folder ? I've got a file
> browser, but it doesn't show any such folder.
I expect your file browser also does not show the folders where your APK
apps are installed to. For example,
* Where Firefox is installed: /data/app/org.mozilla.firefox/
* Where MS Edge is installed: /data/app/com.microsoft.emmx/
Some ways to *find* the folder /system/bin
1. From the shell prompt in a terminal emulator window, enter a
command such as
which sh
to report the location of the 'sh' command-line executable.
Whether you can *list* the contents of this folder depends on
the folder's permissions. To see the folder's permissions,
try one of these:
ls -ld /system/bin
stat -c %a /system/bin
2. 'ES File Explorer' used to have an option to show more of the
file system. But I hear ES File Explorer went downhill with
banner ads.
3. Using adb on your desktop computer connected to your Android
device.
adb command to use: <https://adbshell.com/commands/adb-shell-ls>
adb overview: <https://en.wikipedia.org/wiki/Android_Debug_Bridge>
> Regards,
> Rudy Wieser
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.mobile.android
csiph-web