Getting started with geographical coordinates

2020-04-03 Thread Graham Samuel via use-livecode
Hi I am reviving my LiveCode skills in these troubled times, and I want to do something that involves the location of a device using GPS. A very rapid (obviously too rapid) search of the documentation finds commands like iphoneStartTrackingLocation, but no link to a description of how one reads

Re: Getting started with geographical coordinates

2020-04-03 Thread Graham Samuel via use-livecode
> Devin > > > On Apr 3, 2020, at 9:18 AM, Graham Samuel via use-livecode > mailto:use-livecode@lists.runrev.com>> wrote: > > Hi > > I am reviving my LiveCode skills in these troubled times, and I want to do > something that involves the location of

Re: Getting started with geographical coordinates

2020-04-03 Thread Graham Samuel via use-livecode
current location. If the latitude or longitude is zero then the GPS is not > yet locked > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@li

Re: Getting started with geographical coordinates

2020-04-03 Thread Graham Samuel via use-livecode
This is cheeky but I can’t run up my mobile simulation today - can someone tell me the format of the geographical coordinates produced by mobileSensorReading et al. I mean, is say latitude just one integer showing seconds, or is it deg, min, sec - and are fractional seconds returned (so, floatin

Re:

2020-04-03 Thread Graham Samuel via use-livecode
; > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Graham Samuel via use-livecode > Sent: Friday, April 03, 2

Re: Getting started with geographical coordinates

2020-04-03 Thread Graham Samuel via use-livecode
ou all know > exactly where I am! > > Devin > > > >> On Apr 3, 2020, at 1:49 PM, Graham Samuel via use-livecode >> wrote: >> >> This is cheeky but I can’t run up my mobile simulation today - can someone >> tell me the format of the geographical

Old Fossil seeks fast track assistance

2020-04-04 Thread Graham Samuel via use-livecode
Hi All - sorry this is a bit long, but I need help. I’m a long term LC developer who more or less retired from development a couple of years ago, but I’ve kept on lurking in this list and trying rather hopelessly to remain up to date. My experience has been mostly on desktop apps, with a little

Re: Getting started with geographical coordinates

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

Re: Getting started with geographical coordinates

2020-04-07 Thread Graham Samuel via use-livecode
l x,y put k1*lat1 into lat1 put k1*lat2 into lat2 put k1*lon1 into lon1 put k1*lon2 into lon2 put (lon2-lon1) * cos((lat1+lat2)/2) into x put (lat2 - lat1) into y return sqrt(x*x+y*y)*R end distancePythag Graham > On 5 Apr 2020, at 22:03, Graham Samuel via use-livecode &

Re: Old Fossil seeks fast track assistance

2020-04-07 Thread Graham Samuel via use-livecode
ds to be jogged > every time I come back to this mobile stuff after a long time away. > > Cheers, > > Devin > > > > On Apr 4, 2020, at 2:38 AM, Graham Samuel via use-livecode > mailto:use-livecode@lists.runrev.com>> wrote: > > Hi All - sorry this is

Re: Old Fossil seeks fast track assistance

2020-04-09 Thread Graham Samuel via use-livecode
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

Mobile screen sizes - another naive question

2020-04-09 Thread Graham Samuel via use-livecode
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 quest

Re: Old Fossil seeks fast track assistance

2020-04-09 Thread Graham Samuel via use-livecode
Curry that’s a wonderful idea. However you need to get well. Perhaps I can find someone to help me in the way you say. I am getting very used to Zoom and other similar tools as I’m isolation myself and I’m doing a lot of visual communication. Keep safe Best wishes Graham > On 9 Apr 2020, at

Re: Mobile screen sizes - another naive question

2020-04-10 Thread Graham Samuel via use-livecode
Thanks Richard, for that typically useful reply! I have indeed written many a resize handler, but getting back into this stuff I was struck by how messy it can get. Right now I don’t even know if say a field with 12 point type in it has to be changed to a smaller or larger rectangle with smaller

Re: Mobile screen sizes - another naive question

2020-04-10 Thread Graham Samuel via use-livecode
Thanks Jacque - sounds very practical. fullScreenMode, here I come! Cheers Graham > On 9 Apr 2020, at 20:09, J. Landman Gay via use-livecode > wrote: > > 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

Re: Old Fossil seeks fast track assistance

2020-04-10 Thread Graham Samuel via use-livecode
>> 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 stude

Re: Old Fossil seeks fast track assistance

2020-04-10 Thread Graham Samuel via use-livecode
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

Re: Mobile screen sizes - another naive question

2020-04-10 Thread Graham Samuel via use-livecode
> using different modes. I'll see if I can locate that and make it available. > > Thanks, > Brian > > On Fri, Apr 10, 2020 at 6:32 AM Graham Samuel via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Thanks Jacque - sounds very practical. fullScreenMo

Can't change or see Standalone Settings [was: Re: Old Fossil seeks fast track assistance]

2020-04-10 Thread Graham Samuel via use-livecode
; 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! >> >

Re: Old Fossil seeks fast track assistance

2020-04-11 Thread Graham Samuel via use-livecode
raham 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 t

Re: Old Fossil seeks fast track assistance

2020-04-11 Thread Graham Samuel via use-livecode
for the correct one on the web site and use that to license > the product. > > Thanks, > Brian > On Apr 11, 2020, 8:29 AM -0400, Graham Samuel via use-livecode > , wrote: >> Jaque thanks - this has not solved it yet, but i’m sure you’re on to >> something. When I del

MP3s

2020-04-12 Thread Graham Samuel via use-livecode
Pardon my ignorance, but Is there really no way to put an mp3 sound into a stack as an audioclip and play it? Seems unlikely, but that’s what the dictionary says. WAV, forsooth! Graham ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: MP3s

2020-04-12 Thread Graham Samuel via use-livecode
Lossy? Yes, like JPEG. And like JPEG, the format does very well indeed for a huge variety of applications. I listen to MP3 music a lot, mostly classical, and I don’t feel the lossy aspect is really taking away from the quality of what I hear to any extent. Of course if the whole chain of product

Re: MP3s

2020-04-13 Thread Graham Samuel via use-livecode
Well, Richard, as usual you say something informative and useful! I didn’t know that LC could play a sound file in MP3 format. I am in the odd position of being a veteran of LC (and to some extent even Hypercard and Supercard) and I have developed published apps; but despite my regular reading

Re: MP3s

2020-04-13 Thread Graham Samuel via use-livecode
Richmond, can’t resist saying that I can remember quad… I was never convinced. It was certainly a fashion. Comes into one of my favourite films, ‘Local Hero’, where the scallywag fisherman from Murmansk connects with the wet-behind-the-ears young oil man from Houston. it was just a little momen

Problem simulating a location

2020-04-13 Thread Graham Samuel via use-livecode
I’m trying to use the 10.2 XCode simulator to test an iOS app that uses the phone’s ability to know its location (usually via GPS). I can run the simulation and show that it’s working in a general way. Furthermore, mobileSensorAvailable("location”) responds in the simulated app, saying the sens

Re: Problem simulating a location

2020-04-14 Thread Graham Samuel via use-livecode
Folks, I am still struggling with this. Alan Stenhouse has been kind enough to help me, but so far I have not got the simulator to simulate any kind of location information. There is a function, mobileCurrentLocation, that is supposed to return an array provided tracking is enabled and mobileSe

Re: Problem simulating a location

2020-04-14 Thread Graham Samuel via use-livecode
involving sensors simply don’t work on the simulator. > > Try that, if it doesn’t work on the phone let us know. > > Good luck! > > Rick > >> On Apr 14, 2020, at 11:18 AM, Graham Samuel via use-livecode >> wrote: >> >> Folks, I am still

Re: Problem simulating a location

2020-04-15 Thread Graham Samuel via use-livecode
ile >> (separate problem I admit). >>> >>> When you download from the Apple Developer site, just double-click the >> provisioning profile to open it in Xcode. Livecode will know it’s installed >> next time you open the Save As Standalone window (but won’t

Making an iOS app look like one

2020-04-16 Thread Graham Samuel via use-livecode
Folks, I know this is a desperately naive question, but as I progress with my first serious attempt at an iOS app, which I’m trying to do in a hurry with only my experience of developing LC desktop apps to go on, I am struck by how un-iOS-like it looks. Richard Gaskin has already suggested that

A short question about Xcode

2020-04-16 Thread Graham Samuel via use-livecode
I’m following the LC lesson 'How do I build an iOS application?’. I think I’ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real devi

Re: Making an iOS app look like one

2020-04-16 Thread Graham Samuel via use-livecode
Just a quick ‘Thank You’ to Andrew, Devin and Bill for their ultra-rapid and detailed replies. There is a lot to take in there, and I’ll respond later if I have to ask yet more questions. It does seem a bit of a dog’s breakfast (if I can say that), doesn’t it? I did not realise you could buy in

Re: A short question about Xcode

2020-04-16 Thread Graham Samuel via use-livecode
> (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email sc...@elementarysoftware.com > booth1-800-615-0867 > ------------------ >> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode >> wrote: >> &

Re: A short question about Xcode

2020-04-16 Thread Graham Samuel via use-livecode
than would be needed for the Library of Babel? Things have got out of hand. Rant ends. Graham > On 16 Apr 2020, at 21:04, Graham Samuel via use-livecode > wrote: > > Sadly, my test targets are just simulators. No real device is mentioned. > > However, following Ralph’s

Re: A short question about Xcode

2020-04-16 Thread Graham Samuel via use-livecode
eninfo.net > > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Graham Samuel via use-livecode > Sent: Thursday, April 16, 2020 3:05 PM > To: How to use LiveCode > Cc: Graham Samuel > Subject: Re: A short que

Re: A short question about Xcode

2020-04-17 Thread Graham Samuel via use-livecode
I feel that pain too. When I bought my Mac Plus, my mother had to help me - comparatively speaking (I mean compared with my income) I seem to remember it was even more expensive in those days! Anyway, my perfectly fine iMac (mid-2011) can’t go beyond High Sierra. Wondering whether to scrape up

Re: A short question about Xcode

2020-04-17 Thread Graham Samuel via use-livecode
is iOS deployment, so one more try before I go back to something simply like learning about relativity (a real bucket list item for me). Graham > On 16 Apr 2020, at 22:59, J. Landman Gay via use-livecode > wrote: > > On 4/16/20 2:04 PM, Graham Samuel via use-livecode wrote: >&

Re: A short question about Xcode

2020-04-17 Thread Graham Samuel via use-livecode
restart LC so > that it sill see it. > — > Scott Morrow > >> On Apr 16, 2020, at 1:20 PM, Graham Samuel via use-livecode >> wrote: >> >> Ralph, I am using a development provisioning profile for iPhone. It was >> created this month and expires next year.

Re: A short question about Xcode

2020-04-17 Thread Graham Samuel via use-livecode
e. (Simulator doesn’t care about profiles but your real devices need >> to be specifically allowed.) If you just added one, be sure to restart LC so >> that it sill see it. >> — >> Scott Morrow >> >>> On Apr 16, 2020, at 1:20 PM, Graham Samuel via use-livecode

Sound and the Xcode simulator

2020-04-18 Thread Graham Samuel via use-livecode
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 s

Re: Sound and the Xcode simulator

2020-04-19 Thread Graham Samuel via use-livecode
raham > On 19 Apr 2020, at 04:03, J. Landman Gay via use-livecode > wrote: > > 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 S

Re: Sound and the Xcode simulator

2020-04-19 Thread Graham Samuel via use-livecode
to do something different, but first things first. Woo hoo - just about to try it. Graham > On 19 Apr 2020, at 01:41, Mark Talluto via use-livecode > wrote: > > On Apr 18, 2020, at 2:17 PM, Graham Samuel via use-livecode > wrote: >> >> This is a simple one.

Where do copied files go on mobile?

2020-04-19 Thread Graham Samuel via use-livecode
When doing standalone settings for mobile, if one chooses to copy files where do they go? My simulator setup is having a meltdown at present so it’s hard to test. I hope it’s the ‘resources’ folder. LC docs don’t say AFAICS. Graham Sent from my iPhone __

Re: Where do copied files go on mobile?

2020-04-19 Thread Graham Samuel via use-livecode
am, > >> Am 19.04.2020 um 13:34 schrieb Graham Samuel via use-livecode >> : >> >> When doing standalone settings for mobile, if one chooses to copy files >> where do they go? My simulator setup is having a meltdown at present so it’s >> hard to test. I

Re: Where do copied files go on mobile?

2020-04-19 Thread Graham Samuel via use-livecode
aham, > >> Am 19.04.2020 um 13:46 schrieb Graham Samuel via use-livecode >> : >> >> Thanks Klaus. I am parking a sound in there and obviously only reading it, >> so should be OK. > > yep! > >> My mysterious unresponsiveness in my app must be som

What makes everything on a card unresponsive?

2020-04-19 Thread Graham Samuel via use-livecode
Sorry to trouble this list yet again, but the main screen (in fact the the first card) in my mobile app has a “settings” graphic which acts as a button which to take the user to a ‘menu’ card. That card contains buttons and graphics which lead on (via very simple MouseUp handlers) to specialised

Re: What makes everything on a card unresponsive?

2020-04-19 Thread Graham Samuel via use-livecode
iPhone > On 19 Apr 2020, at 20:02, Klaus major-k via use-livecode > wrote: > > Hi Graham, > >> Am 19.04.2020 um 19:34 schrieb Graham Samuel via use-livecode >> : >> >> Sorry to trouble this list yet again, but the main screen (in fact the the >>

Native Switch Button Widget [was: Re: What makes everything on a card unresponsive?]

2020-04-20 Thread Graham Samuel via use-livecode
use-livecode > wrote: > > Hi Graham, > >> Am 19.04.2020 um 21:16 schrieb Graham Samuel via use-livecode >> : >> >> Hard to extract, but I have a new idea - what if the message queue is being >> swamped? I have flimsy evidence that the simulator i

Issues with Mobile Native controls

2020-04-20 Thread Graham Samuel via use-livecode
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

Re: Issues with Mobile Native controls

2020-04-20 Thread Graham Samuel via use-livecode
cons 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 Grah

Re: Issues with Mobile Native controls

2020-04-20 Thread Graham Samuel via use-livecode
are more my style! But I suppose that’s just a personal preference. Thanks again for all this. Graham > On 20 Apr 2020, at 15:39, Graham Samuel via use-livecode > wrote: > > Thanks Brian, that looks really useful. I am looking for icons that are > tools, such as for se

Re: Issues with Mobile Native controls

2020-04-20 Thread Graham Samuel via use-livecode
Yes, I was probably quite hasty paying for it - if it’s in beta still after two years, it looks kind of abandoned. I would certainly say it looks unfinished, even though the individual widgets are described in the LC dictionary. And in my environment, which is not new but not that old, the switc

Re: Issues with Mobile Native controls

2020-04-20 Thread Graham Samuel via use-livecode
Well, looking at my iPhone, there are many many designs for apps, but there are very often (OK, not always) tidy little icons which lead to settings/preferences or give information, or make it clear that you can close something. I don’t know if my finger uses them as buttons exactly, but I find

Re: What makes everything on a card unresponsive?

2020-04-20 Thread Graham Samuel via use-livecode
t; On 20 Apr 2020, at 20:25, Mark Talluto via use-livecode > wrote: > > On Apr 19, 2020, at 10:34 AM, Graham Samuel via use-livecode > wrote: >> >> Any ideas welcome, including a debugging strategy. > > I use: > > --quick a dirty value check > answer

Re: Issues with Mobile Native controls

2020-04-21 Thread Graham Samuel via use-livecode
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 i

What's a Capability in an Apple Provisioning Profile?

2020-04-21 Thread Graham Samuel via use-livecode
I’m trying to get my iOS app, now ready for beta test, transferred to an actual phone, after what I think are all the earlier steps both in the Apple certification system (Franz Kafka would be proud!) and in LC and in the simulator. I have also tried to follow advice generously given on this lis

Re: What's a Capability in an Apple Provisioning Profile?

2020-04-21 Thread Graham Samuel via use-livecode
still stuck and would still like someone who actually understands Capabilities to explain them. Graham > On 21 Apr 2020, at 15:11, Graham Samuel via use-livecode > wrote: > > I’m trying to get my iOS app, now ready for beta test, transferred to an > actual phone, after what

Re: What's a Capability in an Apple Provisioning Profile?

2020-04-21 Thread Graham Samuel via use-livecode
n-ticked). All the others can be ticked and > optionally configured. Do you use any of the un-ticked options in your app? > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > > -Original Message- > From: use-livecod

Re: What's a Capability in an Apple Provisioning Profile?

2020-04-21 Thread Graham Samuel via use-livecode
ner. But perhaps this already exists?? > > PS. I give Ralph DiMola a lot of credit and thanks for his insight and help. > Thanks, Ralph! > > Best, > Bill > > William Prothero > http://es.earthednet.org > >> On Apr 21, 2020, at 9:04 AM, Graham Samuel via us

Re: Issues with Mobile Native controls

2020-04-21 Thread Graham Samuel via use-livecode
. 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

Mobile text input mystery

2020-04-22 Thread Graham Samuel via use-livecode
As usual, the problem will be my fault, but I can’t get a mobile input field to appear on a card. I’m debugging it at present, which explains the answer statement: on opencard -- we dynamically create a field for the user to key in global sinputID -- this is all from the LC lesson. It’s

Re: Mobile text input mystery

2020-04-22 Thread Graham Samuel via use-livecode
t;114,135,163,158" -- this is where the original rect was mobileControlSet "FRadiusText", "visible", "true" mobileControlSet "FRadiusText", "opaque", "true" end if end opencard Still puzzled Graham > On 22 Apr 2020, at 18:34,

Fwd: Mobile text input mystery

2020-04-22 Thread Graham Samuel via use-livecode
Sent from my iPad Begin forwarded message: > From: Graham Samuel > Date: 22 April 2020 at 22:14:37 CEST > To: Mark Waddingham > Subject: Re: Mobile text input mystery > > Thanks Mark. Although making the field opaque wasn’t enough, giving it a > black border worked and I can now see it. I

Native Switch Button?

2020-04-23 Thread Graham Samuel via use-livecode
Is anyone using the Native Switch Button? It looks OK (a bit big on my iOS simulator, but it will do) and it works - although the insanity of spelling “highlight” two ways in the one object is apparent - but running an experiment just now in which I go to a card with such an on object on it and

Re: Native Switch Button?

2020-04-23 Thread Graham Samuel via use-livecode
ut it may take too long to get a recipe. Graham > On 23 Apr 2020, at 11:28, Graham Samuel via use-livecode > wrote: > > Is anyone using the Native Switch Button? It looks OK (a bit big on my iOS > simulator, but it will do) and it works - although the insanity of spelling >

Re: Mobile text input mystery

2020-04-23 Thread Graham Samuel via use-livecode
leControlGet "FRadiusText", "text"> ever result in anything but >> empty even though I can see a text in the native field object.* >> >> Are you calling mobileControlGet "FRadiusText", "text" from the same >> handler that has creat

Re: Mobile text input mystery

2020-04-23 Thread Graham Samuel via use-livecode
boardType", "numeric"> mobileControlDo "FRadiusText", "focus"> > >>> following what the LC Dictionary says , I do not see the soft keyboard* >>> >>> This will not work in LC 9.5.1 - it is an old bug that is fixed in

Re: Mobile text input mystery

2020-04-23 Thread Graham Samuel via use-livecode
what the LC Dictionary says , I do not see the soft keyboard* >>> >>> This will not work in LC 9.5.1 - it is an old bug that is fixed in LC 9.6 >>> DP-3: >>> >>> https://github.com/livecode/livecode/pull/7259 >>> >>> *>>nor do

Is there a general mobile picker available?

2020-04-23 Thread Graham Samuel via use-livecode
Another mobile question: We have a Native Date Picker, and a Native Time Picker, but what about a picker where you construct your own picking list? I would like to use a picker on iOS to replace radio buttons, but I don’t know a way to do it. Have I just missed it, or isn’t it possible? Graham

Re: Is there a general mobile picker available?

2020-04-23 Thread Graham Samuel via use-livecode
it... > > On 23/04/2020 13:48, Klaus major-k via use-livecode wrote: >> Hi Graham, >>> Am 23.04.2020 um 14:39 schrieb Graham Samuel via use-livecode >>> : >>> >>> Another mobile question: >>> >>> We have a Native Date Picker, and a Na

Widget Properties

2020-04-23 Thread Graham Samuel via use-livecode
I am getting rather fed up with the widgets I’ve been trying to use for my mobile app. For example, the iOS button widget (a press button, not a switch) has so few properties that you can’t change the colour of the text in any way I could see and sometimes mine turn out blue or red for no appare

Re: Widget Properties

2020-04-24 Thread Graham Samuel via use-livecode
just using a standard LiveCode button? > > — > Scott > >> On Apr 23, 2020, at 9:41 AM, Graham Samuel via use-livecode >> wrote: >> >> I am getting rather fed up with the widgets I’ve been trying to use for my >> mobile app. For example, the iOS button

Re: Widget Properties

2020-04-24 Thread Graham Samuel via use-livecode
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 sh

Detecting full Mobile Sensor activation

2020-04-25 Thread Graham Samuel via use-livecode
Typical fitness apps (such as iCardio by FitDigits) can read various sensors including a Heart Rate Monitor via Bluetooth, and one’s location via inbuilt GPS. When you start an activity like a run or a workout, the app goes through an acquisition phase, and won’t start recording until the senso

Re: Widget Properties

2020-04-25 Thread Graham Samuel via use-livecode
t; 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! >&g

Re: Detecting full Mobile Sensor activation

2020-04-25 Thread Graham Samuel via use-livecode
gt; Who knows how long it takes before it gets integrated. > > Op 25-4-2020 om 14:07 schreef Graham Samuel via use-livecode: >> Typical fitness apps (such as iCardio by FitDigits) can read various >> sensors including a Heart Rate Monitor via Bluetooth, and one’s location via &g

Re: Detecting full Mobile Sensor activation

2020-04-26 Thread Graham Samuel via use-livecode
Alan, thanks for your two messages. II’m doing most of what you suggest (not using accuracy so far, but the prudent person probably should do!), but nevertheless I would like to emulate my fitness app example. I have apps that positively know when they have acquired a meaningful GPS signal, wher

Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
Folks, I’m finding it difficult to search the lessons and the LC Guide to get really simple info, so forgive me for these grossly newbie questions: 1. In the IDE, the ‘Align Selected Controls’ menu item doesn’t allow all possible combinations of alignment, particularly aligning horizontal

Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
I’m sending this again because some strange text appeared in my message the first time. Don’t know how it go there! Folks, I’m finding it difficult to search the lessons and the LC Guide to get really simple info, so forgive me for these grossly newbie questions: 1. In the IDE, the ‘Align Selec

Re: Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
Yes, thanks! That’s exactly what I was hoping for. I know that LC is strictly a real-time interpreter of a script rather than a compiler -> runtime system, but nevertheless it would be more comfortable to allow a better range of constants. Right now you can’t even write constant K= 2/3 and get

Re: Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
get some sent before the oven demands attention :-) > > On 26/04/2020 13:11, Graham Samuel via use-livecode wrote: >> 3. I can’t work out if you can construct an array using the IDE, i.e. prior >> to actually executing the code. I was thinking for example of an array of >&g

Re: Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
Thanks Alex, I just missed it! I knew it was there somewhere… have written to Klaus about it too. Graham > On 26 Apr 2020, at 14:21, Alex Tweedly via use-livecode > wrote: > > > On 26/04/2020 13:11, Graham Samuel via use-livecode wrote: >> 1. In the IDE, the ‘Align Se

Re: Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
wrote: > > Hi Graham, > > someone called my name? :-D > >> Am 26.04.2020 um 14:11 schrieb Graham Samuel via use-livecode >> : >> >> I’m sending this again because some strange text appeared in my message the >> first time. Don’t know how it go ther

How to make a mobile app stay alive in the background?

2020-04-26 Thread Graham Samuel via use-livecode
The app I’m developing runs continuously once launched, recording quantities such as the elepsed time and sensor data. In the version I’ve managed to load into my phone (thanks, Panos!) it does this quite efficiently, but if the phone locks or another app is launched, my app stops running and ap

Re: How to make a mobile app stay alive in the background?

2020-04-27 Thread Graham Samuel via use-livecode
m via use-livecode > wrote: > > On 2020-04-27 07:25, J. Landman Gay via use-livecode wrote: >> 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 cli

Re: How to make a mobile app stay alive in the background?

2020-04-27 Thread Graham Samuel via use-livecode
s key to the plist (i.e. check > "Enable Background Execution" checkbox), so your app will continue running > in the background in both old and new iOS devices. > > Kind regards, > Panos > -- > > On Mon, 27 Apr 2020 at 10:42, Graham Samuel via use-livecode < >

Re: How to make a mobile app stay alive in the background?

2020-04-27 Thread Graham Samuel via use-livecode
o some beta testers via > TestFlight at this point (running iOS 12+) > > Hope this helps. > > Kind regards, > Panos > -- > > On Mon, 27 Apr 2020 at 14:14, Graham Samuel via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Panos, thanks for th

Re: Mobile screen sizes - another naive question

2020-04-28 Thread Graham Samuel via use-livecode
Richard, thanks for these valuable insights. I am doing my best to absorb them as quick as I can, meanwhile making use of FullScreen mode just to get my app running before it becomes redundant. You are right, it has been very difficult to gather comprehensive info on the topic until now. Graham

Another widget grumble

2020-04-28 Thread Graham Samuel via use-livecode
I’m still trying to use the ‘mobile native’ style of widget. Previously I’ve objected to the idea of an object that displays its name and has no label or alias. My objection was mostly that names that the user sees often have spaces in them (“Stop Now” or whatever), whereas names with spaces in

Re: Three very simple questions

2020-04-28 Thread Graham Samuel via use-livecode
Bill, I think you’re right about the Guide not being searchable. I was going to point it out myself, but I began to think that I had used up my grumbling allowance, or at least I had not much left and needed to use it for other things. Of course the Giude should be searchable! Graham Re grumb

Re: Three very simple questions

2020-04-29 Thread Graham Samuel via use-livecode
OK, I’ll bite - how d’ya do it? Graham > On 28 Apr 2020, at 22:28, dunbarx--- via use-livecode > wrote: > > The user guide? > It certainly is searchable. I do it all the time. > Craig > > > -Original Message----- > From: Graham Samuel via use-livecode &

Quick IDE question

2020-04-29 Thread Graham Samuel via use-livecode
Since yesterday, running either LC 9.5.1 or 9.6.0 dp4 on a Mac, every time I open the Script Editor window, it overfills my screen, so I can’t see the bottom of the window. There are no decorations, so I can’t resize or minimise the window; and dragging the window by the title bar doesn’t work

Re: Quick IDE question

2020-04-29 Thread Graham Samuel via use-livecode
f stack "revNewScriptEditor 1" to 750 > > > > > Regards, > > Martin Koob > > > > > >> On Apr 29, 2020, at 9:11 AM, Graham Samuel via use-livecode >> wrote: >> >> Since yesterday, running either LC 9.5.1 or 9.6

Re: FormattedHeight

2020-05-03 Thread Graham Samuel via use-livecode
I agree that that’s what Widgets are for, but I don’t think there’s been enough input from the mother ship to ensure that all published widgets look as much as possible like ‘normal’ LC objects, with the expected properties and full documentation. Obviously some are very powerful and useful and

Has anyone experience of GPS on iPhone?

2020-05-04 Thread Graham Samuel via use-livecode
I’m using GPS on iPhone using the various commands and functions available in LC. Most of this works, but I am having difficulty with the quantity “horizontal accuracy”. This can be queried via an array which is returned when mobileCurrentLocation() is executed. Looking at other iOS apps that

Re: Has anyone experience of GPS on iPhone?

2020-05-04 Thread Graham Samuel via use-livecode
se-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Graham Samuel via use-livecode > Sent: Monday, May 04, 2020 8:07 AM > To: How to use LiveCode > Cc: Graham Samuel > Subject: Has anyone experience of GPS on iPhone? > > I’m using GPS on iPhone using the vari

Re: Has anyone experience of GPS on iPhone?

2020-05-05 Thread Graham Samuel via use-livecode
ode > wrote: > > Graham, > I would want to be verifying the coordinates with another gps device. I’d > also check it against apps that give lat/Lon. > > Bill > > William Prothero > https://earthlearningsolutions.org > >> On May 4, 2020, at 5:07 AM,

Re: Has anyone experience of GPS on iPhone?

2020-05-06 Thread Graham Samuel via use-livecode
e of years old, so > > Best, > Bill > > William Prothero > https://earthlearningsolutions.org > >> On May 5, 2020, at 2:30 AM, Graham Samuel via use-livecode >> wrote: >> >> Thanks Bill for your two messages. I see from the link you gave that

Re: Has anyone experience of GPS on iPhone?

2020-05-06 Thread Graham Samuel via use-livecode
. Hard to give up now. Thanks everyone for their input. Graham > On 6 May 2020, at 16:52, Mark Waddingham via use-livecode > wrote: > > On 2020-05-06 14:09, Graham Samuel via use-livecode wrote: >> Bill, I think you are confirming that there is some mystery here. >> Ther

Re: Has anyone experience of GPS on iPhone?

2020-05-08 Thread Graham Samuel via use-livecode
will try to finish what I started but with limited functionality. Thanks to everyone who chipped in with advice, facts etc. Graham > On 6 May 2020, at 18:24, Graham Samuel via use-livecode > wrote: > > Mark, thanks for that contribution. Looks like more maths is needed. I will &g

  1   2   3   4   >