Search found 872 matches
- Thu Oct 26, 2023 5:11 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Array referencing
- Replies: 22
- Views: 64042
Array referencing
Hello. Small problem that gives me a headache: I save values in array like put "Regular" into gPrefTF[gSport]["setting"]["DEFAdvantage"] Now, the script in some cases needs to change the array path of "DEFAdvantage" to something like this: put "Regular" into gPrefTF["gPrefTvBox"]["gPrefTF"][gSport][...
- Thu Oct 26, 2023 11:28 am
- Forum: Software Engineering
- Topic: Run the same stack from two LC installs
- Replies: 22
- Views: 66883
Re: Run the same stack from two LC installs
As you already have a client/server running between the two computers, can you not after a save on one computer send a "saved" message and have the second computer on receiving this message action a revert command to keep both in sync? The two LC are not always connected and debugging the connectio...
- Tue Oct 24, 2023 2:58 pm
- Forum: Software Engineering
- Topic: Run the same stack from two LC installs
- Replies: 22
- Views: 66883
Re: Run the same stack from two LC installs
Machine A will not know about machine B's changes and vice versa. If machine A saves its changes, and then machine B saves its changes, machine A's changes will be lost. I think you got the point. Too bad. I guess that this thing, that would also allow multiple developers to work on the same projec...
- Tue Oct 24, 2023 12:23 pm
- Forum: Software Engineering
- Topic: Run the same stack from two LC installs
- Replies: 22
- Views: 66883
Run the same stack from two LC installs
Hello. My standalone acts as a socket client or as a server: the standalone in a cell phone, opens a connection to the same version of the standalone in a TvBox and the twos talk to each other (communication scripts are on 2 substacks, server substack and client substack). In order to debug my scrip...
- Wed Oct 11, 2023 9:02 am
- Forum: Using Externals
- Topic: Tree View widget: scrolling on mobile
- Replies: 0
- Views: 165857
Tree View widget: scrolling on mobile
Hello. My Tree View widget, when unfolded, can be quite high (several pages) and I noticed that the vertical scroll on mobile (iOS and Android) does not perform very well: you can only use a slim side bar and is a little slow. I was wondering if it will work creating a mobile scroller (that is, putt...
- Wed Oct 11, 2023 8:41 am
- Forum: Internet
- Topic: Discover hotspot IP number
- Replies: 2
- Views: 3187
Re: Discover hotspot IP number
Hello. Can you clarify or give some hints on how to apply the Multicast DNS on mobile with Livecode? One similar approach would be, on app launch, that every device communicate its IP to our web server, linked to a common registration. So, more or less, the client could retrieve the server IP and th...
- Wed Sep 20, 2023 5:43 pm
- Forum: Android Deployment
- Topic: Making Android Native Field Not Opaque
- Replies: 9
- Views: 15911
Re: Making Android Native Field Not Opaque
I hope that in the meantime my grammar has improved and it won't bother you too much. What I consider a bug has been dormant for 2 years now and I'm wondering why no one else has my problem with fields in Android. In my opinion, in order not to cut the text above or below, in Android it is necessary...
- Tue Sep 12, 2023 11:15 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Detect internet connectivity
- Replies: 26
- Views: 14289
Re: Detect internet connectivity
Geee...this thing will never end. I just found out that the command "tsNetSetTimeouts" acts as a timeout setting also for the put URL command (on desktop at least). That is: - disconnect your Mac from any network - place in your script a tsNetSetTimeouts 5, 7000, 7000, 7000, 30, 1000 before calling ...
- Tue Sep 12, 2023 9:49 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Detect internet connectivity
- Replies: 26
- Views: 14289
Re: Detect internet connectivity
resetAll, which may be showstopper for you It is. In my standalone, beside using the remote debugger, I extensively use socket communications, API to Filemaker server and to Microsoft Azure. So a "resetAll" is not a solution for me. In my case also, the code must be blocking (run it all before goin...
- Sun Sep 10, 2023 10:34 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Detect internet connectivity
- Replies: 26
- Views: 14289
Re: Detect internet connectivity
As a proof, if I remove the SIM card from my portable battery powered router, I can still connect to it, from a mobile device, using WiFi. NetworksInterfaces return the the local IP but, obviously, it is not connected to the web.this does not mean for sure that you are connected to internet
- Sun Sep 10, 2023 10:27 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Detect internet connectivity
- Replies: 26
- Views: 14289
Re: Detect internet connectivity
My knowledge on networks is limited so you will excuse me if I write incorrect explanations. What I don't know is if this will work on Android - may Trevix has already tried this and found networkInterfaces doesn't? (it is supposed to) networkInterfaces works fine on Android, but this funcion is use...
- Sun Sep 10, 2023 9:53 am
- Forum: Android Deployment
- Topic: Billing library update
- Replies: 9
- Views: 4225
Re: Billing library update
In the release notes of LC10 DP6 there is no mention of the billiing library update, as on LC9.6.10. I am already using the SDK version 31. I think there should be some library update to be done in Android studio, but I could not find the correct one and I don't dare to update other stuff ("Google P...
- Sat Sep 09, 2023 11:40 pm
- Forum: Android Deployment
- Topic: Billing library update
- Replies: 9
- Views: 4225
Re: Billing library update
I guess there is some update to be done on the Android studio app, but I don't know which one.
- Sat Sep 09, 2023 11:15 pm
- Forum: Android Deployment
- Topic: Billing library update
- Replies: 9
- Views: 4225
Re: Billing library update
Hello. I read that on LC 9.6.9 the problem with google billing library was fixed. I assumed that this was also the case for LC 10 dp6 but, apparently, this is not the case. I tried to install my standalone on a Android 13 hardware device and today I got the following failure. Schermata 2023-09-09 al...
- Sat Sep 09, 2023 2:51 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Detect internet connectivity
- Replies: 26
- Views: 14289
Re: Detect internet connectivity
I am on OSX Monterey, LC 10 DP6 This is my test connection stack. Just open it with LC. Your code is in Button 6. recipe: connect you mac to wifi click on btn 6 expected result: the external IP observed result: the external IP Now turn off wifi. click on btn 6 (and be patient) expected result: no co...