Re: Maximum field height?

2020-04-05 Thread J. Landman Gay via use-livecode
On April 5, 2020 8:39:15 PM Alex Tweedly via use-livecode wrote: 1. xTalk features just don't work, or work totally inadequately (e.g. scrolling fields). Somewhat true. LC made a start by adding widgets you can drop onto the stack to create native mobile buttons and fields, but I'd like to

Mobile Wondering

2020-04-05 Thread scott--- via use-livecode
> 1. xTalk features just don't work, or work totally inadequately (e.g. > scrolling fields). I feel this is overly harsh. Livecode fields (and the creation of native UIText fields) do work on mobile. I think the issue is that the use of some objects (like fields) on mobile is not as drag ’n'

Re: Maximum field height?

2020-04-05 Thread JB via use-livecode
It seems if Apple made the iOS compatible with the desktop it would solve a lot of problems. The question is why don’t they make them compatible? Is their some kind of FCC regulation that prevents Apple from using phone apps on the desktop? Back in the HyperCard days there was hyperDialer and I

Re: Maximum field height?

2020-04-05 Thread Alex Tweedly via use-livecode
As I see it, there are 4 broad areas of problem for LC on mobile OSes. The first two have been well described earlier in the thread and should just be fixed. 1. xTalk features just don't work, or work totally inadequately (e.g. scrolling fields). 2. Failure in cross-platform equivalence.

Re: Problems locating Android SDK

2020-04-05 Thread Skip Kimpel via use-livecode
I did an uninstall of the Android Studio and re-installed it. After that, it worked. Go figure! SKIP On Sun, Apr 5, 2020 at 8:55 PM Sannyasin Brahmanathaswami via use-livecode < use-livecode@lists.runrev.com> wrote: > ~/Library/Android/sdk/ > > I don't use virtual machines... I just use my

Re: Problems locating Android SDK

2020-04-05 Thread Sannyasin Brahmanathaswami via use-livecode
~/Library/Android/sdk/ I don't use virtual machines... I just use my MotoG6 on WiFi without a SIM card...USB... it is really fast to build and take one variable out of the equation. (I don't trust the VMs... call me superstitious...) When I an "happy" I put the SivaSiva.ipk on our web

Re: Problems locating Android SDK

2020-04-05 Thread Colin Holgate via use-livecode
You could give the path that you are using. Also, did you have to set up any virtual machines? Long ago LiveCode was only happy if you had an Android 2.2 virtual device. > On Apr 5, 2020, at 6:36 PM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > Mine is working, I'm wondering if

Re: Problems locating Android SDK

2020-04-05 Thread Sannyasin Brahmanathaswami via use-livecode
Mine is working, I'm wondering if I can put it a dropbox for you. (4.6 GB) Or does it put your "machine signature" on it when you install it. I remember having to "down grade it" to build-tools 29.0.01 to get it to be seen by LC, BR On 4/5/20, 12:46 PM, "use-livecode on behalf of Skip

Re: Problems locating Android SDK

2020-04-05 Thread Skip Kimpel via use-livecode
okay, glad it is not just me then. SKIP On Sun, Apr 5, 2020 at 6:29 PM Colin Holgate via use-livecode < use-livecode@lists.runrev.com> wrote: > I manually downloaded Tools from here: > > https://developer.android.com/studio > > And put it into the SDK folder. LiveCode is still not happy. > > >

Re: Problems locating Android SDK

2020-04-05 Thread Colin Holgate via use-livecode
I manually downloaded Tools from here: https://developer.android.com/studio And put it into the SDK folder. LiveCode is still not happy. > On Apr 5, 2020, at 4:09 PM, matthias rebbe via use-livecode > wrote: > > Hi Skip, > > the problem is that Android Studio 3.6.x does not install Android

Re: Getting started with geographical coordinates

2020-04-05 Thread Mark Wieder via use-livecode
On 4/5/20 1:03 PM, Graham Samuel via use-livecode wrote: constant k1 = 0.017453 -- that's pi/180 We're 20 years into the 21st century. Isn't it about time we could type constant k1 = pi/180 -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode

Re: Problems locating Android SDK

2020-04-05 Thread Skip Kimpel via use-livecode
Thank you Matthias, however, I had done that already. Unfortunately, the problem still persists. SKIP On Sun, Apr 5, 2020 at 6:10 PM matthias rebbe via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Skip, > > the problem is that Android Studio 3.6.x does not install Android command

Re: Problems locating Android SDK

2020-04-05 Thread matthias rebbe via use-livecode
Hi Skip, the problem is that Android Studio 3.6.x does not install Android command line tools by default. this is an excerpt of the update LC lesson http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio Update: Android Studio 3.6 has stopped to install the android command

Re: Problems locating Android SDK

