Re: [Csnd-dev] New beta release of the Csound for Android app
Arthur Hunkins <[email protected]>
| Newsgroups | gmane.comp.audio.csound.devel |
|---|---|
| Message-ID | <CO6PR14MB43054D46F94124C870ED60EBA3502@CO6PR14MB4305.namprd14.prod.outlook.com> |
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