Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

"Life sucks, but death doesn't put out at all...." -- Thomas J. Kopp


devel / comp.lang.tcl / Re: Build instructions for androwish?

SubjectAuthor
* Build instructions for androwish?Helmut Giese
+- Build instructions for androwish?Rich
+* Build instructions for androwish?Harald Oehlmann
|`- Build instructions for androwish?Helmut Giese
+- Build instructions for androwish?Rich
`- Build instructions for androwish?et99

1
Build instructions for androwish?

<49ckli5m0va8d8uionrhspubc1v8b32qri@4ax.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12799&group=comp.lang.tcl#12799

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: hgiese@ratiosoft.com (Helmut Giese)
Newsgroups: comp.lang.tcl
Subject: Build instructions for androwish?
Date: Sun, 19 Nov 2023 17:14:06 +0100
Organization: ratiosoft
Lines: 12
Message-ID: <49ckli5m0va8d8uionrhspubc1v8b32qri@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="733718af5a535682207c28d5dde8b3c1";
logging-data="4074090"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19hdZ0VOkSBOHV2zGQj+8el"
Cancel-Lock: sha1:I/W6BnB6ObSvxwnrpjB2FhqZnk8=
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)
 by: Helmut Giese - Sun, 19 Nov 2023 16:14 UTC

Hello out there,
I am (very) old school and although I own a mobile phone I use it
almost exclusively as a phone and checking SMS (for online banking).
Nevertheless I want to port an app to an android phone - it's for my
(still older) mother.
I found androwish and several old build instructions, which (for me)
look complicated - to say the least.
Q: What is the current way to get a Tcl program via androwish onto an
android phone?
Any link or tip will be highly appreciated
Best regards
Helmut

Re: Build instructions for androwish?

<ujdie7$3t69p$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12801&group=comp.lang.tcl#12801

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: Build instructions for androwish?
Date: Sun, 19 Nov 2023 17:59:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <ujdie7$3t69p$2@dont-email.me>
References: <49ckli5m0va8d8uionrhspubc1v8b32qri@4ax.com>
Injection-Date: Sun, 19 Nov 2023 17:59:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c00e3f692bf33595523a3a3e1996f721";
logging-data="4102457"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+YayctU96d5iO/l89xep2x"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.117 (x86_64))
Cancel-Lock: sha1:peZtCkJrG1/65A+mLjNsXqYAl5I=
 by: Rich - Sun, 19 Nov 2023 17:59 UTC

Helmut Giese <hgiese@ratiosoft.com> wrote:
> Hello out there,
> I am (very) old school and although I own a mobile phone I use it
> almost exclusively as a phone and checking SMS (for online banking).
> Nevertheless I want to port an app to an android phone - it's for my
> (still older) mother.
> I found androwish and several old build instructions, which (for me)
> look complicated - to say the least.

> Q: What is the current way to get a Tcl program via androwish onto an
> android phone?

For literally 'on the phone' it is "build it into a 'bundle' using the
method described in the androwish docs, then side load it. And to side
load you may have to go enable the 'deveoper mode' on the settings menu
(exactly how sometimes varies by phone model so asking duck duck go how
is likely best here) and then inside the developer section toggling on
the ability to side load apps.

> Any link or tip will be highly appreciated
> Best regards
> Helmut

As for building the tcl app into an androwish bundle, it is similar to
building a TclKit (everything packed into a singe file bundle) but the
steps may have changed since I last built one a few years back, so do
look at the current docs. Yes, it is (or was) somewhat complicated,
but IIRC the docs were complete and one could reach the end without
falling off a cliff somewhere.

Re: Build instructions for androwish?

<ujf5fs$7tu8$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12802&group=comp.lang.tcl#12802

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortkarg3@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: Build instructions for androwish?
Date: Mon, 20 Nov 2023 09:30:53 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <ujf5fs$7tu8$1@dont-email.me>
References: <49ckli5m0va8d8uionrhspubc1v8b32qri@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 20 Nov 2023 08:30:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="eedf48c41b6b99a6bdff6735fb2a63b3";
logging-data="260040"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DcRANo4H/8QVHkaYpWuDm"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:n61ZFteIcYEagnbv8zeTfaDu6Wc=
Content-Language: en-GB
In-Reply-To: <49ckli5m0va8d8uionrhspubc1v8b32qri@4ax.com>
 by: Harald Oehlmann - Mon, 20 Nov 2023 08:30 UTC

Am 19.11.2023 um 17:14 schrieb Helmut Giese:
> Hello out there,
> I am (very) old school and although I own a mobile phone I use it
> almost exclusively as a phone and checking SMS (for online banking).
> Nevertheless I want to port an app to an android phone - it's for my
> (still older) mother.
> I found androwish and several old build instructions, which (for me)
> look complicated - to say the least.
> Q: What is the current way to get a Tcl program via androwish onto an
> android phone?
> Any link or tip will be highly appreciated
> Best regards
> Helmut

Two ways:
a) Install the standard Androwsih and script separately
b) Use the Androwish SDK with the script included

https://www.androwish.org/home/wiki?name=AndroWish+SDK

I personally run that on Windows. The Android SDK Version is crucial. I
remember, the last supported one is version 9. Current is 22.

It is fun and totally reliable, if once set-up.

Take care,
Harald

Re: Build instructions for androwish?

