Re: Disabled objects semi translucent??

2020-03-26 Thread J. Landman Gay via use-livecode

On 3/26/20 10:45 AM, Bob Sneidar via use-livecode wrote:

I’m noticing (for the first time it seems) that disabled objects are 
semi-transparent! Is this intentional?? This means any background pattern I set 
for the card shows through the disabled objects! Boo!


If you set a background color or pattern that shouldn't happen.

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


Determining a scroll based on code unit offsets

2020-03-27 Thread J. Landman Gay via use-livecode
In our last episode, our heroine was trapped by the selection of a line 
containing metadata. The heroes of this group saved her. In all cases, 
scrolling the field was accomplished by using the "select" command to bring 
the line into view.


Alas, escape from one danger has led to another. The field itself must be 
inside an enclosing group so that it will scroll smoothly on mobile. She 
needs to translate the data from codeunits to a scroll position in order to 
set the group's scroll rather than the field scroll.


Each line of the data looks something like this:

1,103,7

While 7 is a line number, multiplying that by the textheight doesn't give 
consistent results due to line wrap. The first two items are codeunit 
offsets but there doesn't seem to be a way to translate those into pixel 
positions.


Our heroine is once again in distress, though as mentioned here, some of 
that may be due to the inability to reach the keyboard from 6 feet away, 
which presents its own positioning problems.


--
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: Determining a scroll based on code unit offsets

2020-03-27 Thread J. Landman Gay via use-livecode

I thought of that, but I only have access to a line number based on paragraphs.

On 3/27/20 1:01 PM, Bob Sneidar via use-livecode wrote:

There is a formattedHeight


On Mar 27, 2020, at 11:00 AM, Bob Sneidar 
mailto:bobsnei...@iotecdigital.com>> wrote:

is there a formattedTextHeight?

Bob S


On Mar 27, 2020, at 10:58 AM, J. Landman Gay via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

1,103,7

While 7 is a line number, multiplying that by the textheight doesn't give 
consistent results due to line wrap. The first two items are codeunit offsets 
but there doesn't seem to be a way to translate those into pixel positions.


___
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




--
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: Determining a scroll based on code unit offsets

2020-03-27 Thread J. Landman Gay via use-livecode

Saved again! I should have thought of that. Thank you.

I had just worked out a handler that did the same thing in way too many lines.

On 3/27/20 2:47 PM, Mark Waddingham via use-livecode wrote:

Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the 
formattedHeight of codeunit OFFSET of FIELD)?

Sent from my iPhone


On 27 Mar 2020, at 17:59, J. Landman Gay via use-livecode 
 wrote:

In our last episode, our heroine was trapped by the selection of a line containing 
metadata. The heroes of this group saved her. In all cases, scrolling the field was 
accomplished by using the "select" command to bring the line into view.

Alas, escape from one danger has led to another. The field itself must be 
inside an enclosing group so that it will scroll smoothly on mobile. She needs 
to translate the data from codeunits to a scroll position in order to set the 
group's scroll rather than the field scroll.

Each line of the data looks something like this:

1,103,7

While 7 is a line number, multiplying that by the textheight doesn't give 
consistent results due to line wrap. The first two items are codeunit offsets 
but there doesn't seem to be a way to translate those into pixel positions.

Our heroine is once again in distress, though as mentioned here, some of that 
may be due to the inability to reach the keyboard from 6 feet away, which 
presents its own positioning problems.

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



___
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




--
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: Determining a scroll based on code unit offsets

2020-03-27 Thread J. Landman Gay via use-livecode
Oops. Not saved. It fails on larger offsets. Maybe I'm doing something wrong. Here's my longer 
way, it could likely be optimized better. It does rely on a scripted field selection, and the 
selectedChunk is passed to the handler:


on grpScroll pSelChunk
  -- pSelChunk = selected field chunk: char x to y of fld z
  put the num of words in char 1 to (word 4 of pSelChunk) of fld "tText" into 
tNumWords
  put the formattedtext of fld "tText" into tFText
  put the num of lines in word 1 to tNumWords of tFText into tLineNum
  put tLineNum * the effective textheight of fld "tText" into tScroll
  set the vScroll of grp "tTextGrp" to tScroll
end grpScroll

Seems like there should be a better way.

On 3/27/20 2:47 PM, Mark Waddingham via use-livecode wrote:

Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the 
formattedHeight of codeunit OFFSET of FIELD)?

Sent from my iPhone


On 27 Mar 2020, at 17:59, J. Landman Gay via use-livecode 
 wrote:

In our last episode, our heroine was trapped by the selection of a line containing 
metadata. The heroes of this group saved her. In all cases, scrolling the field was 
accomplished by using the "select" command to bring the line into view.

Alas, escape from one danger has led to another. The field itself must be 
inside an enclosing group so that it will scroll smoothly on mobile. She needs 
to translate the data from codeunits to a scroll position in order to set the 
group's scroll rather than the field scroll.

Each line of the data looks something like this:

1,103,7

While 7 is a line number, multiplying that by the textheight doesn't give 
consistent results due to line wrap. The first two items are codeunit offsets 
but there doesn't seem to be a way to translate those into pixel positions.

Our heroine is once again in distress, though as mentioned here, some of that 
may be due to the inability to reach the keyboard from 6 feet away, which 
presents its own positioning problems.

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



___
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




--
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: Determining a scroll based on code unit offsets

2020-03-27 Thread J. Landman Gay via use-livecode
Hm. My handler fails too on larger offsets but I think it's because there are lines above it 
that have spaceAbove and spaceBelow attributes, and those aren't being taken into consideration 
when multiplying lines by the textheight. I think Mark's example might work if formattedHeight 
adjusted for that.


On 3/27/20 4:15 PM, J. Landman Gay via use-livecode wrote:
Oops. Not saved. It fails on larger offsets. Maybe I'm doing something wrong. Here's my longer 
way, it could likely be optimized better. It does rely on a scripted field selection, and the 
selectedChunk is passed to the handler:


on grpScroll pSelChunk
   -- pSelChunk = selected field chunk: char x to y of fld z
   put the num of words in char 1 to (word 4 of pSelChunk) of fld "tText" into 
tNumWords
   put the formattedtext of fld "tText" into tFText
   put the num of lines in word 1 to tNumWords of tFText into tLineNum
   put tLineNum * the effective textheight of fld "tText" into tScroll
   set the vScroll of grp "tTextGrp" to tScroll
end grpScroll

Seems like there should be a better way.

On 3/27/20 2:47 PM, Mark Waddingham via use-livecode wrote:
Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the formattedHeight of codeunit 
OFFSET of FIELD)?


Sent from my iPhone

On 27 Mar 2020, at 17:59, J. Landman Gay via use-livecode  
wrote:


In our last episode, our heroine was trapped by the selection of a line containing 
metadata. The heroes of this group saved her. In all cases, scrolling the field was 
accomplished by using the "select" command to bring the line into view.


Alas, escape from one danger has led to another. The field itself must be inside an 
enclosing group so that it will scroll smoothly on mobile. She needs to translate the data 
from codeunits to a scroll position in order to set the group's scroll rather than the field 
scroll.


Each line of the data looks something like this:

1,103,7

While 7 is a line number, multiplying that by the textheight doesn't give consistent results 
due to line wrap. The first two items are codeunit offsets but there doesn't seem to be a 
way to translate those into pixel positions.


Our heroine is once again in distress, though as mentioned here, some of that may be due to 
the inability to reach the keyboard from 6 feet away, which presents its own positioning 
problems.


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



___
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







--
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: Hide stack change focus not supported 64bit

2020-03-29 Thread J. Landman Gay via use-livecode

On 3/29/20 4:17 PM, Bill Vlahos via use-livecode wrote:

When I issue the command hide this stack my application window disappears but 
doesn’t lose focus. The target application that was behind my floating window 
doesn’t become the frontmost application.


Hiding doesn't change anything but the visibility. If you need to change focus either use "go" 
or set the defaultstack.


The documentation in 9.5.1 says that hide stack is not supported in 64bit. What 
is the alternative for MacOS X 64bit to temporarily hide my application?


I think this is a documentation glitch. All the dictionary references in that last paragraph 
aren't showing up, so it isn't clear what the nouns are. But "hide" is still supported as far 
as I know. I think the missing references there are talking about QT commands.



--
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: DataGrid question...

2020-03-29 Thread J. Landman Gay via use-livecode

I can't write a test handler right now, but I'm thinking you might be able do 
something like this:

repeat for each item i in the tabstops of the field:
  if the clickH > i and less than item i+1,
  that's your column

The clickline gives you the row.

On 3/29/20 11:04 PM, Terry Judd via use-livecode wrote:

This is rough but sort of works...

on selectionChanged
set the itemDel to tab
put word 2 of the selectedLine into tRow
put word 2 of the selectedChunk into nChar
put length(line 1 to tRow-1 of me) into tStart
put char tStart+2 to nChar of me into tText
put the number of items in tText into tCol
put tRow&&tCol
end selectionChanged




--
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: DataGrid question...

2020-03-30 Thread J. Landman Gay via use-livecode

On 3/30/20 4:08 AM, Pi Digital via use-livecode wrote:

So, have we all missed a clever and simple, non convoluted method of telling 
which cell in a scrollable, non editable table field has been clicked? Even if 
that cell is empty.


The table field is pretty rudimentary and so has limitations. For example, no messages are 
generated if a user clicks in a cell that is below the last text entry. Provided the field is 
full of data and user clicks on a populated cell, this seems to work:


on selectionChanged
  put "Row:" && word 2 of the clickline into tRow -- adjust for scroll here
  put "Col:" && getColumn(the clickH) into tColumn
  put tRow &cr& tColumn
end selectionChanged

function getColumn pClickH
  put the num of items in the tabstops of me into tNumStops
  put last item of the tabstops of me into tTabWidth -- in case we need to 
calculate it
  set the itemdel to tab
  put the num of items in line 1 of fld "tf" into tColumns
  if tNumStops < tColumns then -- add missing tabstops
put the tabstops of me into tTabs
repeat with x = tNumStops+1 to tColumns
  put comma & (tTabWidth * x) after tTabs
end repeat
  end if
  set the itemdel to comma
  repeat with x = 1 to the num of items in tTabs
if pClickH > item x of tTabs and pClickH < item x+1 of tTabs then
  return x
end if
  end repeat
  return empty
end getColumn

This is as far as I got (I need to get back to work,) but I think all it's missing is 
calculating the row offset if the field is scrolled. David accounted for that.

--
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: Answer dialog enhancement...

2020-03-31 Thread J. Landman Gay via use-livecode
I had to create my own for mobile since the default didn't do what I 
wanted. I implemented it as a group. When the user hits the OK button it 
places the response in the dialogdata and sends a message to the card. The 
card has a handler that captures the message and gets the dialogdata to do 
what it needs. If the user cancels, the dialogdata contains "cancel".


I keep the group in an unplaced background, and when I need it I copy it to 
the card. When it's dismissed I delete it. That way I don't need to include 
it on all the cards. I trigger it with a command that passes any necessary 
data to the group as parameters.


I don't think it's possible to remove the answer dialog from an app, the 
last time I tried it reselected itself, so I just ignore it. Since I was 
using it on mobile this works pretty well, but on desktop it would be 
confined to the card rect. You could do the same thing with a stack, which 
would eliminate the need to copy anything.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 31, 2020 6:11:51 PM Paul Dupuis via use-livecode 
 wrote:



On 3/31/2020 6:10 PM, Bob Sneidar via use-livecode wrote:
The answer dialog is simply a stack in and of itself if I am not mistaken. 
I’m wondering if you couldn’t find that stack and clone it for your own 
purposes…


Bob S


Yes. That is easy enough. Turn on "Show IDE Stacks in List" from the
"View" menu and there are the Answer and Ask Dialogs.

Then you need to work out how the Answer command passes its data via
"the dialogData" property into order to create an alternative calling
routine that sets up the Don't Ask Again check box

You could copy the Answer to your own project  and in the Standalone
Settings switch to Manual Inclusions and exclude the Answer Dialog. Then
I believe the answer command will use the copy of the dialog in your
project. Then you need to add the button, change the resizeStack
handlers accordingly, script its show and hide, add code to get the
return value

AND remember to see if the dialog needs updates with each new release of
LiveCode.

That is why I asked if anyone has already done it so as to not re-invent
the wheel.

___
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


Re: Our first Community Zoom Session

2020-04-02 Thread J. Landman Gay via use-livecode

I've become extremely cautious about Zoom and avoid it if I can.

Any guess how long the session will be? I can't make it at the start time 
but could show up later.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 2, 2020 12:15:21 PM Mark Wieder via use-livecode 
 wrote:



On 4/2/20 9:34 AM, doc hawk via use-livecode wrote:

Also, I would ask that you to *not* submit our email address to zoom, but 
instead send the code to the lit, or by your own servers to our email—it 
came out in the last couple of days that, just a zoom was nearing a whole 
week without  a new security or privacy sue, that they’d globe email in a 
way to make them accessible . . .


Also, for those who haven't yet installed zoom: when you first install
you're prompted with the option to opt out of marketing etc. Please do
this. There may be an option to do this later, but I haven't found one
short of registering for a zoom account on their website, and that's
totally unnecessary.

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





___
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: Our first Community Zoom Session

2020-04-02 Thread J. Landman Gay via use-livecode
Your first link describes a different attack, since corrected. The one Bob 
posted is dated April 2 and the research link it includes is dated April 1. 
It is new info.


You are correct that Zoom has frozen development until these issues are 
fixed, but for now the vulnerabilities seem to remain.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 2, 2020 2:07:34 PM Pi Digital via use-livecode 
 wrote:



Bob
That article is based on out of date information. The writers have not done 
their homework properly. Here’s what they would have found back from Jan 
this year


www.zdnet.com/google-amp/article/zoom-fixes-security-flaw-that-could-have-let-hackers-join-video-conference-calls/

Conversely,

www.theverge.com/platform/amp/2020/4/2/21204018/zoom-security-privacy-feature-freeze-200-million-daily-users

And

www.bbc.co.uk/news/amp/technology-52133349

Always do your research before posting is the Mantra.

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


On 2 Apr 2020, at 19:48, Bob Sneidar via use-livecode 
 wrote:


Just so everyone is aware…

https://community.spiceworks.com/topic/2265244-snap-more-zoom-flaws-t-mobile-merger-nasa-launch-delays-rick-and-morty?utm_campaign=community&utm_medium=app&utm_source=app_ui

