Re: tsNetGet() on android

2023-08-06 Thread scott--- via use-livecode
@Mark:  I thought that “http” being reported in the error was weird when the 
constant used “https” but what do I know.

@Jacque:  Nailed it!  Works as expected now. (Forehead slap was gentle but firm)

Thank you both!
—
Scott

> On Aug 6, 2023, at 7:29 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 8/6/23 18:04, scott--- via use-livecode wrote:
>> I’m having difficulty using a LiveCode-created android app to read a  (4.7 
>> KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the 
>> app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) 
>> I don’t actually think this is a tsNet issue since I had previously been 
>> using “load URL” syntax and that failed on android as well.  The URL I am 
>> attempting to read is:
>> constant 
>> kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt";
>> (I have tried variations using  http:// ,  www.  and also,  not using a 
>> constant)
>> The call to tsNet is formatted:
>> put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into 
>> tResult
>> The (curl?) error I am getting from tsNet is:
>> tsneterr: (6) Could not resolve host: elementarysoftware.com 
>> 
>> This seems like such a simple thing, so I’m hoping for an idea from the 
>> collective. (After which I will slap my forehead and say, “Duh!”)
> 
> Your constant uses "https" but the error message says "http"?
> That's weird.
> Have you tried using 192.99.207.157 instead? That should eliminate dns as a 
> variable.
> 
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 


> 
> It might be due to a insidious trick that caught me out. It also caught the 
> person who helped me, who said he only knew about it because it got him too.
> 
> I assume you already have the right inclusions, but you may have missed the 
> permissions checkbox in the Android pane of standalone settings. There's an 
> Internet permission in there. Surprise!
> 
> If that isn't the problem then...um...?
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.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: tsNetGet() on android

2023-08-06 Thread Mark Wieder via use-livecode

On 8/6/23 18:04, scott--- via use-livecode wrote:

I’m having difficulty using a LiveCode-created android app to read a  (4.7 KB) 
UTF-8 encoded text file off my server. Desktop and iOS versions of the app have 
no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) I don’t 
actually think this is a tsNet issue since I had previously been using “load 
URL” syntax and that failed on android as well.  The URL I am attempting to 
read is:

constant 
kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt";

(I have tried variations using  http:// ,  www.  and also,  not using a 
constant)

The call to tsNet is formatted:

put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into tResult

The (curl?) error I am getting from tsNet is:

tsneterr: (6) Could not resolve host: elementarysoftware.com 


This seems like such a simple thing, so I’m hoping for an idea from the 
collective. (After which I will slap my forehead and say, “Duh!”)


Your constant uses "https" but the error message says "http"?
That's weird.
Have you tried using 192.99.207.157 instead? That should eliminate dns 
as a variable.



--
 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: tsNetGet() on android

2023-08-06 Thread J. Landman Gay via use-livecode
It might be due to a insidious trick that caught me out. It also caught the 
person who helped me, who said he only knew about it because it got him too.


I assume you already have the right inclusions, but you may have missed the 
permissions checkbox in the Android pane of standalone settings. There's an 
Internet permission in there. Surprise!


If that isn't the problem then...um...?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 6, 2023 8:06:36 PM scott--- via use-livecode 
 wrote:


I’m having difficulty using a LiveCode-created android app to read a  (4.7 
KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the 
app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business 
Edition) I don’t actually think this is a tsNet issue since I had 
previously been using “load URL” syntax and that failed on android as well. 
 The URL I am attempting to read is:


constant 
kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt";


(I have tried variations using  http:// ,  www.  and also,  not using a 
constant)


The call to tsNet is formatted:

put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into 
tResult


The (curl?) error I am getting from tsNet is:

tsneterr: (6) Could not resolve host: elementarysoftware.com 



This seems like such a simple thing, so I’m hoping for an idea from the 
collective. (After which I will slap my forehead and say, “Duh!”)


--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--








___
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


tsNetGet() on android

2023-08-06 Thread scott--- via use-livecode
I’m having difficulty using a LiveCode-created android app to read a  (4.7 KB) 
UTF-8 encoded text file off my server. Desktop and iOS versions of the app have 
no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) I don’t 
actually think this is a tsNet issue since I had previously been using “load 
URL” syntax and that failed on android as well.  The URL I am attempting to 
read is:

constant 
kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt";

(I have tried variations using  http:// ,  www.  and also,  not using a 
constant)

The call to tsNet is formatted:

put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into tResult

The (curl?) error I am getting from tsNet is:

tsneterr: (6) Could not resolve host: elementarysoftware.com 


This seems like such a simple thing, so I’m hoping for an idea from the 
collective. (After which I will slap my forehead and say, “Duh!”)

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--








___
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