2020-04-05 Thread Skip Kimpel via use-livecode
Very helpful, thank you Colin. and I knew it would not be that easy. Now I get a message that says "The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for 9.0 (api 28). I went back into Android Studio and verified the path was

Re: Problems locating Android SDK

2020-04-05 Thread Colin Holgate via use-livecode
In Finder there is a Go menu, in which you can Go to Folder… Then you type in the path to the hidden user library to get there. The same thing works in open dialogs. When you are pointing LiveCode to the Android SDK, type command-shift-g, and put in: ~/Library/Android/sdk/ That path isn’t

Problems locating Android SDK

2020-04-05 Thread Skip Kimpel via use-livecode
I am relatively new to Mac so if this is an easy fix, sorry for asking. I have installed Android Studio and the SDK is located in my user/library directory. I figured out how to reveal the library folder using Finder but when I try to browse to the SDK location in Livecode settings, I am not

Re: Maximum field height?

2020-04-05 Thread Curry Kenworthy via use-livecode
Richard: > Exactly. Reducing the differences between runtime and development > is a cornerstone of The xTalk Way. [...] > Suffice to say politely and succinctly: a decade later, LC for > mobile remains half-baked compared to what it could be, compared > to The xTalk Way that rests at the heart

Re: Maximum field height?

2020-04-05 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > On 4/5/20 1:12 PM, Richard Gaskin via use-livecode wrote: > >> Once I saw that the scroller works well on the field content I've >> been working with, I added a routine to my mobile lib that >> automatically removes the vScrollbar from any non-editable field >> that has

Re: Getting started with geographical coordinates

2020-04-05 Thread Graham Samuel via use-livecode
I’ve been trying these formulae out, and I’ve been using the info on https://www.movable-type.co.uk/scripts/latlong.html - for my purposes (distances from say 100 metres to up to a few kilometers) I think this works as well as haversine, but maybe not for every kind of measurement. The function

Re: Socket Help

2020-04-05 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > I am creating a client/server socket based app and I am trying to > develop both the client and server on the same workstation, and I > am having difficulty. I *think* the issue is that the client and > server cannot both be on the same system, but I’m not entirely sure. >

Re: Socket Help

2020-04-05 Thread Håkan Liljegren via use-livecode
There is no problem running the server and client on the same machine. I've used it for doing elevated services. There is a demo stack for a chat server and client that you can download. I know that helped me a lot when doing my first client server. :-Håkan On 5 Apr 2020, 20:23 +0200, Bob

Re: Socket Help

2020-04-05 Thread Bob Sneidar via use-livecode
Hi Kee. Thanks for the response. I decided to go ahead and bypass the issue of the client and server being on the same device. I got my laptop out and created the server app there. I got it working as advertised. [Technical stuff] One thing I am doing is encrypting the data before sending it.

Speech Synthesis

2020-04-05 Thread Sannyasin Brahmanathaswami via use-livecode
Given the arrival of the Speech Library Something I played with 30 years ago on hypercard manually entering phonemes, to get the computer talk was a fascinating thing. Today, with AI all around us, Speech Sythesis is "everywhere" and very advanced, When we initialize

Re: Maximum field height?

2020-04-05 Thread J. Landman Gay via use-livecode
What I wrote here originally: >  I've switched over to trying a group set as a container and setting > the field itself to scrolling layermode. I haven't tried it yet on > mobile but we'll see. is wrong, the field inside the container group uses dynamic layermode. Scrolling layermode

Re: Socket Help

2020-04-05 Thread Kee Nethery via use-livecode
Here’s how this should work. Server has an IP and port number that it listens on. Client sends a packet from the same IP and some random port. Computer routes the packet and it doesn’t have to send the packet out on the net. It goes out the client port and back in to the server port. Server

Re: Maximum field height?

2020-04-05 Thread J. Landman Gay via use-livecode
On 4/5/20 1:12 PM, Richard Gaskin via use-livecode wrote: Once I saw that the scroller works well on the field content I've been working with, I added a routine to my mobile lib that automatically removes the vScrollbar from any non-editable field that has one, and instantiates a matching

Socket Help

2020-04-05 Thread Bob Sneidar via use-livecode
Hi all. I am creating a client/server socket based app and I am trying to develop both the client and server on the same workstation, and I am having difficulty. I *think* the issue is that the client and server cannot both be on the same system, but I’m not entirely sure. I’m asking the

Re: Go to card has become slow

2020-04-05 Thread Bob Sneidar via use-livecode
I don’t think LC accepts multiple statement transactions at all, does it? Bob S On Apr 5, 2020, at 11:00 AM, doc hawk via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: If server performance is at all an issue, SQLite may be the wrong choice. It has a kind of, very reluctant,

Re: Maximum field height?

