Search found 283 matches

by PEB
Fri May 01, 2020 5:17 pm
Forum: Newbie questions
Topic: Number to hexStr()
Replies: 3
Views: 741

Re: Number to hexStr()

If you use FormatStr() then you don't need to use HexStr() at all.

Just this:
FormatStr("$%.2x",Value)
by PEB
Tue Apr 21, 2020 3:26 am
Forum: RapaGUI
Topic: HTMLview class (RapaGUI) Missing Function
Replies: 5
Views: 646

Re: HTMLview class (RapaGUI) Missing Function

Yes, I should have specified that I was getting this error on a progam that I made for Android. I did some Google research and found out that this error is caused by changes made in newer versions of Android. Thankfully, there's an easy fix: https://stackoverflow.com/questions/52707918/webview-showi...
by PEB
Mon Apr 20, 2020 3:16 am
Forum: RapaGUI
Topic: HTMLview class (RapaGUI) Missing Function
Replies: 5
Views: 646

HTMLview class (RapaGUI) Missing Function

A webpage that I used to be able to display in RapaGUI using the HTMLview class no longer works. Now I get the following error:
...could not be loaded because:

net::ERR_CLEARTEXT_NOT_PERMITTED
If this is easy enough to support, please add a fix to the next version of RapaGUI.
by PEB
Sun Mar 29, 2020 11:22 pm
Forum: Hollywood bugs
Topic: Network Timeout When Connecting To An Android Server
Replies: 8
Views: 1006

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: 1006

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: 1006

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: 1006

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: 755

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: 1006

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: 2740

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)