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.
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 would like to be able to program/script on a smartphone itself (meaning: not having to use a PC).
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
Does someone know of websites offering APKs for download ?
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.
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.
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.
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.
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
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.
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
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.
Years ago I used SL4A, Py4A to run Python scripts on Android but
I don't think it has worked for several years: <https://github.com/kuri65536/sl4a>
I see the ex-maintainer mentions using termux: <https://github.com/kuri65536/sl4a/issues/50>
These days I use Kivy but I develop on a Linux PC and build
an Android apk.
... it's not it the playstore
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.
Android's built-in MirBSD Korn Shell is not an APK.
Other command-line utilities in Android's /system/bin are not APKs.
Python:
<https://play.google.com/store/apps/details?id=ru.iiec.pydroid3>
Lua:
<https://play.google.com/store/apps/details?id=com.alif.ide.lua>
Both can be found quite easy by just searching von "Python" or "Lua"
in Google Play.
Lua:
<https://play.google.com/store/apps/details?id=com.alif.ide.lua>
Have you tried DroidScript?
Dave,
Years ago I used SL4A, Py4A to run Python scripts on Android but
I don't think it has worked for several years:
<https://github.com/kuri65536/sl4a>
Hmmm.. while googeling I also found it, and an APK to it. But as it presented itself as a layer upon which scripting interpreters could be installed (read: it doesn't offer any scripting capabilities itself) I decided to see if simpler solutions where available.
I see the ex-maintainer mentions using termux:
<https://github.com/kuri65536/sl4a/issues/50>
Thats a +1 for termux I guess. :-)
These days I use Kivy but I develop on a Linux PC and build
an Android apk.
I also encountered that one, but its what I'm trying to evade, having to use a PC. You see, I don't think that my old 'puter running XP (or a single other one running Win7) wil be able to run stuff like that.
Any ideas about using a Raspberry Pi for it ?
... it's not it the playstore
I have absolutily zero problems with staying outof googles garden.
PY4A - Python for Android - ran on SL4A. But I suspect you need
an old version of Android to run it.
Any ideas about using a Raspberry Pi for it ?
<https://kivy.org/doc/stable/installation/installation-rpi.html>
The documentaion is extensive but cryptic!
I build and initially test on Linux, but you have to allow for the
different display size/resolution. A proper keyboard and screen
is the important thing.
Whether kivy is for you depends what you want to build.
They may call pydroid an IDE, btw, but I'm pretty sure you can run
scripts developed outside it. QPython was like that.
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
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.
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
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. :-)
Anne,
The commands available to you are whatever is already provided by your
Android device.
:-) And how do I know what my android device provides ? Its not like
we're in a cyberpunk world where I would just grab the knowledge chip that came with the phone and plug it into the socket in my neck.
IOW, I'm a noobie. Do you know of a(ny) website carrying that kind of info (and preferrably some examples and perhaps even tutorials too) ?
Android is based on (a modified version of) Linux.
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.
Install Termux and plugins you want, Termux:API probably at minimum. Configure your repos,
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.
Android is based on (a modified version of) Linux.
Get a manual of Linux commands. Then experiment.
If you are also a Linux noobie,
Especially in regard to programming (see subjectline), which means API support towards the devices capabilities.
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 ? :-(
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.
In comp.mobile.android, R.Wieser <[email protected]d> 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
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
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 09:18:34 |
| Calls: | 12,100 |
| Files: | 15,003 |
| Messages: | 6,517,968 |