Re: [Csnd-dev] New beta release of the Csound for Android app

Michael Gogins <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CAFswGP09_2Dga3ajEO8Ap-RcYn7J2MrBGme5xR2iQcHkK76Z1w@mail.gmail.com>
13 should work, I will emulate a Pixel running 13. Did you make sure to set
the port and Web directory in the app settings? This is now required.

On Sun, Nov 3, 2024, 15:24 Arthur Hunkins <
[email protected]> wrote:

> Hi, Mike -
>
> I tried your new beta version on two Android phones: my old OS 7.1.1
> (Nexus 2) and my wife's recent OS 13 (a Pixel I think). The HTML examples
> didn't work on each, with the following error message:
> WebView error for http://localhost:8080/message.html from
> http://localhost:8080/message.html!
> net:ERR_EMPTY_RESPONSE
>
> (Other .csd's ran relatively well on each phone.) Probably doesn't help
> you much.
>
> Art H.
>
> [email protected]
> http://www.arthunkins.com
> ------------------------------
> *From:* Csound-developers <[email protected]> on behalf of
> Michael Gogins <[email protected]>
> *Sent:* Friday, November 1, 2024 8:24 PM
> *To:* [email protected] <[email protected]>
> *Subject:* [Csnd-dev] New beta release of the Csound for Android app
>
> You can download the .apk from GitHub here (
> https://github.com/gogins/csound-android/releases/tag/v48beta) and copy
> it to your device, then install it.
>
> The reason for this release is that I just upgraded my smartphone to a
> Samsung S24 Ultra and found that the Csound for Android app would no longer
> run HTML pieces, although all the other examples in the app seemed to play
> properly.
>
> After researching the problem, I decided to rewrite the HTML running part
> of the app to use a localhost Web server embedded in the app, with a
> user-configurable port and Web directory. This seems to handle the
> increasing restrictions that Google has placed on Android's use of the
> device filesystem, and in particular, on the ability of the WebView
> component to load resources from the device filesystem.
>
> The app now seems to play HTML pieces without problems. I have tested this
> on my phone and on emulators for various versions of Android. I do not know
> how far back compatibility with earlier versions of Android goes. I would
> appreciate any feedback on this or on any other issue or suggestion.
>
> In the not too distant future I may be able, with these changes, to get
> the Csound for Android app back into the Google Play Store.
>
> Regards,
> Mike
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.