httpd library

Andre Garzia andre at andregarzia.com
Sun Jul 25 18:18:41 EDT 2021


Just an update, the httpd library works on mobile. The httpd library I’m mentioning here is the one bundled with LiveCode. I think Malte built it, it is very similar to the one I built in the past but I am sure it is a bit smarter.

I’ve created a demo stack at: https://andregarzia.com/files/mobile-web-server-test.livecode.gz <https://andregarzia.com/files/mobile-web-server-test.livecode.gz> that I tested on Android (on a real device) and on the iPhone Simulator on my macOS, both worked.

Apparently there is a bug in the 9.6.3-rc-2. If you set “allow http connections” on Android, it fails to build the app. I had to go to the custom properties editor to delete that prop manually because I couldn’t edit it on the standalone application settings after first trying to use it.

Hope this helps Bernard.

> On 25 Jul 2021, at 22:30, Andre Garzia <andre at andregarzia.com> wrote:
> 
> I love when you folks call me a young man :-) I’ve been 41 for a while now and no one asks for my ID when I buy a beer anymore.
> 
> Well, back on topic, is there something wrong with the HTTPD library that LiveCode ships right now? It should serve for the purposes your friend wants.
> 
> I’m going to test it here to see if works (because I’m curious) and get back to this list with results.
> 
> Best
> A
> 
>> On 25 Jul 2021, at 18:50, Bernard Devlin via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Hi Rick
>> 
>> Normally I'd agree with you (ever since Andre piped-up as a young man
>> saying he was building a webserver in Livecode, I've thought "just use one
>> of the many available webservers..")
>> 
>> However this user wants this running on a mobile device.  So he either
>> gives up that idea or he starts going down the path of httpd.mc or Andre's
>> webserver.
>> 
>> I was just trying to save him all the work that other's have done before.
>> 
>> Regards, Bernard
>> 
>> On Sun, Jul 25, 2021 at 4:42 PM Rick Harrison via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>> 
>>> Hi Bernard,
>>> 
>>> The user should set up an LC Web Server with a database connected to it.
>>> 
>>> The LC Apps should all then send information to the LC Server, and the
>>> Server
>>> will send information back to the LC Apps.
>>> 
>>> I think any other way is going to be a huge waste of time and energy.
>>> 
>>> Good luck,
>>> 
>>> Rick
>>> 
>>> 
>>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 




More information about the use-livecode mailing list