<44tmli9sc2og732dfc0suf7b6id8f18smc@4ax.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12804&group=comp.lang.tcl#12804

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: hgiese@ratiosoft.com (Helmut Giese)
Newsgroups: comp.lang.tcl
Subject: Re: Build instructions for androwish?
Date: Mon, 20 Nov 2023 16:01:42 +0100
Organization: ratiosoft
Lines: 4
Message-ID: <44tmli9sc2og732dfc0suf7b6id8f18smc@4ax.com>
References: <49ckli5m0va8d8uionrhspubc1v8b32qri@4ax.com> <ujf5fs$7tu8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="bf49901fd33ef1919e0ddb144824cc7f";
logging-data="386912"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19E03Gi8cYvML0MbTKn028r"
Cancel-Lock: sha1:E0qIQFAAZuGqCePpNV1KMTxYYaA=
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)
 by: Helmut Giese - Mon, 20 Nov 2023 15:01 UTC

Hi Rich, hi Harald,
many thanks to both of you. I think I'll have a shot at it.
Best regards
Helmut

Re: Build instructions for androwish?

<ujfv4j$c7hr$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12806&group=comp.lang.tcl#12806

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: Build instructions for androwish?
Date: Mon, 20 Nov 2023 15:48:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <ujfv4j$c7hr$2@dont-email.me>
References: <49ckli5m0va8d8uionrhspubc1v8b32qri@4ax.com>
Injection-Date: Mon, 20 Nov 2023 15:48:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b132caf9042c68abae35a68807001fd8";
logging-data="400955"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fsfhTHbmygGQMqDKf1TEK"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.117 (x86_64))
Cancel-Lock: sha1:S4yylkFNENfZggmEpkPjGAqYQ9M=
 by: Rich - Mon, 20 Nov 2023 15:48 UTC

Helmut Giese <hgiese@ratiosoft.com> wrote:
> Hello out there,
> I am (very) old school and although I own a mobile phone I use it
> almost exclusively as a phone and checking SMS (for online banking).
> Nevertheless I want to port an app to an android phone - it's for my
> (still older) mother.
> I found androwish and several old build instructions, which (for me)
> look complicated - to say the least.
> Q: What is the current way to get a Tcl program via androwish onto an
> android phone?
> Any link or tip will be highly appreciated
> Best regards
> Helmut

Also, I just remembered that there is also an Androwish API call that
will add an icon to the phone launcher that launches a plain Tcl script
sitting somewhere in the phone filesystem.

https://www.androwish.org/home/wiki?name=Android+facilities

borg shortcut add name-of-shortcut script-to-run ?png-icon-as-base-64-string?

I use this for one very small simple script I have on my phone,
Depending upon what you want this app to do, this might work. There
are limitations, one being that the script runs as the main androwish
app install id, and so you don't get private storage for the script,
just access to the androwish interpreters storage. This may, or may
not, be an issue for what you want to do.

It also means you'll have an "androwish" app in the full list of
installed apps (instead of an app with the name of your custom app) and
so you might have to instruct curious lookers to "not delete" that app.

Re: Build instructions for androwish?

<ujgki5$ftm6$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12807&group=comp.lang.tcl#12807

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: et99@rocketship1.me (et99)
Newsgroups: comp.lang.tcl
Subject: Re: Build instructions for androwish?
Date: Mon, 20 Nov 2023 13:54:13 -0800
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <ujgki5$ftm6$1@dont-email.me>
References: <49ckli5m0va8d8uionrhspubc1v8b32qri@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 20 Nov 2023 21:54:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1701af48c9c83bba6c632717b6efd001";
logging-data="521926"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18njr77n460pY8jSIQrbcWi"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:er17lm/Y9zaBwp4LWVAEY06eU6A=
Content-Language: en-US
In-Reply-To: <49ckli5m0va8d8uionrhspubc1v8b32qri@4ax.com>
 by: et99 - Mon, 20 Nov 2023 21:54 UTC

On 11/19/2023 8:14 AM, Helmut Giese wrote:
> Hello out there,
> I am (very) old school and although I own a mobile phone I use it
> almost exclusively as a phone and checking SMS (for online banking).
> Nevertheless I want to port an app to an android phone - it's for my
> (still older) mother.
> I found androwish and several old build instructions, which (for me)
> look complicated - to say the least.
> Q: What is the current way to get a Tcl program via androwish onto an
> android phone?
> Any link or tip will be highly appreciated
> Best regards
> Helmut

I use an androwish debug signed file from here:

https://www.androwish.org/download/index.html

I download a file (e.g. AndroWish-c48f047f5b-debug.apk) from there and get it onto my phone/tablet sd card where I then use a file manager, (mine is MiXplorer) to locate the .apk file and tap on it; the option of installing it is given. I might have had to setup something to allow that, but I forget.

Then, I find androwish in my apps drawer and run it. It starts up in a console window. You have the console menu with a source command and this is where I follow the instructions by JM "Sample set of rc files" to setup a .wishrc file that androwish will thereafter use automatically on startup.

see here: "Sample set of rc files" by JM on

https://wiki.tcl-lang.org/page/AndroWish%3A+Tips+and+Tricks

The above is old, so I don't know if it's still correct. But it doesn't require me to know how to build an android app.

In my case, I have a .wishrc file with code that looks in a subfolder of my home directory for *.tcl and creates a matrix of buttons to launch them. So, it's a 2 step process for me. But I can then just add new programs by copying them to that folder.

The key concept here is that you need to copy a file .wishrc to a protected directory and that can only be done using androwish itself, hence his init step.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor