Re: LC iOS Command 'mergPopActivity'

2020-10-21 Thread Bernard Devlin via use-livecode
Hi Graham

I wondered if this information is of use.  URL calls are not limited to
"http://;.

Having a LC app respond to a URL call:
http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes

Apps and their URL schemas:
https://ios.gadgethacks.com/news/always-updated-list-ios-app-url-scheme-names-0184033/

Regards
Bernard

On Wed, Oct 21, 2020 at 4:33 PM Graham Samuel via use-livecode <
use-livecode@lists.runrev.com> wrote:

So far I have not found out how to invoke another app directly from inside
> an iOS app, although I think I can invoke a browser using a URL. Perhaps
> this is easier than I thought. Will report.
>
> Graham
>
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Websockets

2020-10-21 Thread Tom Glod via use-livecode
Thank You Mark for the hint. I will ask him about it.

Richard, I hear what you are saying, its not absolutely necessary to get
things done.
Its just I am researching the most efficient mode of communication between
a LC stack and a binary written in Go.  A lot of Go Libraries have
websocket support.  So naturally I wanted to test it as part of my
research.  I'm using LC as a UI layer for a backend written in Go (needed
insane concurrency for accessing web apis on a separate CPU process and
core and only do UI with LC.).
This is still a research piece at the moment, not implementing anything yet.
Thanks for your thoughts.




On Wed, Oct 21, 2020 at 1:01 PM Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 10/21/20 7:09 AM, Tom Glod via use-livecode wrote:
> > Hi Livecoders,
> >
> > Does anyone know if there are any plans for introducing websockets to
> > livecode?
> >
> > Or if there are any working 3rd party implementations that are available?
> >
> > its been a lot of years.
> >
> > Thanks,
> >
>
> Charles Warwick has something in the oven. Might be worth pinging him to
> see what the status of that is.
>
> --
>   Mark Wieder
>   ahsoftw...@gmail.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode Podcast Player

2020-10-21 Thread JeeJeeStudio via use-livecode
You've just hijacked someone's thread...you said something last time. It's
now a totally different subject.
But nevertheless I total agree with what you just said.

Op wo 21 okt. 2020 17:46 schreef Pi Digital via use-livecode <
use-livecode@lists.runrev.com>:

> I’m going to chime in, not to discredit anyone else or their comments,
> only to voice a reason I personally feel is far more needed and worthwhile.
>
> Before any of what has been suggested being carried out, as lovely as it
> all would be, getting the dictionary and the guide usable and
> accurate/up-to-date would be of greater importance. Especially for the
> modern and recent modifications. But even simple stuff that has been
> altered in tiny ways has not been touched in the guide for an age.
>
> My point is, there is no point in introducing and inviting new users to a
> product that becomes difficult to use because documentation is out of date
> and not matching in appearance or fiction to what is described. Sure a
> community can advise those ones of workarounds and correct usage. But
> that’s just pathetic and should be unnecessary. And you all know my
> opinions on workarounds.
>
> My ethos, fix what we have, don’t introduce more problems.
>
> Sean Cole
> Pi Digital
>
>
> > On 21 Oct 2020, at 14:31, David Bovill via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Does anyone have a stack that plays audio podcasts?
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Websockets

2020-10-21 Thread Mark Wieder via use-livecode

On 10/21/20 7:09 AM, Tom Glod via use-livecode wrote:

Hi Livecoders,

Does anyone know if there are any plans for introducing websockets to
livecode?

Or if there are any working 3rd party implementations that are available?

its been a lot of years.

Thanks,



Charles Warwick has something in the oven. Might be worth pinging him to 
see what the status of that is.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode Podcast Player

2020-10-21 Thread ELS Prothero via use-livecode
Sean,
Amen on making the guide searchable. I find it useless. A challenge for me is 
solving problems that are beyond the basic level covered in the dictionary. 
Usually I can find help using google searching, though.

Keeping all the help docs up to date is a big task, but vital for growing the 
community.

Best,
Bill

William Prothero
http://es.earthednet.org

