Re: Mobile Check Bandwidth Function

2017-07-05 Thread Bob Sneidar via use-livecode
I ran connectivity_PingServer in the message box using do. I am missing the handler dialog_CustomMsg Bob S > On Jul 5, 2017, at 08:08 , Bob Sneidar via use-livecode > wrote: > > I am missing something. This only returns the string sOnLineStatus. And yes I >

Re: Mobile Check Bandwidth Function

2017-07-05 Thread Bob Sneidar via use-livecode
I am missing something. This only returns the string sOnLineStatus. And yes I copied all the script for the other handlers. :-) Bob S > On Jul 4, 2017, at 10:56 , Sannyasin Brahmanathaswami via use-livecode > wrote: > > function connectivity_GetStatus >

Re: Mobile Check Bandwidth Function

2017-07-05 Thread Bob Sneidar via use-livecode
I am getting a reply right away. But this is interesting. I wonder if a similar call can be made to a SQL server? Just knowing I have an internet connection is not enough. I need to know if the SQL server is visible. I also need to know when the network has changed as I reauthenticate when the

Re: Mobile Check Bandwidth Function

2017-07-04 Thread Sannyasin Brahmanathaswami via use-livecode
OK I'm back.. sheesh… Spectrum purchase Time Warner Cable for some Ka bilion dollars and they run our show here now… but it took them four days to figure out that a splice in a wire between our main modem for the enterprise and the router on the street that was probably filling up with water

Re: Mobile Check Bandwidth Function

2017-07-03 Thread Monte Goulding via use-livecode
> On 4 Jul 2017, at 6:50 am, Richard Gaskin via use-livecode > wrote: > > >> And iOS only? What do we do for the other 80% of the world? > > > > Android: > > https://developer.android.com/reference/android/net/ConnectivityManager.html > > > >

Re: Mobile Check Bandwidth Function

2017-07-03 Thread Mark Wieder via use-livecode
On 07/03/2017 01:50 PM, Richard Gaskin via use-livecode wrote: I figured there was a parallel API for Android. I guess my question was when we might see feature completion on the script access for that in LC. ...and thus my snarky comment about the "iphone" naming. -- Mark Wieder

Re: Mobile Check Bandwidth Function

2017-07-03 Thread Richard Gaskin via use-livecode
Mark Wieder wrote: > On 07/03/2017 09:35 AM, Richard Gaskin via use-livecode wrote: > >> "reachability"? Whiskey Tango Foxtrot? I'd love to hear the >> backstory on that name choice. It has the scent of things like >> "srcBic", adopted from the arbitrary choices of neckbeards who >> define OS

Re: Mobile Check Bandwidth Function

2017-07-03 Thread Mark Wieder via use-livecode
On 07/03/2017 09:35 AM, Richard Gaskin via use-livecode wrote: "reachability"? Whiskey Tango Foxtrot? I'd love to hear the backstory on that name choice. It has the scent of things like "srcBic", adopted from the arbitrary choices of neckbeards who define OS APIs. Maybe there's an API for

Re: Mobile Check Bandwidth Function

2017-07-03 Thread Bob Sneidar via use-livecode
+5 > On Jul 3, 2017, at 09:35 , Richard Gaskin via use-livecode > wrote: > > Thanks. > > "reachability"? Whiskey Tango Foxtrot? I'd love to hear the backstory on > that name choice. It has the scent of things like "srcBic", adopted from the > arbitrary

Re: Mobile Check Bandwidth Function

2017-07-03 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: >> On Jul 3, 2017, at 07:48 , Richard Gaskin wrote: >> >> I could have sworn there was a message named something like >> networkConnetionChanged or mobileNetworkChanged or >> mobileNetworkInterfaceChanged or whatever, but searching through >> the Dictionary for every part of

Re: Mobile Check Bandwidth Function

2017-07-03 Thread Bob Sneidar via use-livecode
Here is where a C applet would come in handy. Is it possible to have a C applet running that would be able to tell the LC engine that the network had changed? Otherwise, it would be REALLY USEFUL for a database application to "know" this. Bob S

Re: Mobile Check Bandwidth Function

2017-07-03 Thread Bob Sneidar via use-livecode
reachabilityChanged (for iOS only???) Bob S > On Jul 3, 2017, at 07:48 , Richard Gaskin via use-livecode > wrote: > > I could have sworn there was a message named something like > networkConnetionChanged or mobileNetworkChanged or >

Re: Mobile Check Bandwidth Function

2017-07-03 Thread Bob Sneidar via use-livecode
Ping will not work. Some firewalls will prevent ICMP packets to and or from a source. If this library is to be used universally, you need a better method to determine if a device is responding on a known port. The tried and true method for doing this is telnet. Unfortunately, Microsoft

Re: Mobile Check Bandwidth Function

2017-07-03 Thread Richard Gaskin via use-livecode
Peter Bogdanoff wrote: > Can anyone share their "test bandwidth" library? I could have sworn there was a message named something like networkConnetionChanged or mobileNetworkChanged or mobileNetworkInterfaceChanged or whatever, but searching through the Dictionary for every part of that I can

Re: Mobile Check Bandwidth Function

2017-07-03 Thread axwald via use-livecode
evolution.278305.n4.nabble.com/Mobile-Check-Bandwidth-Function-tp4716503p4716511.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscrib

Re: Mobile Check Bandwidth Function

2017-07-02 Thread Peter Bogdanoff via use-livecode
In iOS, Settings/Cellular/Cellular Data there is on/off switch. pb On Jul 2, 2017, at 9:16 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Good thoughts, > > Spotify actually will inform you that you don't have a connection even if you > have 3G up..

Re: Mobile Check Bandwidth Function

2017-07-02 Thread Sannyasin Brahmanathaswami via use-livecode
Good thoughts, Spotify actually will inform you that you don't have a connection even if you have 3G up.. I would like to know how they do that.. because my app *can* ping our server over 3G… but Spotify deems the connection insufficient to stream music and displays the "disconnected"

Re: Mobile Check Bandwidth Function

2017-07-02 Thread Peter Bogdanoff via use-livecode
I’m also very interested in this. I’m thinking that it might be possible to use a LC-only method: 1. A player control starts downloading a known-size media file. 2. The player reports when its is no longer “loading,” then you calculate the data rate based on the elapsed time. (In LC for

Mobile Check Bandwidth Function

2017-07-02 Thread Sannyasin Brahmanathaswami via use-livecode
Can anyone share their "test bandwidth" library? I'm looking for both 1) this phone is off line --easy enough… ping your server, no response, = off line 2) check for bandwidth speed below some threshold and then inform user -- be patient, your internet speed is slow, this may take