Search found 280 matches

by PEB
Sun Mar 29, 2020 11:22 pm
Forum: Hollywood bugs
Topic: Network Timeout When Connecting To An Android Server
Replies: 8
Views: 282

Re: Network Timeout When Connecting To An Android Server

I tested it on my wife's Samsung, and it worked immediately. (That was exciting.) On my Android tablet (where the test failed consistently before), running LineageOS 15.1, I played around with the security settings (not sure exactly what I was doing), and now the test also works on that tablet! So I...
by PEB
Sun Mar 29, 2020 6:15 pm
Forum: Hollywood bugs
Topic: Network Timeout When Connecting To An Android Server
Replies: 8
Views: 282

Re: Network Timeout When Connecting To An Android Server

That's great! (Thanks for testing.)
So I guess that means it's a firewall issue on my Android device? Any ideas how to change that (assuming that's the problem)?
by PEB
Sun Mar 29, 2020 1:29 am
Forum: Hollywood bugs
Topic: Network Timeout When Connecting To An Android Server
Replies: 8
Views: 282

Re: Network Timeout When Connecting To An Android Server

I suppose it could be an Android Firewall issue. And if that's the case, I'm not sure how/if I can work around it.

Has anyone tried the code at the top of this thread on an Android device? Anyone had success?
by PEB
Sat Mar 28, 2020 5:49 pm
Forum: Hollywood bugs
Topic: Network Timeout When Connecting To An Android Server
Replies: 8
Views: 282

Re: Network Timeout When Connecting To An Android Server

It doesn't let you open a low number port (like 25); but if you let it choose a port, it will open one with a number such as 57016.
by PEB
Wed Mar 25, 2020 3:22 am
Forum: Hollywood bugs
Topic: GetLocalIP() with #NETWORKSERVER
Replies: 1
Views: 169

GetLocalIP() with #NETWORKSERVER

Try this code: CreateServer(1) DebugPrint(GetLocalIP(1, #NETWORKSERVER)) OpenConnection(1, "www.google.com", 80) DebugPrint(GetLocalIP(1, #NETWORKCONNECTION)) Using #NETWORKSERVER always returns "0.0.0.0" whatever machine runs it; but #NETWORKCONNECTION returns the actual local IP address for the ma...
by PEB
Wed Mar 25, 2020 3:16 am
Forum: Hollywood bugs
Topic: Network Timeout When Connecting To An Android Server
Replies: 8
Views: 282

Network Timeout When Connecting To An Android Server

Try this server code: CreateServer(1) SystemRequest("Server", "This is the port: "..GetLocalPort(1, #NETWORKSERVER), "OK") Function p_ClientConnect() SystemRequest("Connection Established", "We have connection!", "OK") EndFunction InstallEventHandler({OnConnect=p_ClientConnect}) Repeat WaitEvent For...
by PEB
Sat Mar 07, 2020 12:52 am
Forum: Hollywood bugs
Topic: Menu Item Toggle State Lost after OpenDisplay()
Replies: 1
Views: 1356

Menu Item Toggle State Lost after OpenDisplay()

The toggle state of the menu item is deselected after OpenDisplay() is called.

Code: Select all

@MENU 1, {{"Test", {{"Toggle", ID="toggle", Flags=#MENUITEM_TOGGLE}}}}
@DISPLAY {Menu=1}

SelectMenuItem(1, "toggle")

WaitLeftMouse()
CloseDisplay(1)
Wait(40)
OpenDisplay(1)
by PEB
Sat Feb 29, 2020 9:52 pm
Forum: General plugin questions
Topic: hURL High-Level Interface
Replies: 6
Views: 1688

Re: hURL High-Level Interface

I'll give it a try. Thanks for the suggestion.
by PEB
Fri Feb 28, 2020 11:01 pm
Forum: General plugin questions
Topic: hURL High-Level Interface
Replies: 6
Views: 1688

Re: hURL High-Level Interface

What would be the best way to poll for data to be received?
by PEB
Wed Feb 26, 2020 12:17 am
Forum: General plugin questions
Topic: hURL High-Level Interface
Replies: 6
Views: 1688

Re: hURL High-Level Interface

Okay, the limitation that I thought was in SendData() and ReceiveData() seems, instead, to be connected with the OnReceiveData event. The following code works with the standard OpenConnection(), but not when the SSL=True and Adapter="hurl" tags are used: @REQUIRE "hurl", {Link = True} FTPServer$="19...