Could we make a local File Server with LiveCode?

The place to discuss anything and everything about running your LiveCode on Android

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
capellan
Posts: 638
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Could we make a local File Server with LiveCode?

Post by capellan » Thu Apr 25, 2019 3:18 pm

Hi All,

After reading many forum threads and mail list
messages, I could not find a definitive answer:
Could we make a local File Server with LiveCode?

The setup for this local File server is the following:

1) The Teacher connect a wifi modem in the classroom

2) Then, the Teacher connects his phone to this wifi modem
and open the LC Server App.

3) Students connect to the wifi modem and open their
Client App

4) Students connect to the Teacher's LC local File server.

5) Students download and upload files to the Teacher
local File Server running in the Android phone.

In the phone where I am testing this, I have installed
an App named OS Monitor that allows to see all open
ports in the phone. (Google apps opens a lot of ports!)

https://play.google.com/store/apps/deta ... itor&hl=en

Does anyone remember a similar project made with LiveCode?
Which difficult problems could I find in this project?
Thanks in advance!

Al

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 8428
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Could we make a local File Server with LiveCode?

Post by FourthWorld » Thu Apr 25, 2019 4:30 pm

Custom implemenations of servers of nearly any type:

Possible? Yes.
Optimal? Unlikely.
Desirable? Maybe, depending on task specifics.

What would be the advantage giving students direct write access to a teacher's phone as opposed to using an existing file sync service like Google Drive, Dropbox, Nextcloud, etc?
Richard Gaskin
LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

capellan
Posts: 638
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: Could we make a local File Server with LiveCode?

Post by capellan » Thu Apr 25, 2019 9:10 pm

The classroom do not have internet access

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 8428
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Could we make a local File Server with LiveCode?

Post by FourthWorld » Fri Apr 26, 2019 1:00 am

Maybe a spare laptop running Nextcloud?

You could write one custom in LC, but it's a lot of work.

And I wouldn't recommend using the teacher's phone as the file repository.
Richard Gaskin
LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

capellan
Posts: 638
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: Could we make a local File Server with LiveCode?

Post by capellan » Fri Apr 26, 2019 1:24 am

An old laptop could work as a server too
so I will try this second option as well.

Al

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 8428
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Could we make a local File Server with LiveCode?

Post by FourthWorld » Fri Apr 26, 2019 2:55 am

With a spare computer and a little time, you can bring the best of the Internet into the classroom by building your own Internet-in-a-Box:
https://meta.wikimedia.org/wiki/Internet-in-a-Box
Richard Gaskin
LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Android Deployment”