Bob S

___
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





___
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: Script Only Stack Properties

2020-04-04 Thread J. Landman Gay via use-livecode
When a script only stack is opened, LC creates a temporary stack and plops 
the script into it. At that point its just like any other library stack. 
You could add images, controls, other scripts, custom props, anything. The 
only difference is that when the stack closes, the text of the stack script 
is written back to the file and everything else is lost.


I suppose you could put custom properties at the top of the stack script 
inside a comment block, and set them up normally by script when the stack 
opens.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 4, 2020 11:58:33 AM Bob Sneidar via use-livecode 
 wrote:



Hi all.

I just discovered an interesting aspect of script only stacks. They CAN 
have Custom Properties… but ONLY while in memory! Once closed, the 
properties disappear. Seems like a slight mod would be able to save these 
properties as a separate file so that they can remain persistent.


Gonna hafta look into this!

Bob S

___
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


Re: Getting started with geographical coordinates

2020-04-04 Thread J. Landman Gay via use-livecode

A quip from my college days:

Time is what keeps everything from happening all at once. Space is what 
keeps everything from happening to YOU.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 4, 2020 12:25:14 PM Bob Sneidar via use-livecode 
 wrote:


I see where people get confused. When we talk about dimensions, for most 
people the “Physical” in  “Physical Dimensions” is implied, just like when 
Dad says, “Hand me the map”, what he really means is, “Hand me the plastic 
coated street and highway map of the state of California that we just 
purchased at the 7-11 10 minutes ago". We use these abbreviated forms of 
implicit communication because being absolutely specific about aspect of 
every object or idea we wish to convey would be impossible.


Put another way, a chemist might say, “when I heat water to 212 degrees 
Farenheight, the water boils.” Implicit in that statement is the fact that 
he is at sea level, that the water is pure, that he is on the planet earth, 
that the air pressure is at or near a certain level, etc. Every such 
statement contains the unspoken, “All other things being equal” clause we 
always unconsciously take for granted.


So when physicists call Time (or anything else) another dimension, they are 
pulling a kind of, "bait and switch”. They stop talking about “Physical” 
dimensions, and begin talking about something else, but they never warn us 
of this transition! Here’s why I do not believe there are any more 
dimensions in the classical sense.


If I alter one of the dimensions of a 3D object, I do not affect the other 
two dimensions. But if a alter time itself, I alter ALL of the other 3 
dimensions. Time is more like a modifier of the physical dimensions. (One 
could also argue that spacial dimension creates the effect of time.)


Think of it this way. If I could make time infinitely short, everything 
would be reduced to an infinitely small point, because for there to be 
anything else, an object could theoretically be at one point in space and 
not another, implying that at another time it could be at another and not 
the original point.


This is an effect bantied about when discussing traveling at near light 
speeds. Not only does time compress (it is thought) but so does matter. The 
implication is that if you could get everywhere infinitely fast you would 
already be there and so there would be no time. And no space for that matter.


Bob S


On Apr 4, 2020, at 9:20 AM, Mark Wieder via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:


On 4/4/20 8:37 AM, Bob Sneidar via use-livecode wrote:

Once I caught on, I realized that Mathematics was really a kind of 
numerical language for defining aspects of this 3 dimensional nature we 
call The Universe.


You're still stuck in 3? Try 10.

https://www.youtube.com/watch?v=0ca4miMMaCE

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





___
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


HilitedItem of a navbar

2020-04-04 Thread J. Landman Gay via use-livecode

I can't set this to 0? I need to.


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


Maximum field height?

2020-04-04 Thread J. Landman Gay via use-livecode
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.


If I try to set its height in the property inspector, it reverts to 9,040.

Does it exceed some maximum? If I set a scrollbar on the field, it scrolls fine and includes 
all the text. But it won't expand to its full height for use inside a scrolling group, which I 
need for smooth scrolling on mobile.


--
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: HilitedItem of a navbar

2020-04-04 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

On Sat, Apr 4, 2020 at 3:31 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


I can't set this to 0? I need to.


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


___
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




--
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: 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 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 make layout and resizing easier.



I think the new container layermode is supposed to help with this stuff. I 
haven't had to use it until now.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 5, 2020 9:15:24 AM Richard Gaskin via use-livecode 
 wrote:



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 putting
the field inside of a group rather than using the scroller with the
field directly?


> But when I try to set the height to the formattedHeight, I get an
> error: Value is not a number.

I think Paul has the answer there: groups have limit of 32,767px on
either axis.  That's about 30' on desktop systems so generally useful,
but when using them to contain a field sized for long text it can easily
be exceeded.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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





___
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: 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 scrolling 
without a scrollbar, which is what mobile users expect, it's a different 
story. Android isn't as bad as iOS but there's a noticeable stutter on both.


--
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: 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 scroller over it.


That's my standard procedure too, unless I'm using a pseudo-scrolling handler that allows 
pushing up or down on the field on desktop. It's basically a simulation, but for quick access 
during development it's faster to just use the built-in scrollbar.


So yes, I'm using the field directly with no enclosing group, but no, I don't use the desktop 
scrollbar on mobile; the scroller overlay does a good job of tracking the user interaction, 
with the appropriate endpoint indication and all, and scrolling the field in response to the 
scroller's messages has worked well.


I just released an app using this method and on iOS the stutter is quite noticeable, as well as 
on Android devices with slower CPUs. It's okay for short text, sort of (though there's a brief 
jerk) but for anything longer it fails. Up until LC 9 it was possible to set the field to use a 
scrolling layermode in the property inspector, but that's been removed. You can still set it by 
script, but it has no effect (and probably never did) and the engine defaults to dynamic 
layermode instead.


While you're at it, it may be worthwhile turning the scrollbar of the field off and having your 
scrollerDidScroll set the scroll of the field directly, with no enclosing group at all.


As above, that's what my previous app did. I'm going to change that for the next update, as it 
looks unprofessional.


If it works as well for you as it's been doing for me, it saves me another test  and gives 
confidence to others that actually development with LiveCode isn't nearly as cumbersome as that 
Lesson on scrolling fields suggests.


Well, basically the lesson is correct. I wish it weren't so. But if you only use a few fields 
with short content, your easier method is probably passable. My previous app has a field whose 
content is almost always less than the field height, but only extends beyond that for a few 
lines occasionally. For something like that, I'd probably skip the group. If you feel like 
experimenting, try a field sized to a mobile screenrect with 50+ lines of wrapped text. Do it 
on iOS if you have one of those phones; the simulator won't give you the same response.


--
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: 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 
doesn't get applied to fields. We'll see if this works when I'm far enough along to build a 
test app.


--
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: 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 see 
regular LC controls magically change to native mobile controls much as the 
Mac, Windows, and (sort of) Linux appearances do. That would make a world 
of difference.


But there are features on mobile that don't exist on desktop. LC has 
provided for things like Android toasts and iOS popups. These things are 
one reason the language can't be entirely universal; mobile requires a 
different feature set. But it would be great if a scrolling field would 
just be a scrolling field everywhere. On the other hand, mobile lets you 
scroll all sorts of things (images, carousels, etc.) so we'd still need our 
mobile scroller anyway.



I agree it could be easier, but it isn't impossible. But parity wherever 
possible would be my first choice in what I'd like to see improved.




2. Failure in cross-platform equivalence.


If you mean mobile equivalence, Android is catching up quickly, in part 
because of the FM initiative. I appreciate that. iOS is pretty well covered 
for the most part. Some folks mentioned the issue of branching for 
different mobile platforms but that doesn't bother me much. We have to do 
that sometimes for the three desktop platforms already. The features that 
both iOS and Android do have in common use the same code and syntax.



The other two are, I suspect, not truly solvable.

3. It's not "Live"Code. Developing for Mobile gets you back into the
horrible edit - compile (i.e. build a standalone) - test cycle.


Yeah, this is a pain. I'm not sure there's any way around it but the 
addition of remote debugging has made it far easier. For a long time I felt 
like I was back in 1998 where I had to sprinkle "answer" dialogs all over 
the place just to know what my variable values were. There are some tricks 
though that help. I created a generic launcher app that loads my working 
stack so there's no actual compile required. I can't do this for complex 
apps, but I can do it for testing pieces and bits that will eventually go 
into the main app later. For simpler apps, the entire stack can be tested 
pretty easily this way.




4. You still need to deal with the ugly issues of the SDKs and the
app-store  requirements.


For me this is the hardest part, way worse than developing the app itself. 
It's also why I'd much rather deal with Android than Apple. Google is 
pretty easy to deal with. Apple is a constantly moving target with a 
rollercoaster of requirements, not to mention the profiles and certificates 
and what seems to me to be an unnecessarily complex review process.


However, if you are just developing for yourself or a few other people, you 
don't have to mess with either app store. Android apps can be freely 
distributed to anyone by any method and you don't even need a Google 
account. iOS apps can be distributed to a few people as "testers" without 
going through their byzantine submission process, though you do still need 
to mess with their account, certificates and profiles.


I'm thankful that the LC team keeps up with Apple's constantly changing 
requirements. Apple doesn't seem to value their developers much.




So, for me personally, even if LC Ltd. could fix (1) and (2), I would
still not even bother trying to build a mobile app; it's just not worth
the hassle or the learning curve.


It isn't such a steep learning curve as you'd think. One test app will 
probably get you going. If I were starting over, I'd start with Android 
because it's so much more flexible. The hardest part there is just making 
sure you download the right SDK and Java version.



OK - that's an easy decision for me - I don't do this for a living, I do
it for fun. And right now Mobile development is no fun.


It could be improved, but it isn't not-fun. It's just software development 
like anything else.


As you say, I don't have much choice. I haven't really done a desktop app 
for a couple of years now, clients want mobile and mobile only. Desktop 
apps are going away. My main client deals in university software and half 
the students don't even own a computer any more, they do everything on 
their tablets or phones. I found that LC Android apps also run pretty well 
on Chromebooks, even though LC doesn't officially support those, and if 
students own a laptop at all, it's likely to be a Chromebook these days. 
They're cheap and fast and essentially immune to malware.


When we only distributed desktop apps, students complained that they had to 
go to the school's computer lab because they didn't have a laptop.




The downside is, I've all but run out of reasons to develop in LC.


That would be a shame. You already have the skills, and aside from a few, 
but not all, mobile controls, the rest of it 

Re: Maximum field height?

2020-04-06 Thread J. Landman Gay via use-livecode
Touch messages already send duplicate mouse messages. In fact, unless you 
need two-finger zooming, you don't need touch handlers at all. I only use 
standard mouse handlers generally because they wotk on both mobile and desktop.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 6, 2020 10:02:19 AM Bob Sneidar via use-livecode 
 wrote:


There’s the rub I think. For RunRev (is the company still called that?) to 
make what mobile objects they can universal, and leave the others as is 
would then create a situation where developers would have to know what 
controls were universal, and which were Mobile/Desktop only. It just adds 
another layer of complexity.


I’m curious though if a library could be created so that a handler for a 
mobile message (let’s say a touch message) could “translate” into a desktop 
message? In this way, the app on the mobile would send a mouseUp message to 
the target.


Seems crazy I know. I’m just Pea Brain Storming.

Bob S


On Apr 5, 2020, at 9:20 PM, J. Landman Gay via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:


But there are features on mobile that don't exist on desktop. LC has 
provided for things like Android toasts and iOS popups. These things are 
one reason the language can't be entirely universal; mobile requires a 
different feature set. But it would be great if a scrolling field would 
just be a scrolling field everywhere. On the other hand, mobile lets you 
scroll all sorts of things (images, carousels, etc.) so we'd still need our 
mobile scroller anyway.


___
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


Re: Mobile Wondering

2020-04-06 Thread J. Landman Gay via use-livecode

On 4/6/20 10:12 AM, Alex Tweedly via use-livecode wrote:
But, afaik, it's not just scrolling fields; aren't there also issues with keyboard input 
requiring you to scroll / move the field to remain visible,


That was fixed recently with mobileSetKeyboardDisplay.

Also, besides mouse events working on both mobile and desktop, there is automatic conversion of 
option buttons to native mobile equivalents and cross-platform equivalence for browser widgets. 
Other widgets like navigation bars and segmented controls can change between mobile platforms 
by altering some of their properties, and the switch button has a handy "theme" property that 
lets you do that with a single property setting. I wish they all had that.


We also have Android native fields, and iOS native fields and buttons (where's my Android 
button?) which can be dropped onto the stack, though on desktop they are placeholders.


  And the fact that mobile-specific commands each need to be wrapped inside an environment-check to keep from throwing an error in the IDE. 


That's easy to fix. I have standard library handlers that create scrollers, input fields, etc. 
and at the top of each one I put "if the environment <> "mobile" then exit thisHandler". That 
way I can script everything normally and if I'm not on mobile the command is ignored so the 
scripts don't need to branch for things like that.


On the other hand, a frequent request has been for the LC engine to ignore mobile commands if 
we're in the IDE. So there's that.



4A. SDKs and the build environment. Just horrible; when I tried this a few years ago (for Android) it took me 
days of frustration and guesswork to get a working SDK, and get it connected to LC, and to try to get a 
simulator to work properly. Including choosing (I think it "device type") from a long drop-down 
list of devices I didn't own. I picked at random - and was told either that it was "unavailable" or 
"will be slow - suggest you try a different device". Well - they were right about that - the 
simulator was S...L...O...W.


You're right, the Android emulator is horrible. I stopped using it early on. LC recently added 
support for x86-64bit specifically so we could use the faster version, but I found it much 
easier to just cable my phone to my Mac and use the real thing. It's quick and painless.



I never did get round to trying for IOS, because everyone said how much harder 
it was than Android :-)
I've found the iOS simulator to be very good, on the other hand. It accurately represents what 
will happen on a real device, including all the bugs I introduce. It does require a bit of 
setup -- downloading gigabytes of XCode is a time suck -- but once set up it performs well. 
However, I've found switching between different versions of XCode/LC to be cumbersome. I'd like 
it if LC could make the process easier, maybe by issuing shell commands behind the scenes so I 
don't have to.



4B. App store issues. Never got that far - though it sounds like it's pretty 
annoying.
Build for a few people (and sidestep the store) - seems to be possible, but not 
clear how easy it is.


Apple makes it painful to submit to their store, but if all you want is to generate some 
certificates and profiles so you can distribute to a few people, more than half the pain is 
avoided.