> On Oct 21, 2020, at 9:04 AM, Pi Digital via use-livecode 
>  wrote:
> 
> Maybe that’s what we can all contribute. Get assigned a section of the guide 
> and rewrite it. Submit, revise and add to the guide. 
> 
> And rewrite a better built in guide viewer. One that is searchable at the 
> very least. And doesn’t take an age to load each section. 
> 
> Sean Cole
> Pi Digital
> 
> 
>> On 21 Oct 2020, at 16:45, Pi Digital  wrote:
>> 
>> I’m going to chime in, not to discredit anyone else or their comments, only 
>> to voice a reason I personally feel is far more needed and worthwhile. 
>> 
>> Before any of what has been suggested being carried out, as lovely as it all 
>> would be, getting the dictionary and the guide usable and 
>> accurate/up-to-date would be of greater importance. Especially for the 
>> modern and recent modifications. But even simple stuff that has been altered 
>> in tiny ways has not been touched in the guide for an age. 
>> 
>> My point is, there is no point in introducing and inviting new users to a 
>> product that becomes difficult to use because documentation is out of date 
>> and not matching in appearance or fiction to what is described. Sure a 
>> community can advise those ones of workarounds and correct usage. But that’s 
>> just pathetic and should be unnecessary. And you all know my opinions on 
>> workarounds. 
>> 
>> My ethos, fix what we have, don’t introduce more problems. 
>> 
>> Sean Cole
>> Pi Digital
>> 
>> 
> On 21 Oct 2020, at 14:31, David Bovill via use-livecode 
>  wrote:
> 
>>> Does anyone have a stack that plays audio podcasts?
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode Podcast Player

2020-10-21 Thread Pi Digital via use-livecode
Maybe that’s what we can all contribute. Get assigned a section of the guide 
and rewrite it. Submit, revise and add to the guide. 

And rewrite a better built in guide viewer. One that is searchable at the very 
least. And doesn’t take an age to load each section. 

Sean Cole
Pi Digital


> On 21 Oct 2020, at 16:45, Pi Digital  wrote:
> 
> I’m going to chime in, not to discredit anyone else or their comments, only 
> to voice a reason I personally feel is far more needed and worthwhile. 
> 
> Before any of what has been suggested being carried out, as lovely as it all 
> would be, getting the dictionary and the guide usable and accurate/up-to-date 
> would be of greater importance. Especially for the modern and recent 
> modifications. But even simple stuff that has been altered in tiny ways has 
> not been touched in the guide for an age. 
> 
> My point is, there is no point in introducing and inviting new users to a 
> product that becomes difficult to use because documentation is out of date 
> and not matching in appearance or fiction to what is described. Sure a 
> community can advise those ones of workarounds and correct usage. But that’s 
> just pathetic and should be unnecessary. And you all know my opinions on 
> workarounds. 
> 
> My ethos, fix what we have, don’t introduce more problems. 
> 
> Sean Cole
> Pi Digital
> 
> 
>>> On 21 Oct 2020, at 14:31, David Bovill via use-livecode 
>>>  wrote:
>>> 
>> Does anyone have a stack that plays audio podcasts?
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode Podcast Player

2020-10-21 Thread Pi Digital via use-livecode
I’m going to chime in, not to discredit anyone else or their comments, only to 
voice a reason I personally feel is far more needed and worthwhile. 

Before any of what has been suggested being carried out, as lovely as it all 
would be, getting the dictionary and the guide usable and accurate/up-to-date 
would be of greater importance. Especially for the modern and recent 
modifications. But even simple stuff that has been altered in tiny ways has not 
been touched in the guide for an age. 

My point is, there is no point in introducing and inviting new users to a 
product that becomes difficult to use because documentation is out of date and 
not matching in appearance or fiction to what is described. Sure a community 
can advise those ones of workarounds and correct usage. But that’s just 
pathetic and should be unnecessary. And you all know my opinions on 
workarounds. 

My ethos, fix what we have, don’t introduce more problems. 

Sean Cole
Pi Digital


> On 21 Oct 2020, at 14:31, David Bovill via use-livecode 
>  wrote:
> 
> Does anyone have a stack that plays audio podcasts?
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Websockets

2020-10-21 Thread Richard Gaskin via use-livecode

Tom Glod wrote:

> Does anyone know if there are any plans for introducing websockets
> to livecode?

I've not seen any indication of a commitment to add websockets to LC.

Websockets were added to browsers to provide a constrained way to allow 
persistent connections without exposing web pages to regular sockets.


Since LC already supports regular sockets, even secure sockets, the 
value of websockets appears limited to attempting to use web services 
for the the provider has expressed a desire that they only be accessed 
by web pages (if they want to support native clients why not also use 
regular sockets?).


Is there another use-case I haven't considered?

I've found myself wanting this myself now and then, but I have to admit 
mostly just for the sake of completeness; I haven't come across a 
specific need for it in the work I've been doing.


If you have it would be valuable to learn the details so we can better 
assess how it may be prioritized, or perhaps toss some funding together 
for an implementation.



> Or if there are any working 3rd party implementations that are
> available?

LC Builder was delivered as the bridge for writing our own scripting 
interfaces for binary APKs.  This would seem a good fit for that, no?



> its been a lot of years.

Since what?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC iOS Command 'mergPopActivity'

2020-10-21 Thread Graham Samuel via use-livecode
A little progress report.

Elanor has come up with a solid answer to my original question, which was how 
to use the mergPopActivity command to break out of an iOS app sandbox by 
offering a file to the external world (such as the “Files” folder) on iOS 
systems. Basically, if you put a file in say the documents folder within your 
app and make a path tPath to it, then if the file’s name is in tFileName,
   mergPopActivity tFileName,,("file:" & tPath)