2020-04-05 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > On April 5, 2020 12:46:19 PM Richard Gaskin wrote: > >> I've had such good luck so far with using scrollers directly on >> fields that it never occurred to me that accelerated rendering >> would be useful for field objects. > > If you're using a vScrollbar then no

Re: Go to card has become slow

2020-04-05 Thread doc hawk via use-livecode
If server performance is at all an issue, SQLite may be the wrong choice. It has a kind of, very reluctant, simultaneous access that the developers warn you not to use. They suggest PostgreSQL for heavy loads. I use SQLite within the application (the in-memory access is blindingly fast), and

Re: Maximum field height?

2020-04-05 Thread J. Landman Gay via use-livecode
On April 5, 2020 12:46:19 PM Richard Gaskin via use-livecode wrote: I've had such good luck so far with using scrollers directly on fields that it never occurred to me that accelerated rendering would be useful for field objects. If you're using a vScrollbar then no problem. But for swipe

Re: Maximum field height?

2020-04-05 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > @Richard, when developing for desktop you don't need the enclosing > group, but on mobile you do because acceleratedRendering only applies > to groups. Without it you can't achieve smooth scrolling. I wish we > could just set a field to scrolling layermode, it would sure

Re: Go to card has become slow

2020-04-05 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Thanks Terry I did the same thing. The focus is on server performance, > not client. What I gleaned is that for an individual transaction, the > difference between a transactional select statement and non is > indistinguishable to the end user. The rubric I was given back

Re: Maximum field height?

2020-04-05 Thread J. Landman Gay via use-livecode
Thanks guys. I did remember there was a limit but for some reason thought it was only for the width of a line. I've switched over to trying a group set as a container and setting the field itself to scrolling layermode. I haven't tried it yet on mobile but we'll see. @Richard, when developing

Re: Go to card has become slow

2020-04-05 Thread Bob Sneidar via use-livecode
Thanks Terry I did the same thing. The focus is on server performance, not client. What I gleaned is that for an individual transaction, the difference between a transactional select statement and non is indistinguishable to the end user. Also, filtering out any save operations (including

Re: Maximum field height?

2020-04-05 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > I have a field that reports a formattedheight of 125396. I want to > extend it to full height for use inside an enclosing scrolling group. I see that method used in the Lesson on using a scroller for text as well, but I've never understood why. What is the advantage of

RE: HilitedItem of a navbar

2020-04-05 Thread Ralph DiMola via use-livecode
Matts, No problem brother. I shared this with the list on January 10th. I was warned that changing default behaviors is a Bozo no no. Here it is again: I made 4 changes to the navbar widget. 1) The hiliteditem can be set to zero so no item is hilited 2) The default is no item hilited

Re: Maximum field height?

2020-04-05 Thread Paul Dupuis via use-livecode
On 4/5/2020 1:16 AM, J. Landman Gay via use-livecode wrote: I have a field that reports a formattedheight of 125396. I want to extend it to full height for use inside an enclosing scrolling group. But when I try to set the height to the formattedHeight, I get an error: Value is not a number.

Re: DWrite.dll

2020-04-05 Thread Matthias Rebbe via use-livecode
Scott, í´ve searched for dwrite.dll and some of the search results showed that dwrite is needed/used or whatever for font rendering or so. Is your standalone doing anything with fonts or did you set something in the standalonesettings? Just a shot in the dark Matthias Von meinem iPad

DWrite.dll

2020-04-05 Thread scott--- via use-livecode
Recently I was building a 32 bit Windows standalone and on several of my VMs (not on Windows 10) ran into this error message when trying to launch the exe. "This application has failed to start because DWrite.dll was not found.” Is this something I might be doing wrong? Livecode standalones

Re: HilitedItem of a navbar

2020-04-05 Thread Matthias Rebbe via use-livecode
Hi Ralph, Iteould be really great, if you could share it not only with Jacque. ;) I am also very interested in your version. Matthias Von meinem iPhone gesendet > Am 05.04.2020 um 00:08 schrieb Ralph DiMola via use-livecode > : > > I have a version that will let you set it to zero and

Re: Go to card has become slow

2020-04-05 Thread Terence Heaford via use-livecode
There is an interesting debate here as to whether it is necessary or not to wrap select statements in transactions for optimisation: https://stackoverflow.com/questions/7349189/optimizing-select-with-transaction-under-sqlite-3

Re: HilitedItem of a navbar

2020-04-05 Thread J. Landman Gay via use-livecode
Oh good. See if you can push it. On 4/4/20 6:36 PM, Brian Milby via use-livecode wrote: I have a PR that supports this (setting 0 will highlight nothing): https://github.com/livecode/livecode/pull/6404 It is vulcan reviewed, but not merged. A push may get it into the next DP. Thanks, Brian