Private Android distribution is a piece of cake. Build the app, send it to someone. The only 
caveat is that the user must enable a setting on their phone that allows them to accept apps 
that are not downloaded from the Play Store. Newer Android devices will ask the user if they 
want to do that, older ones require the user to go into Settings to flip a switch.


Thanks for the reply - it has stiffened my resolve to have another go !! 


I'm so glad to hear that. :) Ask us if you get stuck.

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


Who else doesn't want auto-select when opening a card?

2020-04-06 Thread J. Landman Gay via use-livecode
This makes me crazy. I almost never want the first field selected when I go to a card, 
particularly on mobile. And god forbid the first field is a list field, where the first line is 
hilited whenever the stack resumes focus, even if the hilitedline was 0.


The workaround is tedious: on preOpenCard, set traversalOn to false, send a message to turn it 
back on after the card is displayed, include a handler that will catch the message and do the deed.


I want a property or setting that lets me turn off this default behavior. It's annoying and 
disruptive, and has been there since day one.


--
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: Who else doesn't want auto-select when opening a card?

2020-04-07 Thread J. Landman Gay via use-livecode
I have workarounds, I just don't want to have to use them. Selecting nothing or setting the 
hilitedline, either one, you still have to set up some handlers to do it. They don't work in an 
openCard handler, you have to reset after that.


On 4/6/20 2:38 PM, Bob Sneidar via use-livecode wrote:

I ALWAYS want that. Nevertheless, have you tried select nothing in after 
OpenCard?

Bob S


On Apr 6, 2020, at 11:39 AM, J. Landman Gay via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

This makes me crazy. I almost never want the first field selected when I go to 
a card, particularly on mobile. And god forbid the first field is a list field, 
where the first line is hilited whenever the stack resumes focus, even if the 
hilitedline was 0.

The workaround is tedious: on preOpenCard, set traversalOn to false, send a 
message to turn it back on after the card is displayed, include a handler that 
will catch the message and do the deed.

I want a property or setting that lets me turn off this default behavior. It's 
annoying and disruptive, and has been there since day one.

--
Jacqueline Landman Gay | 
jac...@hyperactivesw.com<mailto:jac...@hyperactivesw.com>
HyperActive Software   | 
http://www.hyperactivesw.com<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




--
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: HilitedItem of a navbar

2020-04-08 Thread J. Landman Gay via use-livecode

On 4/7/20 12:43 PM, Brian Milby via use-livecode wrote:
The PR is now merged into develop and will be in the next DP.  It only adds the option of selecting nothing but does not make it the default. 


I now have the same problem with a segmented control, which I'm using as a vertical popup menu 
for the "More" overflow navbar item. It retains the last selection and sends no messages if the 
user needs to click the same selection again. I want it to appear without a hilite.


How can I clear it? It errors if I set the hilitedItem to 0. Maybe someone 
could fix this too?

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


Video format for mobile

2020-04-08 Thread J. Landman Gay via use-livecode
I asked this before, looking for the best format for video files on both Android and iOS. Colin 
suggested H.264 as the codec, and MP4 as the file format. I have a video with those specs but 
it won't play in the LC player, and the Mac wants to open it with QuickTime. VLC will play it.


Get Info shows the codec as H.264, AAC. The file extension is mp4. Is AAC the problem (that's 
the audio format, right?) What should it be?


I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it won't 
work.

--
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: HilitedItem of a navbar

2020-04-08 Thread J. Landman Gay via use-livecode
I would never ignore you. ;) We were talking about navbars that time, and I'd already tried 
empty. But it does seem to work with segmented controls.


On 4/8/20 6:01 PM, Bob Sneidar via use-livecode wrote:

That's what I said! I thought people were ignoring me because that wouldn't 
work.

Bob S



On Apr 8, 2020, at 15:54 , Brian Milby via use-livecode 
 wrote:

Use empty instead of 0 and it should work.

Thanks,
Brian
On Apr 8, 2020, 5:38 PM -0400, J. Landman Gay via use-livecode 
, wrote:

On 4/7/20 12:43 PM, Brian Milby via use-livecode wrote:

The PR is now merged into develop and will be in the next DP.  It only adds the 
option of selecting nothing but does not make it the default.


I now have the same problem with a segmented control, which I'm using as a 
vertical popup menu
for the "More" overflow navbar item. It retains the last selection and sends no 
messages if the
user needs to click the same selection again. I want it to appear without a 
hilite.

How can I clear it? It errors if I set the hilitedItem to 0. Maybe someone 
could fix this too?

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

___
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




--
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: HilitedItem of a navbar

2020-04-08 Thread J. Landman Gay via use-livecode

Thank you! I didn't think to try that. I think I tried everything else.

On 4/8/20 5:54 PM, Brian Milby via use-livecode wrote:

Use empty instead of 0 and it should work.

Thanks,
Brian
On Apr 8, 2020, 5:38 PM -0400, J. Landman Gay via use-livecode 
, wrote:

On 4/7/20 12:43 PM, Brian Milby via use-livecode wrote:

The PR is now merged into develop and will be in the next DP.  It only adds the 
option of selecting nothing but does not make it the default.


I now have the same problem with a segmented control, which I'm using as a 
vertical popup menu
for the "More" overflow navbar item. It retains the last selection and sends no 
messages if the
user needs to click the same selection again. I want it to appear without a 
hilite.

How can I clear it? It errors if I set the hilitedItem to 0. Maybe someone 
could fix this too?

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

___
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




--
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: Video format for mobile

2020-04-08 Thread J. Landman Gay via use-livecode
Thanks. The Mac won't play it, which is odd (usually in Finder a media 
thumbnail will play) and the Mac suggests QT as a default app, wbich is no 
longer supported officially.


I will try it on mobile when I get farther along, but for now I'd like to 
debug on Mac during development. The LC player is blank when I set the 
filename, presumably because it doesn't support QT either.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 8, 2020 9:48:52 PM Jerry Jensen via use-livecode 
 wrote:



Hi J,
AAC is Advanced Audio Compression - successor to MP3.
https://fileinfo.com/extension/aac
Hope this will help you figure out how to play it.
.Jerry

On Apr 8, 2020, at 4:10 PM, J. Landman Gay via use-livecode 
 wrote:


I asked this before, looking for the best format for video files on both 
Android and iOS. Colin suggested H.264 as the codec, and MP4 as the file 
format. I have a video with those specs but it won't play in the LC player, 
and the Mac wants to open it with QuickTime. VLC will play it.


Get Info shows the codec as H.264, AAC. The file extension is mp4. Is AAC 
the problem (that's the audio format, right?) What should it be?


I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it 
won't work.


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




___
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


Re: Video format for mobile

2020-04-08 Thread J. Landman Gay via use-livecode

If that's true, I'm in trouble. There are a lot of these videos.

I just made a quick test app and ran it on Android. I get a blank mobile player displaying a 
completely black rectangle. The script loads the URL from my server, waits for a 
playerPropertyAvailable "duration" property to be received, and then starts to play. The video 
is about a minute and a half long, the duration is never received, and after about a 30 second 
wait I get the playerFinished message.


A quick web search verifies what Colin said, an .mp4 with H.264 and AAC is pretty much standard 
these days.


Not sure where to go from here but I need a solution.

On 4/8/20 11:17 PM, Tom Glod via use-livecode wrote:

my guess is the LC player does not have h264 codec. its a codec that
carries a license fee and agreement. I hope one day it can be included in
an indy license and maybe the CEF can be built with the h264 codec.

That would be really good for business.

CHeers

Tom

On Thu, Apr 9, 2020 at 12:12 AM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


Thanks. The Mac won't play it, which is odd (usually in Finder a media
thumbnail will play) and the Mac suggests QT as a default app, wbich is no
longer supported officially.

I will try it on mobile when I get farther along, but for now I'd like to
debug on Mac during development. The LC player is blank when I set the
filename, presumably because it doesn't support QT either.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 8, 2020 9:48:52 PM Jerry Jensen via use-livecode
 wrote:


Hi J,
AAC is Advanced Audio Compression - successor to MP3.
https://fileinfo.com/extension/aac
Hope this will help you figure out how to play it.
.Jerry


On Apr 8, 2020, at 4:10 PM, J. Landman Gay via use-livecode
 wrote:

I asked this before, looking for the best format for video files on

both

Android and iOS. Colin suggested H.264 as the codec, and MP4 as the

file

format. I have a video with those specs but it won't play in the LC

player,

and the Mac wants to open it with QuickTime. VLC will play it.

Get Info shows the codec as H.264, AAC. The file extension is mp4. Is

AAC

the problem (that's the audio format, right?) What should it be?

I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it
won't work.

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




___
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







--
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: Video format for mobile

2020-04-08 Thread J. Landman Gay via use-livecode
Not sure what you mean by "an existing app" but my test app uses mobileControlCreate to set up 
a mobile player. When it accesses the video from my server, it's all black with no video or 
audio, and the nonexistent playback quits a few seconds in.


I'm not sure whether these videos were created with streaming in mind. I vaguely remember we 
used to need to set a "streaming" checkbox when creating a video. Is that still required?


On 4/8/20 7:49 PM, Colin Holgate via use-livecode wrote:

QuickTime Player can play it, but it doesn’t need QuickTime.

I’m not sure what player LiveCode uses on Android, but it is highly likely to 
be able to cope.

Is the LC Player an existing Android app?


On Apr 8, 2020, at 5:10 PM, J. Landman Gay via use-livecode 
 wrote:

I asked this before, looking for the best format for video files on both 
Android and iOS. Colin suggested H.264 as the codec, and MP4 as the file 
format. I have a video with those specs but it won't play in the LC player, and 
the Mac wants to open it with QuickTime. VLC will play it.

Get Info shows the codec as H.264, AAC. The file extension is mp4. Is AAC the 
problem (that's the audio format, right?) What should it be?

I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it won't 
work.

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



___
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




--
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: Video format for mobile

2020-04-09 Thread J. Landman Gay via use-livecode
They're kind of huge (like 400 MB) so I didn't copy them to my phone, but they play okay on Mac 
using Firefox and on Android using Chrome browser. I guess that doesn't tell us much.


Swami suggested to me privately that he uses a browser widget to play videos so I will try that 
next.


On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote:

What happens if you play the file locally on each device?

-Mark

On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


Not sure what you mean by "an existing app" but my test app uses
mobileControlCreate to set up
a mobile player. When it accesses the video from my server, it's all black
with no video or
audio, and the nonexistent playback quits a few seconds in.

I'm not sure whether these videos were created with streaming in mind. I
vaguely remember we
used to need to set a "streaming" checkbox when creating a video. Is that
still required?


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




--
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: Video format for mobile

2020-04-09 Thread J. Landman Gay via use-livecode

On 4/9/20 9:53 AM, Bryan Anderson via use-livecode wrote:

The .mp4 file spec allows for 3 different audio formats. AAC, MPEG1-Layer1 and 
MPEG1-Layer2. AAC is by far the most often used audio codec.

I just made a quick video using each audio codec, and the only one that plays audio 
in LC is the AAC version (MacOS, LC 9.5.0). To make sure you’re video is the right 
format, download the sample stack in the bug report at 
https://quality.livecode.com/show_bug.cgi?id=21278 
. I know that video works, 
at least on Mac.

On MacOS. Quicktime is the default player on the Mac still today, but it’s not 
the same QuickTime from years ago that LC depended on. If “About QuickTime 
Player” shows version 10.5, you’re on the new one. QuickTime Player 7 uses the 
deprecated APIs.


I have QT 10.5 and it plays the video. Firefox does too. On Android, Chrome plays it. So it 
looks like LC mobile player could be the problem.


I downloaded the file from your bug report, set a LC player to the filepath on my Mac, and got 
the same empty black screen.


--
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: Mobile screen sizes - another naive question

2020-04-09 Thread J. Landman Gay via use-livecode

On 4/9/20 11:47 AM, Richard Gaskin via use-livecode wrote:

Graham Samuel wrote:

 > Folks, yet again I don’t know where to look for an answer in the LC
 > documentation.
 >
 > The issue is the enormous variety of screen sizes on smart phones. For
 > example the iPhone XS Max has 1242 pixels width, the iPhone 5 has 640.
 > And there are many many more before we even get to tablets…
 >
 > The question is, how do most of you tackle this, and does LC help?
 > Obviously an object taking up a fixed number of pixels on one phone
 > will look absurdly large or small on another one, or of course may not
 > fit on the screen at all. Not all objects can be vector drawings, and
 > the ones that are still have to be resized according to device
 >
 > Is there anything better than the obvious trick of resizing everything
 > in sight when the app is being initialised, including substituting the
 > more sensitive graphics from a library of appropriate sizes? Seems
 > tedious.

Is it all that tedious?


Yes, unless you have a simple stack with only a few controls. If you have hundreds of objects, 
dealing with each of them individually, even if it's only one line that calls a handler, is a 
tedious time sink.


Graham, experiment with fullscreenMode, which automates most of the process. It isn't perfect 
and you'll need to make a few adjustments for different screen sizes, but it's much easier than 
trying to adjust for every possible screen ratio. LC implemented this specifically to take away 
the pain as much as possible.


--
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: Another Apple iOS Deadline

2020-04-09 Thread J. Landman Gay via use-livecode

On 4/9/20 11:52 AM, matthias rebbe via use-livecode wrote:

But fortunately  the guidelines make exceptions:

Sign in with Apple is not required if:
Your app exclusively uses your company’s own account setup and sign-in systems.


Thank God. I almost had a heart attack.

--
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: Video format for mobile

2020-04-09 Thread J. Landman Gay via use-livecode

I tried the browser widget: no audio, no video, white screen, no browser 
outline on Android.

I tried a mobile browser (mobileControlCreate): audio plays, no video, white 
screen.

So yeah, it looks like there's no codec. The widget on desktop doesn't play it either. If I ask 
the client to re-do the videos, what codec should I ask for? I was told that we had to use 
their existing videos, so I'm not even sure they will re-do them.


On 4/9/20 1:01 PM, Tom Glod via use-livecode wrote:

  I'm sorry to be the bearer of bad news here.  :(

if its h264 the browser widget won't play it. If you saw video but no audio
then thats one thing.but no video means the video codec is also absent.

On Thu, Apr 9, 2020 at 1:57 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


They're kind of huge (like 400 MB) so I didn't copy them to my phone, but
they play okay on Mac
using Firefox and on Android using Chrome browser. I guess that doesn't
tell us much.

Swami suggested to me privately that he uses a browser widget to play
videos so I will try that
next.

On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote:

What happens if you play the file locally on each device?

-Mark

On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


Not sure what you mean by "an existing app" but my test app uses
mobileControlCreate to set up
a mobile player. When it accesses the video from my server, it's all

black

with no video or
audio, and the nonexistent playback quits a few seconds in.

I'm not sure whether these videos were created with streaming in mind. I
vaguely remember we
used to need to set a "streaming" checkbox when creating a video. Is

that

still required?


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




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







--
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: Video format for mobile

2020-04-09 Thread J. Landman Gay via use-livecode

My test stack didn't set accelerated rendering at all, so I think there's more 
to it than that.

On 4/9/20 3:36 PM, Mark Waddingham via use-livecode wrote:

This sounds like a bug we are currently fixing (hopefully in time for 9.6-DP-4) 
- the android player doesn’t currently play nicely with accelerated 
rendering... Turning that off should mean things play properly.

We use the system player object so MP4 should be fine.

Warmest Regards,

Mark.

Sent from my iPhone


On 9 Apr 2020, at 20:31, J. Landman Gay via use-livecode 
 wrote:

I tried the browser widget: no audio, no video, white screen, no browser 
outline on Android.

I tried a mobile browser (mobileControlCreate): audio plays, no video, white 
screen.

So yeah, it looks like there's no codec. The widget on desktop doesn't play it 
either. If I ask the client to re-do the videos, what codec should I ask for? I 
was told that we had to use their existing videos, so I'm not even sure they 
will re-do them.


On 4/9/20 1:01 PM, Tom Glod via use-livecode wrote:
  I'm sorry to be the bearer of bad news here.  :(
if its h264 the browser widget won't play it. If you saw video but no audio
then thats one thing.but no video means the video codec is also absent.

On Thu, Apr 9, 2020 at 1:57 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:
They're kind of huge (like 400 MB) so I didn't copy them to my phone, but
they play okay on Mac
using Firefox and on Android using Chrome browser. I guess that doesn't
tell us much.

Swami suggested to me privately that he uses a browser widget to play
videos so I will try that
next.

On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote:

What happens if you play the file locally on each device?

-Mark

On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


Not sure what you mean by "an existing app" but my test app uses
mobileControlCreate to set up
a mobile player. When it accesses the video from my server, it's all

black

with no video or
audio, and the nonexistent playback quits a few seconds in.

I'm not sure whether these videos were created with streaming in mind. I
vaguely remember we
used to need to set a "streaming" checkbox when creating a video. Is

that

still required?


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




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




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



___
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




--
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: Video format for mobile

2020-04-09 Thread J. Landman Gay via use-livecode
The videos are, in fact, 1920x1080. I set the size of both the widget or the mobile scripted 
browser (whichever I was testing) to the card size but it still didn't play. Wish it worked, it 
would have been a nice trick.


On 4/9/20 3:41 PM, Colin Holgate via use-livecode wrote:

A long time ago it was possible to work around hardware acceleration issues by 
playing the video at a different size. That is, a 1920x1080 playback would fail 
and a 1920x1081 would work. It was just a trick to force the player to use 
software instead of hardware.



On Apr 9, 2020, at 2:36 PM, Mark Waddingham via use-livecode 
 wrote:

This sounds like a bug we are currently fixing (hopefully in time for 9.6-DP-4) 
- the android player doesn’t currently play nicely with accelerated 
rendering... Turning that off should mean things play properly.

We use the system player object so MP4 should be fine.

Warmest Regards,

Mark.

Sent from my iPhone


On 9 Apr 2020, at 20:31, J. Landman Gay via use-livecode 
 wrote:

I tried the browser widget: no audio, no video, white screen, no browser 
outline on Android.

I tried a mobile browser (mobileControlCreate): audio plays, no video, white 
screen.

So yeah, it looks like there's no codec. The widget on desktop doesn't play it 
either. If I ask the client to re-do the videos, what codec should I ask for? I 
was told that we had to use their existing videos, so I'm not even sure they 
will re-do them.


On 4/9/20 1:01 PM, Tom Glod via use-livecode wrote:
I'm sorry to be the bearer of bad news here.  :(
if its h264 the browser widget won't play it. If you saw video but no audio
then thats one thing.but no video means the video codec is also absent.

On Thu, Apr 9, 2020 at 1:57 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:
They're kind of huge (like 400 MB) so I didn't copy them to my phone, but
they play okay on Mac
using Firefox and on Android using Chrome browser. I guess that doesn't
tell us much.

Swami suggested to me privately that he uses a browser widget to play
videos so I will try that
next.

On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote:

What happens if you play the file locally on each device?

-Mark

On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


Not sure what you mean by "an existing app" but my test app uses
mobileControlCreate to set up
a mobile player. When it accesses the video from my server, it's all

black

with no video or
audio, and the nonexistent playback quits a few seconds in.

I'm not sure whether these videos were created with streaming in mind. I
vaguely remember we
used to need to set a "streaming" checkbox when creating a video. Is

that

still required?


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




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




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



___
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




--
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: Video format for mobile

2020-04-09 Thread J. Landman Gay via use-livecode

On 4/9/20 3:41 PM, Colin Holgate via use-livecode wrote:

A long time ago it was possible to work around hardware acceleration issues by 
playing the video at a different size. That is, a 1920x1080 playback would fail 
and a 1920x1081 would work. It was just a trick to force the player to use 
software instead of hardware.



I have a hard deadline in a short time. If necessary we'll have to convert at least a few of 
the videos to something else if the problem isn't resolved by dp4.


What codec is acceptable?

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


File paths truncated

2020-04-09 Thread J. Landman Gay via use-livecode
It seems I'm running into obstacles at every turn. A scripted file path to set an image 
reference will not work unless it is relative.


This fails:
specialFolderPath("resources") & "/folder/file"

It has to be "folder/file". The property inspector truncates it automatically if you use its 
file picker. Why? Now I have to write a handler to do the truncation?


I'm using dp3 because I need the fixes, but there's a whole lot wrong and I'm on a very short 
deadline.


--
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: File paths truncated

2020-04-09 Thread J. Landman Gay via use-livecode

On 4/9/20 5:41 PM, J. Landman Gay via use-livecode wrote:
It seems I'm running into obstacles at every turn. A scripted file path to set an image 
reference will not work unless it is relative.


This fails:
specialFolderPath("resources") & "/folder/file"

It has to be "folder/file". The property inspector truncates it automatically if you use its 
file picker. Why? Now I have to write a handler to do the truncation?



Oh, never mind. Stupid typo error. I've been at this way too long today.

--
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: Old Fossil seeks fast track assistance

2020-04-10 Thread J. Landman Gay via use-livecode
The three desktop platforms are on by default. You should be able to turn 
those off. They are incompatible with mobile so they all need to be off 
before you can select either of the mobile ones.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 10, 2020 8:49:44 AM Graham Samuel via use-livecode 
 wrote:


Thanks for the quick reply. I have the green square! I remember when it 
turned from red to green. But sadly my standalone settings window remains 
stubbornly inactive - not frozen: something happens when I click on 
General, Stacks, Copy files etc, but the next five icons to the right which 
let you decide what platform(s) you want to build for simply don’t react to 
mouse clicks. The last two (HTML5 and Bugs) do react. It’s as if I was not 
allowed to choose the platform. Is it something to do with my licence? I 
suppose I could ask the mother ship, though it’s Lockdown and Easter which 
might cause a bit of delay!


Thanks again

Graham


On 9 Apr 2020, at 20:53, Devin Asay via use-livecode 
 wrote:


Graham,

Not really visualizing what you’re seeing. When you choose Xcode from your 
LiveCode mobile support preference pane, all you should have to do is 
navigate to Xcode using the Add Entry button, choose Xcode, and the square 
next to the iOS section should turn green. If you see the green square you 
should be good to go to do Test deploys to the iOS Simulator.


It’s all about the Green Square!

Devin

On Apr 9, 2020, at 9:23 AM, Graham Samuel via use-livecode 
 wrote:


Devin. I was too optimistic in thinking things would now go smoothly! I 
would very much appreciated your advice on the following:


Following your advice to your students, I have downloaded and installed the 
latest XCode I can use on my Mac, which is 10.1. I have set the mobile 
preferences of my LiveCode 9.5.1 Indy to point to the developer section in 
the XCode app as you instruct (to be certain, I deleted the default and 
input the info afresh). I can open a simulator for any of my target iPhones 
-  but when I try to set the Standalone settings for my current project, I 
am unable to select iOS as an option, and indeed I don’t see a detailed set 
of parameters but just a simpler window. (I think it’s called the General 
Settings) In fact I find that I can’t add or subtract any platform, 
although I notice that Mac, Windows and Linux all have a green checkmark, 
which I don’t want! There is supposed to be a Mode Selector accessed by the 
top left button on this screen, but I am not seeing it.


I suppose there must be something wrong with my project, which is at an 
early stage, but features an iPhone shaped card with some buttons on it, at 
least!


I suppose the answer is very very simple, but I have not been able to find 
it. I just can’t see what I’m doing wrong, and if there’s anything in the 
LC documentation about this, it is not obvious, nor do the LC preferences 
settings help.


Sorry for the interruption - I hope you (or someone else on the list) can 
help as I am now completely stuck as far as proper testing goes.


Graham


On 6 Apr 2020, at 16:55, Devin Asay via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:


Graham,

I’ve just been through this gauntlet with my students. I provided some 
links and lessons for them at 
http://livecode.byu.edu/mobile/test-deploy-links.php 
. I found the process 
for setting up Android a little fraught with pitfalls, so I created an 
expanded instruction sheet for Android setup, linked to that page.


I’m staying with the latest Stable version of LiveCode for my class, 9.5.1. 
I’m running on Mac OS 10.14 Mojave. With this setup I have to use Xcode 10.1.


As a refresher, on developer.apple.com 
>, you need to create your iOS developer 
certificate, register all of the UDIDs for your iOS devices, then create a 
wildcard provisioning profile for testing your apps. The provisioning 
profile must include all devices you want to test on.


A collection of links of instructions for distributing mobile apps: 
http://livecode.byu.edu/mobile/mobileAppDistribution.php 
.


I hope this will all help jog your memory. I find mine needs to be jogged 
every time I come back to this mobile stuff after a long time away.


Cheers,

Devin


___
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-

Re: Mobile screen sizes - another naive question

2020-04-10 Thread J. Landman Gay via use-livecode

I hadn't seen that lesson before. They didn't include showAll though.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 10, 2020 12:11:40 PM Richard Gaskin via use-livecode 
 wrote:



Brian Milby wrote:

> I also built a stack last year to show how much space is not used when
> using different modes.  I'll see if I can locate that and make it
> available.

Useful I'm sure, but this lesson about using fullScreenMode as an option
for handling different screen sizes includes illustrations showing the
various crop/pad/stretch/distort effects available with each of the modes:

http://lessons.livecode.com/m/15262/l/565745-how-do-i-make-my-app-scale-to-fit-the-screen-on-all-devices


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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





___
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: Video format for mobile

2020-04-10 Thread J. Landman Gay via use-livecode

@Mark is there a bug number for this? I couldn't find anything.


On 4/9/20 3:36 PM, Mark Waddingham via use-livecode wrote:

This sounds like a bug we are currently fixing (hopefully in time for 9.6-DP-4) 
- the android player doesn’t currently play nicely with accelerated 
rendering... Turning that off should mean things play properly.

We use the system player object so MP4 should be fine.

Warmest Regards,

Mark.

Sent from my iPhone


On 9 Apr 2020, at 20:31, J. Landman Gay via use-livecode 
 wrote:

I tried the browser widget: no audio, no video, white screen, no browser 
outline on Android.

I tried a mobile browser (mobileControlCreate): audio plays, no video, white 
screen.

So yeah, it looks like there's no codec. The widget on desktop doesn't play it 
either. If I ask the client to re-do the videos, what codec should I ask for? I 
was told that we had to use their existing videos, so I'm not even sure they 
will re-do them.


On 4/9/20 1:01 PM, Tom Glod via use-livecode wrote:
  I'm sorry to be the bearer of bad news here.  :(
if its h264 the browser widget won't play it. If you saw video but no audio
then thats one thing.but no video means the video codec is also absent.

On Thu, Apr 9, 2020 at 1:57 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:
They're kind of huge (like 400 MB) so I didn't copy them to my phone, but
they play okay on Mac
using Firefox and on Android using Chrome browser. I guess that doesn't
tell us much.

Swami suggested to me privately that he uses a browser widget to play
videos so I will try that
next.

On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote:

What happens if you play the file locally on each device?

-Mark

On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


Not sure what you mean by "an existing app" but my test app uses
mobileControlCreate to set up
a mobile player. When it accesses the video from my server, it's all

black

with no video or
audio, and the nonexistent playback quits a few seconds in.

I'm not sure whether these videos were created with streaming in mind. I
vaguely remember we
used to need to set a "streaming" checkbox when creating a video. Is

that

still required?


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




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




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



___
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




--
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: Old Fossil seeks fast track assistance

2020-04-10 Thread J. Landman Gay via use-livecode

On 4/10/20 12:42 PM, Graham Samuel via use-livecode wrote:

Thanks Jacque, but that’s the trouble - I can’t turn them off. I thought of 
trashing the LC Preferences to see if that does anything, but I couldn’t find 
them: I think they are in the plist, which is in the Preferences in the system 
library. I tried temporarily switching this off (by renaming the file and 
starting LC) - it stopped LC fully loading (not surprising really). I restored 
the plist and LC had forgotten some stuff like recent stacks. I checked that 
the mobile preference pane still has its green square and can see XCode, but 
the Standalone Settings still does not respond to mouse clicks to remove the 
non-mobile platforms or to choose mobile.


Your LC prefs are in your user library at /Users/name>/Library/Preferences/RunRev/livecode7.rev. I'm not sure prefs are related here though.


I'd first try removing the stored standalone settings, which are stored in the stack itself. 
Use the property inspector to check the custom properties of the stack. There should be a 
property set named "revStandaloneSettings". Try deleting that set and starting over.


--
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: Mobile screen sizes - another naive question

2020-04-10 Thread J. Landman Gay via use-livecode
It's similar to noBorder, but noBorder scales to the short side of the screenrect and showAll 
scales to the long side (regardless of orientation.)


I think. I get those two mixed up.

On 4/10/20 1:14 PM, Richard Gaskin via use-livecode wrote:
Good catch. It would be great if the Lessons were in Github so they could be enhanced by the 
community. I guess for now a comment there is the only mechanism for filing enhancement requests.


How does showAll differ from the options shown there?




--
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: Video format for mobile

2020-04-10 Thread J. Landman Gay via use-livecode
I haven't actually tried either of those because 1) I can't expect users to fiddle with 
hardware acceleration, and 2) there aren't any security issues, since (as I just noticed) the 
player control in the IDE will play the video.


I thought it didn't work before because the size of the video is so large that all I saw was a 
portion of the initial white frame; the controller and edges were far off the card boundaries. 
Once I enlarged the card to something huge, I could see the controller and play the video, 
which did work.


Since the test stack does not use acceleratedRendering at all, I don't think the bug Mark 
mentioned applies, though who knows. I couldn't find a bug report.


I'm now wondering if the video needs to have a special setting for streaming. When I play it 
with the LC player in the IDE, it starts up instantaly and plays. On Android, I see a black 
rectangle with a controller that disappears after some seconds. After that nothing happens. 
I've waited several minutes to see if Android was trying to download the entire file (which is 
100 MB) but either I didn't wait long enough or it didn't work. So that's why I'm wondering if 
the video needs to be specifically created with a streaming flag.


On 4/9/20 5:34 PM, Colin Holgate via use-livecode wrote:

Only H.264/AAC is acceptable!

Have you tried setting hardware acceleration rendering to be on?

Have you tried including a small video file in the app, to help rule out 
security issues?



On Apr 9, 2020, at 4:10 PM, J. Landman Gay via use-livecode 
 wrote:

On 4/9/20 3:41 PM, Colin Holgate via use-livecode wrote:

A long time ago it was possible to work around hardware acceleration issues by 
playing the video at a different size. That is, a 1920x1080 playback would fail 
and a 1920x1081 would work. It was just a trick to force the player to use 
software instead of hardware.



I have a hard deadline in a short time. If necessary we'll have to convert at 
least a few of the videos to something else if the problem isn't resolved by 
dp4.

What codec is acceptable?

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



___
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




--
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: Mobile screen sizes - another naive question

2020-04-10 Thread J. Landman Gay via use-livecode

I hadn't thought about it that way. That's easier to remember.

On 4/10/20 1:20 PM, Brian Milby via use-livecode wrote:

showAll is the same as letterBox but the borders are the stack background 
instead of black.

Thanks,
Brian
On Apr 10, 2020, 2:15 PM -0400, Richard Gaskin via use-livecode 
, wrote:

Good catch. It would be great if the Lessons were in Github so they
could be enhanced by the community. I guess for now a comment there is
the only mechanism for filing enhancement requests.

How does showAll differ from the options shown there?

--
Richard Gaskin
Fourth World Systems


J. Landman Gay wrote:

I hadn't seen that lesson before. They didn't include showAll though.

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 10, 2020 12:11:40 PM Richard Gaskin via use-livecode
 wrote:


Brian Milby wrote:


I also built a stack last year to show how much space is not used when
using different modes. I'll see if I can locate that and make it
available.


Useful I'm sure, but this lesson about using fullScreenMode as an option
for handling different screen sizes includes illustrations showing the
various crop/pad/stretch/distort effects available with each of the modes:

http://lessons.livecode.com/m/15262/l/565745-how-do-i-make-my-app-scale-to-fit-the-screen-on-all-devices




___
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




--
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: Apps to fight COVID-19

2020-04-10 Thread J. Landman Gay via use-livecode
I've resented that before. Apple adds a popular feature to iOS based on the 
download count of apps in its store, and then removes the original author's 
app and won't reinstate it.


Google does the same thing but at least leaves the original app available.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 10, 2020 6:44:06 PM dsc--- via use-livecode 
 wrote:



Short rant; skip if busy.

What really gets me is that Carmela Troncoso, with help from an asteroid 
belt of others, has worked hard on DP-3T, and Apple/Google adopts it with 
some changes and then is all Apple/Google! Apple/Google! in the news. I 
know that a big name can save lives. And I expect Dr. Troncoso is not in it 
for the glory. But, still...


I want to recognize my heroes.

And I'm sure there are some heroes out there that are only known to be 
heroes by a few, and those might be the cats.



On Apr 10, 2020, at 5:18 PM, Dar Scott Consulting via use-livecode 
 wrote:


The illustrations from Google in that article are goofed up. I don't know 
whether Google did it or TechCrunch.


The gray background confuses things. The "few days later" goes left to 
right not top to bottom.


The order should be...

Alice and Bob meet...
Their phones exchange...
A few days later...
Bob is positively...
With Bob's consent...
Alice continues...
Alice's phone...
Sometime later...
Alice sees a notification...
Alice's phone...

I'm not saying that is the best way, only that the description of the 
procedure outlined by Google is confusing.





On Apr 10, 2020, at 4:58 PM, Trevor DeVore via use-livecode 
 wrote:


On Fri, Apr 10, 2020 at 5:07 PM Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:


On 4/10/20 11:56 AM, Mike Doub via use-livecode wrote:

Apple and Google adding contact tracking to their OSs



https://www.nytimes.com/2020/04/10/business/stock-market-today-coronavirus.html#link-418ae121

From my limited understanding of this, Apple and Google are creating an
API which will be part of the OS. And then it's up to developers to
create apps and convince users to download them (Apple gets their 30%
off the top, no?). So at best we have reporting from the set of users
who have decided to opt in, download an app, and accept the app's
permissions.



Here are some additional details. Seems like a good thing they are doing.

https://techcrunch.com/2020/04/10/apple-and-google-are-launching-a-joint-covid-19-tracing-tool/

--
Trevor DeVore
ScreenSteps
___
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



___
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


Re: Video format for mobile

2020-04-12 Thread J. Landman Gay via use-livecode

On 4/12/20 9:43 AM, Mark Waddingham via use-livecode wrote:

On 2020-04-10 21:39, J. Landman Gay via use-livecode wrote:

@Mark is there a bug number for this? I couldn't find anything.


Not specifically as yet I don't think - Monte noticed some issues late last week, and is the 
progress of fixing them. I've asked him to chime in when he's back to work :)


Thanks, that's good. I can give him a link to one of my videos that doesn't work on Android, 
just in case the cause is a bit different from what he's working on now. It's pretty much 
time-critical at my end.


--
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: LiveCode useless seems to be Junk

2020-04-12 Thread J. Landman Gay via use-livecode

On 4/12/20 1:11 PM, Richmond via use-livecode wrote:

This is a real pain-in-the-bum, but Thunderbird has recently started marking 
posts from
the Use-list as junk.

I wonder if anyone knows whay, and whether there is something that can be done: either at my 
end, or server-side?


I use Thunderbird and don't see the problem. I have a filter that moves list mail to another 
folder, you could try that.


--
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: Video format for mobile

2020-04-12 Thread J. Landman Gay via use-livecode

On 4/12/20 4:16 PM, Monte Goulding via use-livecode wrote:




On 13 Apr 2020, at 3:58 am, J. Landman Gay via use-livecode 
 wrote:

On 4/12/20 9:43 AM, Mark Waddingham via use-livecode wrote:

On 2020-04-10 21:39, J. Landman Gay via use-livecode wrote:

@Mark is there a bug number for this? I couldn't find anything.

Not specifically as yet I don't think - Monte noticed some issues late last 
week, and is the progress of fixing them. I've asked him to chime in when he's 
back to work :)


Thanks, that's good. I can give him a link to one of my videos that doesn't 
work on Android, just in case the cause is a bit different from what he's 
working on now. It's pretty much time-critical at my end.


Hi Jacque

I noticed some very similar behavior to what you are seeing but only when 
acceleratedRendering is on. I could hear audio but the video was just white. 
Turning off acceleratedRendering fixed the issue for me. I found a way to 
resolve the issue in the engine. If anyone is interested it has to do with how 
the main surface view and the video surface view are layered. The same issue 
appears to impact the camera control and likely (untested yet) impacts the 
barcode scanner widget. I’m not sure if what you are seeing is related if 
acceleratedRendering is not true.

First up this morning I’m creating a recipe stack for this and another issue I 
found with android player then crating bug reports. If you would like to create 
a recipe stack to demonstrate your issue that would be helpful too. Perhaps 
attach to your own bug report and then we can determine if it’s a duplicate of 
what I’m seeing or something else.


Done: <https://quality.livecode.com/show_bug.cgi?id=22674>

Thanks Monte.

--
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: Video format for mobile

2020-04-13 Thread J. Landman Gay via use-livecode

On 4/13/20 5:38 PM, Monte Goulding via use-livecode wrote:

Hi Jacque

Good news! This is not a bug!

As of Android 9 clear text HTTP is disabled by default. This is much like the 
ATS restrictions on iOS. We probably need to add a way to configure this in the 
standalone builder for Android like we do for iOS even though it’s not 
advisable.

Changing your video url to https resoled the issue.

See 
https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted
 



The bug was me. I didn't know about the HTTPS requirement, but in addition I had to add the SSL 
library and set hardware acceleration too (I think that's what Colin meant, and I misunderstood.)


Sorry you had to spend time on this, especially since Panos beat you to it.


--
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: Making an iOS app look like one

2020-04-16 Thread J. Landman Gay via use-livecode

On 4/16/20 2:00 PM, Brian Milby via use-livecode wrote:

The ability to create additional SVG Icon Libraries is something that I
helped get done a while back.  Here's a thread with a stack that I
developed that helps organize libraries:


I should have guessed you'd had a hand in this. ;) Someone should take a look at the dictionary 
entries for addIcon and addIconFamily, and maybe some of the other related entries. The syntax 
is wrong and it threw me -- they look like functions (with parentheses) but they're command 
handlers.


If I weren't so stressed for time I'd write a bug report.

--
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: A short question about Xcode

2020-04-16 Thread J. Landman Gay via use-livecode

On 4/16/20 3:12 PM, Graham Samuel via use-livecode wrote:

Why is it so complicated? How can anyone write a single piece of software (I’m 
talking about XCode) that uses up more bytes than would be needed for the 
Library of Babel?


That. But it is what it is, and I plan to spend double or triple the usual time when a client 
wants a mobile app, which virtually all of them do these days.


You don't need XCode though, except to have it sitting on your hard drive with its command 
tools installed. Once that's done, you can ignore it. Use the Development menu to choose your 
test device, and then choose Test from the menu, or just click the Test button in the toolbar. 
(And make sure your stack is focused or nothing will happen.) As long as XCode is set up and 
green-lighted in LC mobile preferences, that's all you need.


If you want to use a simulator though, you do have to launch it from XCode. But then you can 
ignore it again.


--
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: A short question about Xcode

2020-04-16 Thread J. Landman Gay via use-livecode

On 4/16/20 2:04 PM, Graham Samuel via use-livecode wrote:

Sadly, my test targets are just simulators. No real device is mentioned.


Missed this the first time around. You can still do everything from LC, once you launch a 
simulator which you need to do from XCode. Wait until it is fully launched and running.


Then you can choose the simulator from the LC Development menu, hit the Test button and it 
should go.


--
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: Long Standing Issue with the defaultStack

2020-04-18 Thread J. Landman Gay via use-livecode

What do you get if you use "go" instead of "open"?

On 4/18/20 3:48 PM, Bob Sneidar via use-livecode wrote:

Okay I created a simple stack with one sub stack. In the card script of stack 1 
I put the handler:

on openStack
put the defaultStack & cr into msg
open stack "untitled 2"
put the defaultStack & cr after msg
open me
put the defaultStack & cr after msg
end openStack

I get:
stack "Untitled 1"
stack "Untitled 2"
stack "Untitled 2”

It seems going,opening a stack sets the opened stack to the default… IF IT’s 
NOT ALREADY OPENED! If it IS, well then you are on your own. The defaultStack 
is the last stack opened. (I’m assuming it’s a normal stack and not a pallet or 
something else).

Now you would think at this point you can use topStack instead, but NAY! This 
script:

on openStack
put the defaultStack && the short name of the topStack & cr into msg
open stack "untitled 2"
put the defaultStack && the short name of the topStack & cr after msg
go me
put the defaultStack && the short name of the topStack & cr after msg
end openStack

produces:
stack "Untitled 1" Untitled 1
stack "Untitled 2" Untitled 2
stack "Untitled 2" Untitled 2

After I go me, neither the defaultStack nor the topStack changes! What is more, 
the untitled 2 stack still has focus!!

Just to be certain I disabled all my plugins and relaunched, same thing.

This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be.

Bob S




On Apr 18, 2020, at 12:56 PM, Mark Wieder via use-livecode 
 wrote:

On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote:


Until I can figure out what is causing it, I cannot trust the defaultStack.


I think the basic lesson here is "if you're going to rely on the defaultstack you 
should set the defaultstack".

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




--
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: Sound and the Xcode simulator

2020-04-18 Thread J. Landman Gay via use-livecode

Are you using a scripted player?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 18, 2020 4:19:52 PM Graham Samuel via use-livecode 
 wrote:



This is a simple one.

I have a sound (and audioclip) that plays in the IDE (it’s a WAV), but when 
I try it in the iPhone simulator it doesn’t play. The simulated phone is 
not silent and has a decent amount of sound volume. I have tried both 
‘System’ and ‘Internal Speakers’ as outputs from the simulator.


Is this my fault or the simulator’s?

Graham
___
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


Re: Long Standing Issue with the defaultStack

2020-04-18 Thread J. Landman Gay via use-livecode
The stack style is important, its mode influences which stack is toplevel 
and default. A palette shouldn't be the default stack unless you focus on 
it, for instance.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 18, 2020 4:14:27 PM Bob Sneidar via use-livecode 
 wrote:


The only reliable way to change either by script is by setting the style of 
a stack to “topLevel”.




___
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: LC 9.6.0 (dp4) - cannot set the URL of an iOS native browser if it was previously set to empty

2020-04-19 Thread J. Landman Gay via use-livecode

This looks a lot like the bug in the browser widget in LC dp3 which was fixed 
for dp4:


On 4/18/20 12:52 PM, HENRY LOWE via use-livecode wrote:

Took me some time to track this one down, so I thought that it might be helpful 
to know in advance:

With LC 9.6.0 (dp4) after setting the url of the iOS native browser (not the 
Browser Widget) to empty, one cannot set the browser’s url to another value.

Example:

MobileControlSet "rkWebView","URL”,empty

MobileControlSet "rkWebView”,”https://www.apple.com” 
 - page fails to load (blank display and 
browser url is empty)

This has been confirmed as a regression: 
https://quality.livecode.com/show_bug.cgi?id=22688 




--
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: Issues with Mobile Native controls

2020-04-20 Thread J. Landman Gay via use-livecode
I've been using Brian's tool a lot lately, it sure beats doing all that 
work yourself. I export my new icon family to a file and then import the 
array file into a custom property of the stack. When the app starts up it 
sets the icon family to the array and it just works.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 20, 2020 8:07:53 AM Brian Milby via use-livecode 
 wrote:



Icons can be updated to anything you want.  See this thread about the SVG
Icon Tool that I developed.  The package on my website has a large number
of icons included that you can browse and combine into your own Icon Family.

http://forums.livecode.com/viewtopic.php?f=10&t=30411

Once you change the default family, then those icons are visible from the
chooser in the PI.

On Mon, Apr 20, 2020 at 6:30 AM Graham Samuel via use-livecode <
use-livecode@lists.runrev.com> wrote:


I’ve recently bought Mobile Native Essential pack in a slightly desperate
attempt to get my mobile app look more native, but I’ve had trouble with
the bits I’ve used:

Labels - sometimes are not visible even when the vis is definitely true;
strange scheme which means that the name you give it is the same as the
name displayed, leading to very much deprecated names with spaces in them.

Switch - caused a (simulated) version of my app to seize up. As a test, I
tried to open a card containing just that one object and it zonked the app.
I will be reporting this, but of course wonder it it’s something I’ve done.

Outside the paid-for pack, I also have issues with the native button
(doesn’t look all that native in iOS) and the navigation bar (eccentric
choice of icons IMHO, and no apparent way of adding to them).

I don’t really want to moan but I would like to see some improvement. Is
this list a good place to discuss these issues?

Graham
___
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





___
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


HTTPHeaders

2020-04-20 Thread J. Landman Gay via use-livecode

Are the httpHeaders persistent or do I need to set them before each server call?

--
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: Issues with Mobile Native controls

2020-04-20 Thread J. Landman Gay via use-livecode

On 4/20/20 3:57 PM, Graham Samuel via use-livecode wrote:

  I would like there to be a library of such things, and hoped they’d be SVGs. 
Still hoping.


Make your own icon family using Brian's tool. There are thousands of SVG icons on the web, 
mostly free. Go here, for a start: https://www.svgrepo.com/


Set aside an afternoon, you can get lost in there.

--
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: Issues with Mobile Native controls

2020-04-20 Thread J. Landman Gay via use-livecode

On 4/20/20 3:50 PM, Graham Samuel via use-livecode wrote:

the switch widget crashed the simulator


I've used LC's built-in switch widget without any problems. I don't know if that's included in 
Indy though.


--
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: Issues with Mobile Native controls

2020-04-20 Thread J. Landman Gay via use-livecode
The one I mean is actually a widget but we're probably talking about the 
same thing. I like it because you can set the theme and it displays 
correctly for either iOS or Android.


I'd love to see more themed widgets like that, maybe a mobileButton widget 
for example.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 20, 2020 6:24:48 PM Rick Harrison via use-livecode 
 wrote:



Are you referring to the switch button?
If so, yes it is in Indy.

Rick

On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode 
 wrote:


I've used LC's built-in switch widget without any problems. I don't know if 
that's included in Indy though.


___
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


Re: HTTPHeaders

2020-04-20 Thread J. Landman Gay via use-livecode

Thanks Devin, that'll save me some code.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 20, 2020 5:08:53 PM Devin Asay via use-livecode 
 wrote:


In my experience they are persistent throughout a session, sort of like 
setting the defaultFolder.


Devin

On Apr 20, 2020, at 3:11 PM, J. Landman Gay via use-livecode 
 wrote:


Are the httpHeaders persistent or do I need to set them before each server 
call?


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



___
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


Re: Google Play Wants Us to Use Android App Bundle?

2020-04-20 Thread J. Landman Gay via use-livecode
When I looked into it, x86 had almost no users any more and hasn't for 
years. So I just built 2 apps for ARM, 32-bit and 64-bit. I'm thinking I 
may not need 32-bit either, except that Chromebooks only support 32-bit and 
we have a few users who run our app on those.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 20, 2020 4:23:39 PM Sannyasin Brahmanathaswami via use-livecode 
 wrote:



Trying to upload the latest release of my app for Android

I rolled out the my app Google Play console

2 arm versions-together - v24
2 86 versions together - v25

Google Play accept the rollout (with a 7-day review disclaimer)   and says:

--
Warning:

This APK results in unused code and resources being sent to users. Your app 
could be smaller if you used the Android App Bundle. By not optimizing your 
app for device configurations, your app is larger to download and install 
on users' devices than it needs to be. Larger apps see lower install 
success rates and take up storage on users' devices.


Resolution:

Use the Android App Bundle to automatically optimize for device 
configurations, or manage it yourself with multiple APKs.




How can we use " Android App Bundle"?

What does it do?

BR



___
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


Re: Issues with Mobile Native controls

2020-04-21 Thread J. Landman Gay via use-livecode
I think you're right, the "native" switch is the one you bought. I've had 
no issues with the one that comes with LC.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 21, 2020 4:19:45 AM Graham Samuel via use-livecode 
 wrote:


I’ve got ‘Switch Button’ and a ‘Native Switch Button’ in the LC toolbox. 
Not sure which one you are talking about.


The second one came with the widget set I bought, I think. Anyway it has 
caused me a lot of trouble with the iOS simulator, but that may be because 
the environment I’m working in is rather out of date apart from LC itself 
(I’m using 9.5.1). LC Support are looking at it for me, but I already guess 
that they will say “it works here”, since they will be running the latest 
version of XCode etc. which is not permitted with my setup.


Graham

On 21 Apr 2020, at 02:37, J. Landman Gay via use-livecode 
 wrote:


The one I mean is actually a widget but we're probably talking about the 
same thing. I like it because you can set the theme and it displays 
correctly for either iOS or Android.


I'd love to see more themed widgets like that, maybe a mobileButton widget 
for example.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 20, 2020 6:24:48 PM Rick Harrison via use-livecode 
 wrote:



Are you referring to the switch button?
If so, yes it is in Indy.

Rick

On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode 
 wrote:


I've used LC's built-in switch widget without any problems. I don't know if 
that's included in Indy though.


___
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



___
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


Re: Widget Properties

2020-04-24 Thread J. Landman Gay via use-livecode

On 4/24/20 3:37 AM, Graham Samuel via use-livecode wrote:

As my app took shape, I noticed how unlike a typical iPhone app it looked, 
mostly because I was using the controls I was familiar with, such as radio 
buttons and ordinary fields. I wondered if my users might find its interface 
unfamiliar. Therefore I have been seeking to make my app’s user interface look 
and feel more like other iPhone apps. I have already had a lot of help from 
this list, but it seems there is no one packaged solution to getting an ‘iPhone 
look and feel’.


You mentioned the iOS native button doesn't look right. If it makes you feel better, the 
Android one doesn't either. So what I did was use a round-rect graphic as a button. Set the 
linesize to 1 and the round radius to 8. You can set the border color and the text color.


I use the same graphic for Android. Sometimes Android buttons have a fill color, sometimes they 
are just borderless text. I adjust those properties based on platform. IOS buttons use sentence 
capitalization, Android buttons use all-caps. The label can be adjusted the same way based on 
platform.


It's an easy fix and looks native.

--
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: Widget Properties

2020-04-24 Thread J. Landman Gay via use-livecode

On 4/23/20 11:41 AM, Graham Samuel via use-livecode wrote:

  Hoping that other properties were just not showing up, I tried

   put the properties of widget “myWidget”

in the message box and got nothing, so I don’t know how to proceed.


The properties are an array so they won't display in the message box. I usually write a tiny 
one-line handler and put a breakpoint in so I can see the array in the variable pane.


--
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: Widget Properties

2020-04-24 Thread J. Landman Gay via use-livecode
My suggestion was just to see what properties are available in the widget. But when I just 
tried it, I see that it doesn't respond in the IDE, what you see is just a placeholder. You can 
search for "ios native button" in the dictionary, where I see only two available properties: 
enabled and label.


If the widget author doesn't support the rest of them, they don't exist. I do see that you can 
resize the rectangle, but since I don't use the native buttons I'm not sure if the size will be 
retained on an iPhone or whether it just defaults to the standard native size.


Typically only the properties that the author has supported will appear in the 
property inspector.


On 4/24/20 3:35 PM, Graham Samuel via use-livecode wrote:

Thanks Jacque - info safely stored in my “how to make a mobile app look like 
one” archive!

Thanks for the other info about properties - how would you then refer to a 
property that isn’t shown in the Property Inspector for a widget, such as 
fontColor (or whatever)? I assume the array is just a way of accessing the 
whole collection and not the route to setting an individual property - but I’m 
probably wrong.

Graham


On 24 Apr 2020, at 20:26, J. Landman Gay via use-livecode 
 wrote:

On 4/24/20 3:37 AM, Graham Samuel via use-livecode wrote:

As my app took shape, I noticed how unlike a typical iPhone app it looked, 
mostly because I was using the controls I was familiar with, such as radio 
buttons and ordinary fields. I wondered if my users might find its interface 
unfamiliar. Therefore I have been seeking to make my app’s user interface look 
and feel more like other iPhone apps. I have already had a lot of help from 
this list, but it seems there is no one packaged solution to getting an ‘iPhone 
look and feel’.


You mentioned the iOS native button doesn't look right. If it makes you feel 
better, the Android one doesn't either. So what I did was use a round-rect 
graphic as a button. Set the linesize to 1 and the round radius to 8. You can 
set the border color and the text color.

I use the same graphic for Android. Sometimes Android buttons have a fill 
color, sometimes they are just borderless text. I adjust those properties based 
on platform. IOS buttons use sentence capitalization, Android buttons use 
all-caps. The label can be adjusted the same way based on platform.

It's an easy fix and looks native.

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



___
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




--
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: Widget Properties

2020-04-25 Thread J. Landman Gay via use-livecode
Don't despair, not all widgets are duds. I've used several with good 
success: the browser widget, spinner, tree view, switch button, nav bar, 
segmented control and probably some others I can't remember. Since each 
widget is authored by an individual, the properties they support vary but 
like any software, feature requests are considered.


In my case I usually can't wait for a specific feature so I use LC controls 
or groups that emulate the control I need. In my last project I created a 
navigation bar with LC controls but it was recently updated to support a 
feature I needed and now I'm using it again.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 25, 2020 9:19:00 AM Graham Samuel via use-livecode 
 wrote:



Thanks Jacque

You’re adding to my gloom about widgets being offered as native controls - 
the only reason they were produced AFAIKS was to produce a superior result 
to whatever else was on offer, and if they don’t, why bother? I have a 
feeling not many people are trying to use them - you don’t for example, and 
so far nobody on this list has come to their defence. Perhaps LC’s widget 
factory is right to put their energies elsewhere.


Graham

On 25 Apr 2020, at 00:03, J. Landman Gay via use-livecode 
 wrote:


My suggestion was just to see what properties are available in the widget. 
But when I just tried it, I see that it doesn't respond in the IDE, what 
you see is just a placeholder. You can search for "ios native button" in 
the dictionary, where I see only two available properties: enabled and label.


If the widget author doesn't support the rest of them, they don't exist. I 
do see that you can resize the rectangle, but since I don't use the native 
buttons I'm not sure if the size will be retained on an iPhone or whether 
it just defaults to the standard native size.


Typically only the properties that the author has supported will appear in 
the property inspector.



On 4/24/20 3:35 PM, Graham Samuel via use-livecode wrote:
Thanks Jacque - info safely stored in my “how to make a mobile app look 
like one” archive!
Thanks for the other info about properties - how would you then refer to a 
property that isn’t shown in the Property Inspector for a widget, such as 
fontColor (or whatever)? I assume the array is just a way of accessing the 
whole collection and not the route to setting an individual property - but 
I’m probably wrong.

Graham
On 24 Apr 2020, at 20:26, J. Landman Gay via use-livecode 
 wrote:


On 4/24/20 3:37 AM, Graham Samuel via use-livecode wrote:
As my app took shape, I noticed how unlike a typical iPhone app it looked, 
mostly because I was using the controls I was familiar with, such as radio 
buttons and ordinary fields. I wondered if my users might find its 
interface unfamiliar. Therefore I have been seeking to make my app’s user 
interface look and feel more like other iPhone apps. I have already had a 
lot of help from this list, but it seems there is no one packaged solution 
to getting an ‘iPhone look and feel’.


You mentioned the iOS native button doesn't look right. If it makes you 
feel better, the Android one doesn't either. So what I did was use a 
round-rect graphic as a button. Set the linesize to 1 and the round radius 
to 8. You can set the border color and the text color.


I use the same graphic for Android. Sometimes Android buttons have a fill 
color, sometimes they are just borderless text. I adjust those properties 
based on platform. IOS buttons use sentence capitalization, Android buttons 
use all-caps. The label can be adjusted the same way based on platform.


It's an easy fix and looks native.

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

___
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



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



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subsc

Re: Three very simple questions

2020-04-26 Thread J. Landman Gay via use-livecode
When I need a calculated constant I use a script local variable instead and 
populate its content on preopencard or preOpenStack. After that its 
available just as a constant would be.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 26, 2020 11:45:04 AM Graham Samuel via use-livecode 
 wrote:


Arrays - Alex confirms there is no such thing as a constant declaration for 
arrays.




___
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: How to make a mobile app stay alive in the background?

2020-04-26 Thread J. Landman Gay via use-livecode

On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote:

I notice in the Standalone Settings for iOS in LC 9.5.1, a button ‘Background 
Execution’. If I click it, I get a warning that I don’t really understand which 
suggests that LC doesn’t officially support the feature. I’m not even sure if 
this feature is what I need.


You are probably running an older version of LC since that checkbox has been removed recently. 
iOS now runs all apps in the background, much as Android always has, and if you use that 
checkbox now the App Store will reject your app. The deal is, the OS will keep the app in the 
background until it needs RAM for something else and then it dumps the app. There's no telling 
when that will happen.


This came up yesterday in the forums. The poster wanted his app *not* to run in the background 
after a certain amount of time. We get no messages once the app goes into the background, the 
only message sent is "shutdown" when the app gets wiped by the OS. In the meantime, the app 
becomes inactive if it isn't frontmost.


Other apps seem to be able to manage this better, so it seems there's something available that 
LC doesn't support.


The imperfect workaround, such as it is, is to write everything to disk that the app might 
possibly need if it suddenly stops. When it comes to the front again, reload everything and 
carry on (you'll get an openstack message when that happens.) For example, if your app has a 
login screen then you'd need to store the credentials on disk and automatically log the user in 
when the app restarts. Provide a "log out" button so they can quit on purpose; it would delete 
the credentials from disk so they'd need to log in again next time.


Basically you have to save the user state repeatedly whenever anything significant changes, in 
case the app goes dormant.


--
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: How do I format a handler in the use-List?

2020-04-26 Thread J. Landman Gay via use-livecode

On 4/26/20 2:20 PM, dunbarx--- via use-livecode wrote:

Try as I might, I cannot format a handler example copied from the SE. The 
result is always run-on, even though I add spaces and returns where 
appropriate. The text seems readable when I send, but reverts to a run-on 
string when I read in the list.
Why is this so much more difficult than the forum?
Is AOL the culprit?


Maybe. The list may be expecting different line endings than AOL provides. What we usually see 
when people paste here from the SE is a bunch of markup symbols, but the carriage returns 
generally come through okay.


Here's a copy/paste test from my LC editor, let's see what happens:

on mouseUp
  hide me
end mouseUp

--
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: Wildcard? replaceText, offset?

2020-04-26 Thread J. Landman Gay via use-livecode

On 4/26/20 1:24 PM, Rick Harrison via use-livecode wrote:

In the middle-end part of the string I have “(x)” where x represents some 
integer.
it could be (4) or (10) or (5) etc.

I just want to replace the number inside the () with whatever other number I 
need to.


If there is only a single instance, you could:

  replace "(x)" with "(" & someNumber & ")" in myString

If there is more than one instance then each instance would need a unique character inside the 
parentheses.


--
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: How to make a mobile app stay alive in the background?

2020-04-27 Thread J. Landman Gay via use-livecode

On 4/27/20 1:48 AM, Mark Waddingham via use-livecode wrote:


Both mergBgTask and mergNotify provide features to enable managing the background task feature 
of iOS, and the suspend/resume notifications though.


And for Android...what?

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


FormattedHeight

2020-05-01 Thread J. Landman Gay via use-livecode

Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 (and 
possibly dp3).

I'm a little frantic.

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

2020-05-01 Thread J. Landman Gay via use-livecode
Yes, that seems to be the problem. I have a long text field that exceeds the maximum. There's 
an enclosing group to be compatible with acceleratedRendering on mobile. The same setup is used 
for all the field/group combinations in the stack and they all work except this one, but the 
others are all shorter.


I set the inner field to its full formattedHeight inside the group, which is shorter. The group 
has a behavior that scrolls the content.


I discovered today that if I set the behavior on the field instead of its enclosing group, I 
can make it scroll. But acceleratedRendering on a field is jerky and doesn't work very well on 
mobile. I can't break up the text, it has to be all one block. I have tried setting the group 
to container layermode without success.


If you're wondering why the text exceeds the maximum, this is for a mobile app and there is not 
only a lot of heavy formatting with large headings and spaceBelow, but the text size is largish 
so that it is readable on a tiny phone. That makes the pixel count pretty high.


I only have a very short time left to solve this.

On 5/1/20 4:45 PM, scott--- via use-livecode wrote:

Are you exceeding the maximum vertical scroll?
(I haven’t run into this recently but I believe at one point the vScroll of 
groups was limited at the engine level to 32780)

Scott Morrow

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




On May 1, 2020, at 1:17 PM, J. Landman Gay via use-livecode 
 wrote:

Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 (and 
possibly dp3).

I'm a little frantic.

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










___
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




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

2020-05-02 Thread J. Landman Gay via use-livecode

I think the solution has to be in the engine. I'm in trouble.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 2, 2020 2:27:53 AM scott--- via use-livecode 
 wrote:


I’ve run into that a few times but not recently. I couldn’t find anywhere 
that I had worked around it. All I can imagine trying is

1. Swapping text in and out at some point (possibly just one giant stutter) or
2. Changing the size of the text that is not visible during the scroll… 
though (the more I think about that one the more it seems like it would 
make the scroll wacky in other ways)  Neither seems super-promising but 
that’s all I can think of at the moment. If you find a solution, I would 
love to know what it is.

—
Scott


On May 1, 2020, at 10:24 PM, J. Landman Gay via use-livecode 
 wrote:


Yes, that seems to be the problem. I have a long text field that exceeds 
the maximum. There's an enclosing group to be compatible with 
acceleratedRendering on mobile. The same setup is used for all the 
field/group combinations in the stack and they all work except this one, 
but the others are all shorter.


I set the inner field to its full formattedHeight inside the group, which 
is shorter. The group has a behavior that scrolls the content.


I discovered today that if I set the behavior on the field instead of its 
enclosing group, I can make it scroll. But acceleratedRendering on a field 
is jerky and doesn't work very well on mobile. I can't break up the text, 
it has to be all one block. I have tried setting the group to container 
layermode without success.


If you're wondering why the text exceeds the maximum, this is for a mobile 
app and there is not only a lot of heavy formatting with large headings and 
spaceBelow, but the text size is largish so that it is readable on a tiny 
phone. That makes the pixel count pretty high.


I only have a very short time left to solve this.

On 5/1/20 4:45 PM, scott--- via use-livecode wrote:

Are you exceeding the maximum vertical scroll?
(I haven’t run into this recently but I believe at one point the vScroll of 
groups was limited at the engine level to 32780)

Scott Morrow
Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--
On May 1, 2020, at 1:17 PM, J. Landman Gay via use-livecode 
 wrote:


Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 (and 
possibly dp3).


I'm a little frantic.

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

___
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



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



___
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


Re: FormattedHeight

2020-05-02 Thread J. Landman Gay via use-livecode
I was considering that when Trevor contacted me and suggested his DataView 
(he posted about it today) and it's the same idea. I'm going to look into 
that, it sounds promising.


I really appreciate the responses here, you guys are awesome.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 2, 2020 6:38:05 PM scott--- via use-livecode 
 wrote:


What about having two fields with a small amount of overlapping (same) text 
and as the first field reaches the end of its scroll, the second field 
could be displayed and begin its scroll…

—Scott


On May 2, 2020, at 10:25 AM, J. Landman Gay via use-livecode 
 wrote:


I think the solution has to be in the engine. I'm in trouble.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 2, 2020 2:27:53 AM scott--- via use-livecode 
 wrote:


I’ve run into that a few times but not recently. I couldn’t find anywhere 
that I had worked around it. All I can imagine trying is

1. Swapping text in and out at some point (possibly just one giant stutter) or
2. Changing the size of the text that is not visible during the scroll… 
though (the more I think about that one the more it seems like it would 
make the scroll wacky in other ways)  Neither seems super-promising but 
that’s all I can think of at the moment. If you find a solution, I would 
love to know what it is.

—
Scott


On May 1, 2020, at 10:24 PM, J. Landman Gay via use-livecode 
 wrote:


Yes, that seems to be the problem. I have a long text field that exceeds 
the maximum. There's an enclosing group to be compatible with 
acceleratedRendering on mobile. The same setup is used for all the 
field/group combinations in the stack and they all work except this one, 
but the others are all shorter.


I set the inner field to its full formattedHeight inside the group, which 
is shorter. The group has a behavior that scrolls the content.


I discovered today that if I set the behavior on the field instead of its 
enclosing group, I can make it scroll. But acceleratedRendering on a field 
is jerky and doesn't work very well on mobile. I can't break up the text, 
it has to be all one block. I have tried setting the group to container 
layermode without success.


If you're wondering why the text exceeds the maximum, this is for a mobile 
app and there is not only a lot of heavy formatting with large headings and 
spaceBelow, but the text size is largish so that it is readable on a tiny 
phone. That makes the pixel count pretty high.


I only have a very short time left to solve this.

On 5/1/20 4:45 PM, scott--- via use-livecode wrote:

Are you exceeding the maximum vertical scroll?
(I haven’t run into this recently but I believe at one point the vScroll of 
groups was limited at the engine level to 32780)

Scott Morrow
Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
------
On May 1, 2020, at 1:17 PM, J. Landman Gay via use-livecode 
 wrote:


Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 (and 
possibly dp3).


I'm a little frantic.

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


___
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


Re: FormattedHeight

2020-05-02 Thread J. Landman Gay via use-livecode
I wish, but no. I need to highlight selections in different colors, overlay 
controls, format text, extract text, and other things that are easy in 
fields but hard in a browser.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 2, 2020 7:31:36 PM Terry Judd via use-livecode 
 wrote:



Could you use a browser instance instead of a field?

On 03/05/2020, 03:27, "use-livecode on behalf of J. Landman Gay via 
use-livecode" use-livecode@lists.runrev.com> wrote:


   I think the solution has to be in the engine. I'm in trouble.

   --
   Jacqueline Landman Gay | jac...@hyperactivesw.com
   HyperActive Software | http://www.hyperactivesw.com
   On May 2, 2020 2:27:53 AM scott--- via use-livecode
wrote:

   > I’ve run into that a few times but not recently. I couldn’t find anywhere
   > that I had worked around it. All I can imagine trying is
   > 1. Swapping text in and out at some point (possibly just one giant 
   stutter) or

   > 2. Changing the size of the text that is not visible during the scroll…
   > though (the more I think about that one the more it seems like it would
   > make the scroll wacky in other ways)  Neither seems super-promising but
   > that’s all I can think of at the moment. If you find a solution, I would
   > love to know what it is.
   > —
   > Scott
   >
   >
   >> On May 1, 2020, at 10:24 PM, J. Landman Gay via use-livecode
   >>  wrote:
   >>
   >> Yes, that seems to be the problem. I have a long text field that exceeds
   >> the maximum. There's an enclosing group to be compatible with
   >> acceleratedRendering on mobile. The same setup is used for all the
   >> field/group combinations in the stack and they all work except this one,
   >> but the others are all shorter.
   >>
   >> I set the inner field to its full formattedHeight inside the group, which
   >> is shorter. The group has a behavior that scrolls the content.
   >>
   >> I discovered today that if I set the behavior on the field instead of its
   >> enclosing group, I can make it scroll. But acceleratedRendering on a field
   >> is jerky and doesn't work very well on mobile. I can't break up the text,
   >> it has to be all one block. I have tried setting the group to container
   >> layermode without success.
   >>
   >> If you're wondering why the text exceeds the maximum, this is for a mobile
   >> app and there is not only a lot of heavy formatting with large headings 
and
   >> spaceBelow, but the text size is largish so that it is readable on a tiny
   >> phone. That makes the pixel count pretty high.
   >>
   >> I only have a very short time left to solve this.
   >>
   >> On 5/1/20 4:45 PM, scott--- via use-livecode wrote:
   >>> Are you exceeding the maximum vertical scroll?
   >>> (I haven’t run into this recently but I believe at one point the vScroll 
of
   >>> groups was limited at the engine level to 32780)
   >>> Scott Morrow
   >>> Elementary Software
   >>> (Now with 20% less chalk dust!)
   >>> web   https://elementarysoftware.com
   >>> email sc...@elementarysoftware.com
   >>> booth1-800-615-0867
   >>> --
   >>>> On May 1, 2020, at 1:17 PM, J. Landman Gay via use-livecode
   >>>>  wrote:
   >>>>
   >>>> Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 (and
   >>>> possibly dp3).
   >>>>
   >>>> I'm a little frantic.
   >>>>
   >>>> --
   >>>> 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
   >>> ___
   >>> 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
   >>
   >>
   >> --
   >> Jacqueline Landman Gay | jac...@hyperactivesw.com
   >> HyperActive Software

Re: Most obscure HC question

2020-05-02 Thread J. Landman Gay via use-livecode

On 5/2/20 6:04 PM, Colin Holgate via use-livecode wrote:

As it’s a standalone application I can’t easily get at the stack, but feel sure 
there was a way to hack the stack out of a standalone.


There was, only I can't remember the details either. But I do remember that there was a fairly 
clear division between the stack content and tacked-on engine, and if you knew what to look for 
you could delete the engine part in a text editor and end up with a working stack.


The thing I can't remember is what to look for as the delimiter. But it would probably be clear 
if I could find one of my old HC standalones, which I can't.


--
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: Most obscure HC question

2020-05-02 Thread J. Landman Gay via use-livecode

On 5/2/20 9:09 PM, Richard Gaskin via use-livecode wrote:
What happens if you make a copy of the HC standalone file, delete the resources, and change the 
file's type fom 'APPL' to 'STAK'?


Can you then open the remaining data fork in an older version of LC to bring it into the modern 
world?




The thing I just sent was wrong. This way is right. Thirty years...

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

2020-05-02 Thread J. Landman Gay via use-livecode

On 5/2/20 8:20 PM, Richard Gaskin via use-livecode wrote:
LiveCode is nearly unmatched for making desktop apps, but for mobile development there are so 
many unfinished edges it's barely a contender for anyone not already heavily invested in 
LiveCode from desktop work.


It would be reassuring if the LC team could share with us their plan to finish their mobile 
implementation, to deliver a user experience on par with its best-of-breed desktop workflows.


That's what widgets are for. There are native fields and buttons, though some are still 
missing, but not enough people are writing them. And unfortunately, mobile GUIs change often 
enough on both Android and iOS that the native buttons aren't so native any more.


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

2020-05-04 Thread J. Landman Gay via use-livecode

On 5/2/20 12:25 PM, J. Landman Gay via use-livecode wrote:

I think the solution has to be in the engine. I'm in trouble.


I am no longer in trouble. :) Huge thanks to Trevor for spending an inordinate amount of time 
with me over the weekend to get his DataView working in my stack. It's really a marvel.


I can't describe how grateful I am to him for getting me out of an uncomfortable situation. 
He's smart, patient, and so very helpful even after my brain fuzzed over at oh-my-god o'clock 
in the wee hours of the morning.


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

2020-05-04 Thread J. Landman Gay via use-livecode

It's do-able though it requires some study. But it works very well and solves 
the problem.

On 5/4/20 3:01 PM, scott--- via use-livecode wrote:

Good to know that Trevor’s work was able to solve this problem! (Sounds as if 
it may not be a solution for the faint of heart yet.)
—
Scott


On May 4, 2020, at 11:04 AM, J. Landman Gay via use-livecode 
 wrote:

On 5/2/20 12:25 PM, J. Landman Gay via use-livecode wrote:

I think the solution has to be in the engine. I'm in trouble.


I am no longer in trouble. :) Huge thanks to Trevor for spending an inordinate 
amount of time with me over the weekend to get his DataView working in my 
stack. It's really a marvel.

I can't describe how grateful I am to him for getting me out of an 
uncomfortable situation. He's smart, patient, and so very helpful even after my 
brain fuzzed over at oh-my-god o'clock in the wee hours of the morning.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com




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


Building a standalone warns about duplicate stacks

2020-05-06 Thread J. Landman Gay via use-livecode
When building a standalone (for mobile in this case) I'm getting repeated messages about stacks 
already being in memory and asking me what to do with them. Since I have a lot of included 
stacks I need to make a decision a dozen times. This is different from all the "open*" 
messages, so that workaround won't help.


It doesn't happen when I use the Test button to install directly to my phone. I think this is 
new behavior. Bug?


--
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: Building a standalone warns about duplicate stacks

2020-05-07 Thread J. Landman Gay via use-livecode
Thanks, that explains it. I've incorporated Trevor's DataView and it has 
about 10 stacks in use as behaviors and libraries. To add to the fun, I'd 
forgotten that building for mobile no longer disables desktop platforms so 
I didn't think to disable them manually, and the standalone builder put up 
that annoying dialog 50 times.


Surely the warning shouldn't apply to the SB. It knows you just want your 
working files back.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 7, 2020 10:46:55 AM Devin Asay via use-livecode 
 wrote:



Jaque,

I’ve seen this when building standalones with stacks that are using library 
stacks, and the same library stackflles are included in the standalone 
build. Apparently the included stacks are opened during the build process, 
thus colliding with the library stacks already in memory. If this is the 
problem, I suppose a workaround would be to stop using the library stacks 
before running the build process.


Hope this helps.

Devin


On May 6, 2020, at 6:07 PM, J. Landman Gay via use-livecode 
 wrote:


When building a standalone (for mobile in this case) I'm getting repeated 
messages about stacks already being in memory and asking me what to do with 
them. Since I have a lot of included stacks I need to make a decision a 
dozen times. This is different from all the "open*" messages, so that 
workaround won't help.


It doesn't happen when I use the Test button to install directly to my 
phone. I think this is new behavior. Bug?


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


Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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


Re: Not quite OT: Privacy Policy

2020-05-09 Thread J. Landman Gay via use-livecode
I wrote a very short paragraph saying the app had no internet connection 
and no special permissions, that no data was ever sent, and that 
information was only stored locally on the user's device. I think it was 
only two or three sentences. I stuck it on my web site and it was fine. I 
kind of doubt Apple ever reads those.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 9, 2020 5:04:01 PM Graham Samuel via use-livecode 
 wrote:


I find that to publish an app on the Apple App Store, or even reach the 
TestFlight stage, I need a Privacy Policy. This for an app that collects no 
personal data and doesn’t use the internet. Frankly I’m thinking of copying 
and adapting a PL from another app that is similarly simple, rather than 
using an overly complex generated one. How do others cope with this?


Graham

Sent from my iPhone
___
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


Mouse messages in scrollers

2020-05-19 Thread J. Landman Gay via use-livecode
I have a tall field inside a shorter group that uses a mobile scroller. A behavior assigned to 
the group handles the scrolling and checks for swipes by capturing mouseDown and mouseUp to 
determine touch locations so it can calculate the direction of the swipe. This works on Android.


On iOS I do not get mouseUp or mouseDown messages when swiping horizontally, though I do get 
scrolerDidScroll when swiping vertically. But since the group is exactly as wide as the field 
it encloses, it does not scroll horizontally and so no scrollerDidScroll message is sent. I 
also do not get scrollerBegin/EndDrag, touchStart or touchEnd, or any other message I can think 
of to track a horizontal swipe. I do get mouseUp/Down when tapping on the scroller but that 
doesn't help here.


How would I detect a horizontal swipe on a non-moving scroller? The user can't 
navigate without it.

--
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: Mouse messages in scrollers

2020-05-19 Thread J. Landman Gay via use-livecode
Would the problem be due to the settings for canCancelTouches and delayTouches? What are the 
defaults? And what behaviors do they control exactly? I can't quite figure out what the 
dictionary is saying.


On 5/19/20 4:21 PM, J. Landman Gay via use-livecode wrote:
I have a tall field inside a shorter group that uses a mobile scroller. A behavior assigned to 
the group handles the scrolling and checks for swipes by capturing mouseDown and mouseUp to 
determine touch locations so it can calculate the direction of the swipe. This works on Android.


On iOS I do not get mouseUp or mouseDown messages when swiping horizontally, though I do get 
scrolerDidScroll when swiping vertically. But since the group is exactly as wide as the field 
it encloses, it does not scroll horizontally and so no scrollerDidScroll message is sent. I 
also do not get scrollerBegin/EndDrag, touchStart or touchEnd, or any other message I can think 
of to track a horizontal swipe. I do get mouseUp/Down when tapping on the scroller but that 
doesn't help here.


How would I detect a horizontal swipe on a non-moving scroller? The user can't navigate without 
it.





--
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: Mouse messages in scrollers

2020-05-19 Thread J. Landman Gay via use-livecode
I'm doing something very similar but the problem is that I don't get any 
mouse or touch messages at all, which is why I'm thinking it must be the 
settings for my ios scroller.


Whatever the defaults are for delayTouches and canCancelTouches, I think at 
least one of them needs to be changed.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 19, 2020 5:39:07 PM scott--- via use-livecode 
 wrote:



Of course I forgot to declare the local and global variables...

global gHorizontalSwipeDistance
global gVerticalSwipeDistance
local lMouseStartV
local lMouseStartH

On May 19, 2020, at 3:20 PM, scott--- via use-livecode 
 wrote:


I’m using this script on iOS directly inside a LC field object in order to 
get a "delete button” to appear. (Ya, I know that is pretty ancient UI) But 
it requires a swipe on iOS which is what you are after. I don’t think it is 
responsive enough to do some of the fancy pushes that differentiate between 
showing and sending things. It has been a long time since I worked on this 
(and I chopped out a lot of code) so it is possible that I’ve missed 
something. FYI: the field is a “List” field.



-- I use these values for swiping
put 40 into gHorizontalSwipeDistance
put 15 into gVerticalSwipeDistance

-- I'm assuming the list behavior of the field needs to be true
-- field script

on touchStart pID
  put the mouseV into lMouseStartV
  put the mouseH into lMouseStartH
  -- some actions night need to go here
end touchStart  


on touchMove pTouchID, pTouchH, pTouchV
  -- see if there was a swipe for delete
  if ((abs(pTouchH - lMouseStartH) > gHorizontalSwipeDistance)) AND\
  (abs(pTouchV - lMouseStartV) < gVerticalSwipeDistance) then
 -- they swiped
 --  unhilite the line
 set the hilitedLine of fld "ScrollingList" of cd "ListOfLists" to empty
-- do stuff here
end touchMove


on touchRelease pID
  -- unhilite the line
  set the hilitedLine of fld "ScrollingList" of cd "ListOfLists" to empty
end touchRelease

—
Scott Morrow

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


On May 19, 2020, at 2:21 PM, J. Landman Gay via use-livecode 
 wrote:


I have a tall field inside a shorter group that uses a mobile scroller. A 
behavior assigned to the group handles the scrolling and checks for swipes 
by capturing mouseDown and mouseUp to determine touch locations so it can 
calculate the direction of the swipe. This works on Android.


On iOS I do not get mouseUp or mouseDown messages when swiping 
horizontally, though I do get scrolerDidScroll when swiping vertically. But 
since the group is exactly as wide as the field it encloses, it does not 
scroll horizontally and so no scrollerDidScroll message is sent. I also do 
not get scrollerBegin/EndDrag, touchStart or touchEnd, or any other message 
I can think of to track a horizontal swipe. I do get mouseUp/Down when 
tapping on the scroller but that doesn't help here.


How would I detect a horizontal swipe on a non-moving scroller? The user 
can't navigate without it.


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




___
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





___
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: Mouse messages in scrollers

2020-05-21 Thread J. Landman Gay via use-livecode
It was "delayTouches" mostly. Default is true, I had to set it to false. I also set 
canCancelTouches to false but didn't test how necessary that was. Default for that is also true.


This allowed messages to pass through to LC, but you had to very deliberately swipe, holding 
down a moment so the mouseDown would fire. Brian Milby came up with a faster solution using 
something like Jim MacConnell's suggestion -- make the contentRect wider than the group so that 
a horizontal swipe triggers scrollerDidScroll. Lock direction to vertical to prevent wiggle. 
That proved to be a the solution for a more natural swipe.


You have to branch for Android because it doesn't have a lockDirection property; for that OS 
keep the contentRect the same width as the group. Mouse messages pass through to LC 
automatically, which is good because the above two settings don't exist on Android.


Swiping is such a normal behavior on mobile, I'd like to see an easier method in LC to 
accomodate all this.



On 5/19/20 8:00 PM, scott--- via use-livecode wrote:

You have probably already looked at these but here are (some of) the scroller 
settings I use for the below-mentioned field:


mobileControlSet sScrollerId, "pagingEnabled", "false"

mobileControlSet sScrollerId, "decelerationRate", "normal" -- fast --iOS only

mobileControlSet sScrollerId, "canScrollToTop", "true"

mobileControlSet sScrollerId, "delayTouches", "false"

mobileControlSet sScrollerId, "canCancelTouches", “true"



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


Code-signed apk fails

2020-05-27 Thread J. Landman Gay via use-livecode
We're about to release an Android app. I've been signing it for development only and it works 
well. Today I created a keystore "FPMobile.jks" in Terminal as usual.


As an aside, I got this in Terminal:
Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an 
industry standard format using "keytool -importkeystore -srckeystore FPMobile.jks -destkeystore 
FPMobile.jks -deststoretype pkcs12".


I don't know if that's significant. I've ignored it in the past, so I went ahead and entered 
the jks file in standalone settings. When LC 9.6rc2 asked me to locate the keystore during the 
build, I was unable to select it in the file dialog until I chose "All files". That seemed to 
work and the build finished.


At any rate the real problem:

The codesigned app fails to download files from the server. My error log shows that sometimes 
there is no error at all but nothing is downloaded, other times the error is vague: "Invalid 
URL:" with no URL indicated. The same script and URLs work in the IDE and in the apk when built 
without the keystore.


I don't think codesigning should affect server queries but that seems to be what's happening. I 
rebuilt the apk without any changes except to remove the keystore and it worked perfectly 
again. Could TSNet be involved somehow?


I'm not sure where to look for the fault. Ideas?

--
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: Code-signed apk fails

2020-05-28 Thread J. Landman Gay via use-livecode

On 5/28/20 5:24 AM, matthias rebbe via use-livecode wrote:

did you already try to build the .apk without tsNet?  This way you could check 
if tsNET is involved.
You need to do the 2 steps before building the .apk
1. executedispatch "revUnloadLibrary" to stack "tsNetLibUrl"in message 
box
(btw. to load it again after building the standalone execute dispatch 
"revLoadLibrary" to stack "tsNetLibUrl" - no need to restart LC IDE )
2. if "Select inclusions for..." is selected, then deselect tsNET external in 
standalone settings.

Now build the .apk with the keystore.
If the .apk is able now to download the files although it is signed, then tsNET 
is involved.


I did this. Without TSNet, the apk works perfectly again. Now I wonder if I can do without 
TSNet for now.


--
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: Code-signed apk fails

2020-05-28 Thread J. Landman Gay via use-livecode
I'm fairly sure that's the reason the file dialog didn't enable the .jks file, but the file 
still works. I used Google's terminal command example, which creates .jks files, instead of 
LC's example which I think uses .keystore. Next time I'll change the extension just to make 
file selection easier.


On 5/28/20 6:40 AM, JeeJeeStudio via use-livecode wrote:

The normal exstension is .keystore , maybe that's the reason?


Op 28-5-2020 om 08:52 schreef J. Landman Gay via use-livecode:
We're about to release an Android app. I've been signing it for development only and it works 
well. Today I created a keystore "FPMobile.jks" in Terminal as usual.


As an aside, I got this in Terminal:
Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is 
an industry standard format using "keytool -importkeystore -srckeystore FPMobile.jks 
-destkeystore FPMobile.jks -deststoretype pkcs12".


I don't know if that's significant. I've ignored it in the past, so I went ahead and entered 
the jks file in standalone settings. When LC 9.6rc2 asked me to locate the keystore during 
the build, I was unable to select it in the file dialog until I chose "All files". That 
seemed to work and the build finished.


At any rate the real problem:

The codesigned app fails to download files from the server. My error log shows that sometimes 
there is no error at all but nothing is downloaded, other times the error is vague: "Invalid 
URL:" with no URL indicated. The same script and URLs work in the IDE and in the apk when 
built without the keystore.


I don't think codesigning should affect server queries but that seems to be what's happening. 
I rebuilt the apk without any changes except to remove the keystore and it worked perfectly 
again. Could TSNet be involved somehow?


I'm not sure where to look for the fault. Ideas?



___
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



--
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: Code-signed apk fails

2020-05-28 Thread J. Landman Gay via use-livecode

Okay, here are the results of my tests, all done in LC 9.6rc2.

1. Keystore: FPMobile.jks, included TSNet: fails to download files
2. Keystore: FPMobile.jks, TSNet removed: works
3. Keystore: FPMobile.keystore, included TSNet: works

So TSNet doesn't like "jks" extensions, which is the file extension Google suggests. But I am 
baffled why a keystore would affect TSNet at all, not to mention it only prevents file 
downloads. The user can log in normally, make php queries to the server and get replies, the 
only thing that fails is actually downloading files.


Panos, is this bug-worthy? Or is it a documentation thing?


On 5/28/20 8:03 AM, panagiotis merakos via use-livecode wrote:

Hello Jacque,

I did a quick test, I put this in a button:

get url "https://google.com
"
put it into fld "url"

and signed the .apk with a release.keystore, and it works as expected for
me. The stack includes tsNet - I used LC 9.6 RC-2 for this.

Could you file a bug report with a recipe about this issue, and attach your
stack (or send it to me directly if it is confidential), so as we
investigate?

Kind regards,
Panos
--





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


  1   2   3   4   5   6   7   8   9   10   >