will open the model window and allow the user to put the file into “Files” 
folder, email it etc

So far I have not found out how to invoke another app directly from inside an 
iOS app, although I think I can invoke a browser using a URL. Perhaps this is 
easier than I thought. Will report.

Graham



> On 19 Oct 2020, at 11:14, Graham Samuel via use-livecode 
>  wrote:
> 
> Thanks very much for that. Sadly on a first look, in this particular case 
> there is little or no additional detail about the command. Nevertheless I 
> think there should be a link to the Merg web site in the LC Dictionary itself.
> 
> I rely heavily on the Dictionary, and only venture elsewhere when I am 
> completely foxed, as with iOS Deployment, for me a nightmare compared with 
> simply coding and debugging.
> 
> It is also true that the Simulator is very limited, in particular in showing 
> what’s happening when things go wrong (silent failure being a factor which 
> has bitten me several times). Under the Simulator, my GPS-related app can 
> only use a couple of limited examples built in to Xcode.
> 
> Probably there is a way to roll your own, but only in the monstrous xCode 
> universe, so very different from the familiar environment of LC. I am really 
> too old to start learning all that stuff. Apart though from my own bruised 
> ego, there is the issue of one of the key USPs of LC - simplicity - being 
> damaged by the difficulty of deployment. I’m ranting, I suppose… will study 
> the Merg info, but sadly still need Elanor to ride to the rescue!
> 
> Graham
> 
>> On 19 Oct 2020, at 03:23, Andrew at MidWest Coast Media 
>>  wrote:
>> 
>> The limited documentation is at http://mergext.com/home/mergpop/ 
>> 
>> Glad to hear that Elanor might be working on some more documentation. This 
>> feature (like push notifications and mobile camera) are difficult to test 
>> since the emulator either doesn’t work or has extremely limited 
>> functionality.
>> 
>> I found this code snippet in an old project where I was taking a screenshot 
>> of part of the screen and trying to share to Facebook or Twitter.
>> 
>> export snapshot from rect tExportRect of this card to file tFilePath as PNG
>> 
>> mergPopActivity "Indiana On Tap just hooked me up!",tFilePath,”"
>> 
>> 
>> —Andrew Bell
>> 
>> 
>>> 
>>> Message: 13
>>> Date: Sun, 18 Oct 2020 12:58:50 +0200
>>> From: Graham Samuel mailto:livf...@mac.com>>
>>> To: How to use LiveCode >> >
>>> Subject: LC iOS Command 'mergPopActivity' [was Re: The iOS "Files"
>>> folder]
>>> Message-ID: <769b3120-fcf5-4ecb-9683-ac0a303e2...@mac.com 
>>> >
>>> Content-Type: text/plain;   charset=utf-8
>>> 
>>> I have been trying to use this command, initially to allow an iOS app to 
>>> put something in the ?Files? folder on an iPhone, but I?m now more 
>>> interested in the whole idea of Activity Views and how to exploit them in 
>>> an iOS app. I believe that the LC ?mergPopActivity' command is a wrapper 
>>> for some function in the iOS native universe - connected with 
>>> ?UIActivityViewController', but so far I haven?t worked out which one, 
>>> since I don?t really understand much of Apple?s iOS Developer documentation 
>>> (I always hope that using LC removes the need to do so!).
>>> 
>>> Elanor Buchanan of the mother ship has been extremely helpful about this, 
>>> and has said she hopes to improve the almost non-existent documentation of 
>>> this command, but meanwhile I?m interested if anyone on this list has any 
>>> insights, as I?m quite stuck and don?t want to bug Elanor too much.
>>> 
>>> When you invoke the ?mergPopActivity' command in an LC script, it opens a 
>>> modal window which gives a gateway into services available on your device, 
>>> like email, printing, saving to ?Files?, sending to social media etc - it 
>>> depends on what your device is capable of, and the apps it has loaded; so I 
>>> believe that the LC command essentially implements the ?sharing? activity 
>>> in iOS, which is usually invoked via an icon consisting of a square with a 
>>> North-pointing arrow in it. 
>>> 
>>> So far so good, but I?ve only been able to do one thing so far, which is to 
>>> offer a text string originating in the app to these various services. So 
>>> far I have not been able to find a way to offer a file (for example, a file 
>>> containing a text rather than the text itself - easy to generate within an 
>>> app, but 

Websockets

2020-10-21 Thread Tom Glod via use-livecode
Hi Livecoders,

Does anyone know if there are any plans for introducing websockets to
livecode?

Or if there are any working 3rd party implementations that are available?

its been a lot of years.

Thanks,

-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Livecode Podcast Player

2020-10-21 Thread David Bovill via use-livecode
Does anyone have a stack that plays audio podcasts?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode